@@ -11,6 +11,13 if [ -z "$APT_PROXY" ] ; then | |||
|
11 | 11 | sed -i "s/\"\"/\"${APT_PROXY}\"/" "${ETC_DIR}/apt/apt.conf.d/10proxy" |
|
12 | 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 | 21 | # Upgrade package index and update all installed packages and changed dependencies |
|
15 | 22 | chroot_exec apt-get -qq -y update |
|
16 | 23 | chroot_exec apt-get -qq -y -u dist-upgrade |
@@ -260,7 +260,7 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
260 | 260 | set_kernel_config CONFIG_CRYPTO_AES_ARM64_NEON_BLK m |
|
261 | 261 | set_kernel_config CONFIG_CRYPTO_CHACHA20_NEON m |
|
262 | 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 | 264 | fi |
|
265 | 265 | |
|
266 | 266 | # Netfilter kernel support See https://github.com/raspberrypi/linux/issues/2177#issuecomment-354647406 |
@@ -57,7 +57,7 if [ "$ENABLE_INITRAMFS" = true ] ; then | |||
|
57 | 57 | sed -i "\$aIP=${NET_ADDRESS}::${NET_GATEWAY}:${NET_MASK}:${HOSTNAME}:" "${ETC_DIR}"/initramfs-tools/initramfs.conf |
|
58 | 58 | |
|
59 | 59 | # Regenerate initramfs |
|
60 | chroot_exec mkinitramfs -o "/boot/firmware/initramfs-${KERNEL_VERSION}" "${KERNEL_VERSION}" | |
|
60 | #chroot_exec mkinitramfs -o "/boot/firmware/initramfs-${KERNEL_VERSION}" "${KERNEL_VERSION}" | |
|
61 | 61 | fi |
|
62 | 62 | |
|
63 | 63 | if [ "$CRYPTFS_DROPBEAR" = true ]; then |
@@ -1,8 +1,8 | |||
|
1 |
deb http://ftp.debian.org/debian |
|
|
2 |
#deb-src http://ftp.debian.org/debian |
|
|
1 | deb http://ftp.debian.org/debian stretch main contrib | |
|
2 | #deb-src http://ftp.debian.org/debian stretch main contrib | |
|
3 | 3 | |
|
4 |
deb http://ftp.debian.org/debian/ |
|
|
5 |
#deb-src http://ftp.debian.org/debian/ |
|
|
4 | deb http://ftp.debian.org/debian/ stretch-updates main contrib | |
|
5 | #deb-src http://ftp.debian.org/debian/ stretch-updates main contrib | |
|
6 | 6 | |
|
7 |
deb http://security.debian.org/ |
|
|
8 |
#deb-src http://security.debian.org/ |
|
|
7 | deb http://security.debian.org/ stretch/updates main contrib | |
|
8 | #deb-src http://security.debian.org/ stretch/updates main contrib |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant