@@ -11,13 +11,20 if [ -z "$APT_PROXY" ] ; then | |||||
11 | sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" |
|
11 | sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" | |
12 | fi |
|
12 | fi | |
13 |
|
13 | |||
|
14 | # Install APT sources.list | |||
|
15 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |||
|
16 | ||||
|
17 | # Use specified APT server and release | |||
|
18 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" | |||
|
19 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" | |||
|
20 | ||||
14 | # Upgrade package index and update all installed packages and changed dependencies |
|
21 | # Upgrade package index and update all installed packages and changed dependencies | |
15 | chroot_exec apt-get -qq -y update |
|
22 | chroot_exec apt-get -qq -y update | |
16 | chroot_exec apt-get -qq -y -u dist-upgrade |
|
23 | chroot_exec apt-get -qq -y -u dist-upgrade | |
17 |
|
24 | |||
18 | # Install additional packages |
|
25 | # Install additional packages | |
19 | if [ "$APT_INCLUDES_LATE" ] ; then |
|
26 | if [ "$APT_INCLUDES_LATE" ] ; then | |
20 |
chroot_exec apt-get -qq -y install |
|
27 | chroot_exec apt-get -qq -y install $(echo "$APT_INCLUDES_LATE" |tr , ' ') | |
21 | fi |
|
28 | fi | |
22 |
|
29 | |||
23 | # Install Debian custom packages |
|
30 | # Install Debian custom packages |
@@ -260,7 +260,7 if [ "$BUILD_KERNEL" = true ] ; then | |||||
260 | set_kernel_config CONFIG_CRYPTO_AES_ARM64_NEON_BLK m |
|
260 | set_kernel_config CONFIG_CRYPTO_AES_ARM64_NEON_BLK m | |
261 | set_kernel_config CONFIG_CRYPTO_CHACHA20_NEON m |
|
261 | set_kernel_config CONFIG_CRYPTO_CHACHA20_NEON m | |
262 | set_kernel_config CONFIG_CRYPTO_AES_ARM64_BS m |
|
262 | set_kernel_config CONFIG_CRYPTO_AES_ARM64_BS m | |
263 | echo CONFIG_SYSTEM_TRUSTED_KEYS="" >> .config |
|
263 | set_kernel_config SYSTEM_TRUSTED_KEYS | |
264 | fi |
|
264 | fi | |
265 |
|
265 | |||
266 | # Netfilter kernel support See https://github.com/raspberrypi/linux/issues/2177#issuecomment-354647406 |
|
266 | # Netfilter kernel support See https://github.com/raspberrypi/linux/issues/2177#issuecomment-354647406 |
@@ -1,8 +1,8 | |||||
1 |
deb http://ftp.debian.org/debian |
|
1 | deb http://ftp.debian.org/debian stretch main contrib | |
2 |
#deb-src http://ftp.debian.org/debian |
|
2 | #deb-src http://ftp.debian.org/debian stretch main contrib | |
3 |
|
3 | |||
4 |
deb http://ftp.debian.org/debian/ |
|
4 | deb http://ftp.debian.org/debian/ stretch-updates main contrib | |
5 |
#deb-src http://ftp.debian.org/debian/ |
|
5 | #deb-src http://ftp.debian.org/debian/ stretch-updates main contrib | |
6 |
|
6 | |||
7 |
deb http://security.debian.org/ |
|
7 | deb http://security.debian.org/ stretch/updates main contrib | |
8 |
#deb-src http://security.debian.org/ |
|
8 | #deb-src http://security.debian.org/ stretch/updates main contrib |
@@ -188,7 +188,7 KERNEL_CCACHE=${KERNEL_CCACHE:=false} | |||||
188 | KERNEL_ZSWAP=${KERNEL_ZSWAP:=false} |
|
188 | KERNEL_ZSWAP=${KERNEL_ZSWAP:=false} | |
189 | KERNEL_VIRT=${KERNEL_VIRT:=false} |
|
189 | KERNEL_VIRT=${KERNEL_VIRT:=false} | |
190 | KERNEL_BPF=${KERNEL_BPF:=false} |
|
190 | KERNEL_BPF=${KERNEL_BPF:=false} | |
191 |
KERNEL_DEFAULT_GOV=${KERNEL_DEFAULT_GOV:= |
|
191 | KERNEL_DEFAULT_GOV=${KERNEL_DEFAULT_GOV:=ondemand} | |
192 | KERNEL_SECURITY=${KERNEL_SECURITY:=false} |
|
192 | KERNEL_SECURITY=${KERNEL_SECURITY:=false} | |
193 | KERNEL_NF=${KERNEL_NF:=false} |
|
193 | KERNEL_NF=${KERNEL_NF:=false} | |
194 |
|
194 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant