diff options
Diffstat (limited to 'inc/bootstrap.inc.sh')
-rw-r--r-- | inc/bootstrap.inc.sh | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/inc/bootstrap.inc.sh b/inc/bootstrap.inc.sh deleted file mode 100644 index 7822b96..0000000 --- a/inc/bootstrap.inc.sh +++ /dev/null @@ -1,46 +0,0 @@ - -bootstrap () { - [ ! -d $buildrootpath ] && mkdir -p $buildrootpath - - echo "broot is going to run debootsrap now: ~-_" - echo " depending on your machine/connection this can _-~ " - echo " take up to 20min.. time enough for a coffee ;) c|_| " - echo "press Strg-c to abbort" - echo -n "Starting debootsrap in .. " - echo -en "${R}3${NONE} " && sleep 1 && \ - echo -en "${R}2${NONE} " && sleep 1 && \ - echo -en "${R}1${NONE} " && sleep 1 && \ - echo ".. go " - - export DEBOOTSTRAP_DIR="$BROOT_BASE_DIR/contrib/debootstrap" - - mkdir -p "$buildrootpath/root/bin" - - mkdir -p "/tmp/deb/partial" - mkdir -p "$buildrootpath/var/cache/apt/archives" - mount -o bind "/tmp/deb" "$buildrootpath/var/cache/apt/archives" - - $DEBOOTSTRAP_DIR/debootstrap --arch="i386" squeeze $buildrootpath http://ftp.de.debian.org/debian - - touch $buildrootpath/bootstraped - - sed -i -e "s,main,main non-free," $buildrootpath/etc/apt/sources.list - setupBindmounts $buildrootpath - updatebuildroot $buildrootpath - chroot-exec aptitude update - - chroot-aptinstall locales - sed -i -e "s,^#.*\(en_US.*\)$,\1," $buildrootpath/etc/locale.gen - chroot-exec locale-gen - chroot-aptinstall build-essential - chroot-aptinstall git-core subversion - chroot-aptinstall firmware-iwlwifi firmware-linux firmware-linux-free firmware-linux-nonfree linux-image-2.6.32-trunk-686-bigmem - - cp ./chroot-scripts/* $buildrootpath/root/bin/ - chmod 700 $buildrootpath/root/bin/* - - # chroot-exec /root/bin/build-bb.sh - - destroyBindmounts - -} |