changeset 5506:7eea529f3f81

Fixes for debootstrap recipe.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 20 Aug 2009 21:18:10 +0200
parents 06e5df951d2f
children 86ad308795bc
files TODO
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Thu Aug 20 20:54:15 2009 +0200
+++ b/TODO	Thu Aug 20 21:18:10 2009 +0200
@@ -1,12 +1,17 @@
 * If you have problems installing GUB, just setup a debian root:
+  set -ex
+  cd /var/tmp
   debootstrap etch etch http://ftp.nl.debian.org/debian
-  chroot etch apt-get install python gcc libc6-dev' # to run the thing
+  chroot etch apt-get --force-yes -y install python gcc libc6-dev # minimal
+  chroot etch apt-get --force-yes -y install g++                  # pkg-config
+  wget -O gub.tar.gz http://github.com/janneke/gub/tarball/master
+#  (cd /home/janneke/vc/gub && git tar-tree HEAD | gzip -c - > gub.tar.gz)
+#  cp -pv /home/janneke/vc/gub/gub.tar.gz .
+  mkdir -p etch/root/gub
+  tar -C etch/root/gub --strip-components=1 -xzf gub.tar.gz
   mount -t proc /proc etch/proc # for librestrict
-  chroot etch apt-get install g++ # for pkg-config
-  wget -O gub.tar.gz http://github.com/janneke/gub/tarball/master
-  mkdir -p etch/root/gub
-  tar -C etch/root/gub -xzf gub.tar.gz
   chroot etch bash -c 'cd root/gub && bin/gub mingw::lilypond'
+  exit 0
 
 * Fix Fedora glibc problem, remove workaround in gub/specs/glibc.py,
   or add a build_platform == Fedora test.  [selinux?]