commit 3e3cc36cbfbda2ab20d7df88567b47f662c060b3 Author: Anton Hvornum Date: Sun May 6 22:45:58 2018 +0200 Initial Home page diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..98f9fae --- /dev/null +++ b/Home.md @@ -0,0 +1,29 @@ +## 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. + +### Prepping [archiso](#) for offline stuff. + +Make the following change to `build.sh` (from releng): + + for arch in x86_64; do + run_once make_basefs + ./make_offline ${work_dir} ${arch} + 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`: + + curl -o ${work_dir}/ + lynx -dump -nolist + +And in their place, add these two: + + cp /etc/pacman.d/mirrorlist ${work_dir}/ + cp /etc/pacman.conf ${work_dir}/ \ No newline at end of file