@@ -16,18 +16,22 if [ "$BUILD_KERNEL" = false ] ; then | |||
|
16 | 16 | echo "Downloading precompiled kernel" |
|
17 | 17 | echo "error: not configured" |
|
18 | 18 | exit 1; |
|
19 |
|
|
|
19 | # BUILD_KERNEL=true | |
|
20 | else | |
|
21 | echo "No precompiled kernel repositories were added" | |
|
22 | fi | |
|
23 | ||
|
20 | 24 |
|
|
21 | 25 |
|
|
22 | 26 |
|
|
23 | 27 |
|
|
24 | 28 |
|
|
25 | 29 |
|
|
26 | netselect_string=${netselect_string:=""} | |
|
30 | ||
|
27 | 31 |
|
|
28 |
netselect-apt --arch "$RELEASE_ARCH" --sources |
|
|
29 | fi | |
|
30 |
netselect-apt --arch "$RELEASE_ARCH" --sources |
|
|
32 | netselect-apt --arch "$RELEASE_ARCH" --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" | |
|
33 | else | |
|
34 | netselect-apt --arch "$RELEASE_ARCH" --sources --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" | |
|
31 | 35 | fi |
|
32 | 36 | |
|
33 | 37 | # Upgrade package index and update all installed packages and changed dependencies |
@@ -10,13 +10,12 if [ "$ENABLE_IPTABLES" = true ] ; then | |||
|
10 | 10 | # Create iptables configuration directory |
|
11 | 11 | mkdir -p "${ETC_DIR}/iptables" |
|
12 | 12 | |
|
13 | #In Jessie iptables is old enough | |
|
14 | if ! [ "$RELEASE" = jessie ] ; then | |
|
15 | 13 | # make sure iptables-legacy,iptables-legacy-restore and iptables-legacy-save are the used alternatives |
|
16 | 14 | chroot_exec update-alternatives --verbose --set iptables /usr/sbin/iptables-legacy |
|
17 | 15 | #chroot_exec update-alternatives --verbose --set iptables-save /usr/sbin/iptables-legacy-save |
|
18 | 16 | #chroot_exec update-alternatives --verbose --set iptables-restore /usr/sbin/iptables-legacy-restore |
|
19 | fi | |
|
17 | chroot_exec update-alternatives --verbose --install /usr/sbin/iptables-save iptables-save /usr/sbin/iptables-legacy-save 1 | |
|
18 | chroot_exec update-alternatives --verbose --install /usr/sbin/iptables-restore iptables-restore /usr/sbin/iptables-legacy-restore 1 | |
|
20 | 19 | |
|
21 | 20 | # Install iptables systemd service |
|
22 | 21 | install_readonly files/iptables/iptables.service "${ETC_DIR}/systemd/system/iptables.service" |
@@ -188,7 +188,7 CHROOT_SCRIPTS=${CHROOT_SCRIPTS:=""} | |||
|
188 | 188 | |
|
189 | 189 | # Packages required in the chroot build environment |
|
190 | 190 | APT_INCLUDES=${APT_INCLUDES:=""} |
|
191 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" | |
|
191 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils,locales,keyboard-configuration,console-setup" | |
|
192 | 192 | |
|
193 | 193 | # Packages required for bootstrapping |
|
194 | 194 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" |
@@ -474,11 +474,6 if [ "$ENABLE_MINBASE" = true ] ; then | |||
|
474 | 474 | APT_INCLUDES="${APT_INCLUDES},vim-tiny,netbase,net-tools,ifupdown" |
|
475 | 475 | fi |
|
476 | 476 | |
|
477 | # Add required locales packages | |
|
478 | if [ "$DEFLOCAL" != "en_US.UTF-8" ] || { [ -n "$XKB_MODEL" ] || [ -n "$XKB_LAYOUT" ] || [ -n "$XKB_VARIANT" ] || [ -n "$XKB_OPTIONS" ] ; } ; then | |
|
479 | APT_INCLUDES="${APT_INCLUDES},locales,keyboard-configuration,console-setup" | |
|
480 | fi | |
|
481 | ||
|
482 | 477 | # Add parted package, required to get partprobe utility |
|
483 | 478 | if [ "$EXPANDROOT" = true ] ; then |
|
484 | 479 | APT_INCLUDES="${APT_INCLUDES},parted" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant