summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-29 14:34:02 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-29 14:34:02 +0200
commit29307a3f26a1ec40bf008209ac0fdcc252596cfa (patch)
treef150229a9713da7b30db77d5f1c4922672824b68
parentf6ea811fbc6f449c225a0ddd0de5dbce07696c0b (diff)
librebasebuilder: Avoid mkarchroot's configuration replacements, fixes #94.
-rwxr-xr-x[-rw-r--r--]librebasebuilder20
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 .