@@ -16,7 +16,11 install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |||||
16 |
|
16 | |||
17 | # Use specified APT server and release |
|
17 | # Use specified APT server and release | |
18 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" |
|
18 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" | |
|
19 | if [ "$APT_INCLUDES_LATE" = "bullseye" ] || [ "$APT_INCLUDES_LATE" = "testing" ] | |||
|
20 | sed -i "s,stretch\\/updates,testing-security," "${ETC_DIR}/apt/sources.list" | |||
|
21 | else | |||
19 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
|
22 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" | |
|
23 | fi | |||
20 |
|
24 | |||
21 | # Upgrade package index and update all installed packages and changed dependencies |
|
25 | # Upgrade package index and update all installed packages and changed dependencies | |
22 | chroot_exec apt-get -qq -y update |
|
26 | chroot_exec apt-get -qq -y update |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant