diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-04-29 14:34:02 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-04-29 14:34:02 +0200 |
commit | 29307a3f26a1ec40bf008209ac0fdcc252596cfa (patch) | |
tree | f150229a9713da7b30db77d5f1c4922672824b68 /librebasebuilder | |
parent | f6ea811fbc6f449c225a0ddd0de5dbce07696c0b (diff) |
librebasebuilder: Avoid mkarchroot's configuration replacements, fixes #94.
Diffstat (limited to 'librebasebuilder')
-rwxr-xr-x[-rw-r--r--] | librebasebuilder | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/librebasebuilder b/librebasebuilder index 3eaadd8..8ba1315 100644..100755 --- a/librebasebuilder +++ b/librebasebuilder @@ -45,7 +45,7 @@ done tempdir=/home/chroot/base outdir=$(pwd) -mkarchroot $tempdir mkinitcpio base sudo parted nano zile vi ed openssh +mkarchroot -n $tempdir mkinitcpio base sudo parted nano zile vi ed openssh cd $tempdir @@ -61,6 +61,24 @@ cat > etc/resolv.conf <<EOF # End of file EOF +# From pacman-mirrorlist-libre-20120307-1. +cat > etc/pacman.d/mirrorlist <<EOF +# Parabola GNU/Linux - Last Updated: Wed Mar 7 17:33:36 GMT 2012 + +# Atlanta, GA, USA +# Responsible: belos +Server = http://parabola.techno-geeks.org/$repo/os/$arch + +# Nuremberg, Germany +# Responsible: johkra +Server = http://parabolaweb.eu/$repo/os/$arch + +# UK +# Responsible: Parabola Project +Server = http://repo.parabolagnulinux.org/$repo/os/$arch + +EOF + rm .arch-chroot tar cjf $outdir/parabola-mips64el-$(LC_ALL=C date -u +%Y%m%d).tar.bz2 . |