##// END OF EJS Templates
Added new option APT_INCLUDES_LATE for installing packages using apt....
Petter Reinholdtsen -
r173:6443586ab5b4
parent child
Show More
@@ -58,7 +58,10 Set Debian packages server address. Choose a server from the list of Debian worl
58 Set Proxy server address. Using a local Proxy-Cache like `apt-cacher-ng` will speed-up the bootstrapping process because all required Debian packages will only be downloaded from the Debian mirror site once.
58 Set Proxy server address. Using a local Proxy-Cache like `apt-cacher-ng` will speed-up the bootstrapping process because all required Debian packages will only be downloaded from the Debian mirror site once.
59
59
60 ##### `APT_INCLUDES`=""
60 ##### `APT_INCLUDES`=""
61 A comma separated list of additional packages to be installed during bootstrapping.
61 A comma separated list of additional packages to be installed by debootstrap during bootstrapping.
62
63 ##### `APT_INCLUDES_LATE`=""
64 A comma separated list of additional packages to be installed by apt after bootstrapping and after APT sources are set up. This is useful for packages with pre-depends, which debootstrap do not handle well.
62
65
63 ---
66 ---
64
67
@@ -40,6 +40,10 fi
40 chroot_exec apt-get -qq -y update
40 chroot_exec apt-get -qq -y update
41 chroot_exec apt-get -qq -y -u dist-upgrade
41 chroot_exec apt-get -qq -y -u dist-upgrade
42
42
43 if [ "$APT_INCLUDES_LATE" ] ; then
44 chroot_exec apt-get -qq -y install $(echo $APT_INCLUDES_LATE |tr , ' ')
45 fi
46
43 if [ -d packages ] ; then
47 if [ -d packages ] ; then
44 for package in packages/*.deb ; do
48 for package in packages/*.deb ; do
45 cp $package ${R}/tmp
49 cp $package ${R}/tmp
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant