Hello,
Im trying to compile armbian without internet connection in local. For first time, I connected to internet and compiled a minimal image for Orange pi 5 plus successfully. cache folder is 14 GB now. When I cut off internet connection and start ./compile.sh, compile process stucks. See log below.
[🌱] artifact [ firmware :: firmware() ]
[🌱] Using cached [ GIT_INFO_ARMBIAN_FIRMWARE ]
[🌱] Reversioning package [ re-version 'armbian-firmware(deb)::1-SAfc30-B6c7f-R448a' to '25.5.1' ]
[🌱] artifact [ armbian-base-files :: armbian-base-files() ]
curl: (7) Couldn't connect to server
[🚸] Could not find package filename for 'base-files' in distro repo [ looking for base-files, found_package_filename is ]
[🚸] Command failed, retrying in 15s [ apt_find_upstream_package_version_and_download_url base-files ]
My configuration below.
BOARD=orangepi5-plus
BRANCH=vendor
RELEASE=bookworm
KERNEL_CONFIGURE=no
INSTALL_HEADERS=no
SHARE_LOGS=no
BUILD_DESKTOP=no
BUILD_MINIMAL=yes
REMOVE_APT_PACKAGES=""
IGNORE_UPDATES=yes
OFFLINE_WORK=yes
USE_MAINLINE_GOOGLE_MIRROR="yes"
OFFLINE_DEPLOY=yes
APT_PROXY_DISABLED=yes
APT_OFFLINE_MODE=yes
CLEAN_LEVEL=none
USE_TORRENT=no
KERNEL_USE_GIT_SHALLOW=yes
KERNEL_GIT=shallow
I tried every possible (I dont know if they are working) argument within my config. Tried docker and non-docker build. I think its not downloading files after first build but still needs internet. Any help appreciated.