summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 .