Updated Home (markdown)
parent
308a243492
commit
92706fa912
32
Home.md
32
Home.md
|
|
@ -1,30 +1,10 @@
|
|||
## Build in a offline environment
|
||||
# Build Arch Linux iso to autorun archinstall
|
||||
|
||||
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.
|
||||
* https://github.com/Torxed/archinstall/wiki/Autorun-on-Arch-Live-CD
|
||||
|
||||
### Prepping [archiso](#) for offline stuff.
|
||||
## [Unattended install of a profile](https://github.com/Torxed/archinstall/wiki/Unattended-install-of-a-profile
|
||||
)
|
||||
|
||||
Make the following change to `build.sh` (from releng):
|
||||
## User guided install (DEFAULT)
|
||||
|
||||
for arch in x86_64; do
|
||||
run_once make_basefs
|
||||
./make_offline ${work_dir} ${arch} <AUR-valid packages>
|
||||
run_once make_packages
|
||||
done
|
||||
|
||||
And now copy (this repository's) [make_offline](https://github.com/Torxed/archinstall/blob/master/make_offline) script and place it in your [archiso](#)'s build folder right next to `build.sh` *(if you're using releng)*.<br>
|
||||
|
||||
That's all you need for now.<br>
|
||||
|
||||
### Bring your build machines pacman-mirrorlist *(optional)*
|
||||
|
||||
If you've made changes to your `/etc/pacman.d/mirrorlist` or `/etc/pacman.conf`,<br>
|
||||
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}/${arch}/airootfs/etc/pacman.d/mirrorlist
|
||||
cp /etc/pacman.conf ${work_dir}/${arch}/airootfs/etc/pacman.conf
|
||||
* https://github.com/Torxed/archinstall/wiki/User-guided-installation-(DEFAULT)
|
||||
Loading…
Reference in New Issue