Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (12 sloc) 794 Bytes
#!/usr/bin/env bash
# This exists only to update the packages.tgz file used by debootstrap to
# create the chroot. To update the submodules, run make with the 'subupdate'
# target.
set -e
set -o nounset
set -o pipefail
usage () { echo "usage: `basename $0` filename" ; return 0 ; }
usageerr () { usage >&2 ; return 1 ; }
[ $# -eq 1 ] || usageerr
sudo debootstrap --include=locales,dh-di,less,git,subversion,mr,rsync,vim-nox,udev,autoconf,uuid-dev,zlib1g-dev,debian-keyring,aptitude,dialog,procps,xmlto,kernel-wedge,openssh-client,devscripts,ca-certificates,fakeroot,libdebconfclient0-dev,libdebian-installer4-dev,libtool,unzip,iasl,libncursesw5-dev,libklibc-dev,autoconf-archive,makedev,autopoint,links2,gnupg-agent,pinentry-curses \
--make-tarball="$1" --variant=buildd unstable dibuild
Something went wrong with that request. Please try again.