summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-05 04:32:40 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-05 04:32:40 -0300
commit112b6427bf299b9db8fc34e5b771fecf1958db07 (patch)
tree0956ad2343445020078b1e9a36474d652e68746b
parent0cf421cc12aa31e20be266eee5ef701db130f96a (diff)
parent8686618a45567fe903f1367980fb8c78f3e456b7 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/libretools
-rwxr-xr-x[-rw-r--r--]librebasebuilder20
1 files changed, 19 insertions, 1 deletions
diff --git a/librebasebuilder b/librebasebuilder
index 3eaadd8..f7d3a25 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. Remember to escape dollars.
+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 .