You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anton Hvornum edited this page May 6, 2018
·
16 revisions
Build in a offline environment
If you're stuck in a environment without internet, but you've managed to find a build machine with internet access and you want to quickly create a offline mirror. Here's how.
Make the following change to build.sh (from releng):
for arch in x86_64; do
run_once make_basefs
./make_offline ${work_dir} ${arch} <AUR-valid packages>
run_once make_packages
done
That's all you need for now.
What you've done is using your build machines mirrorlist (you've probably changed it to fit your needs and location), and you've removed a unessesairy step of excessive downloading.
Bring your build machines pacman-mirrorlist
If you've optemized/added changes to your /etc/pacman.d/mirrorlist,
Comment out these two lines in build.sh: