@@ -30,12 +30,13 if [ "$BUILD_KERNEL" = false ] ; then | |||||
30 | fi |
|
30 | fi | |
31 |
|
31 | |||
32 | else # BUILD_KERNEL=true |
|
32 | else # BUILD_KERNEL=true | |
33 | # Install APT sources.list |
|
33 | #autconfigure best apt server to not spam ftp.debian.org | |
34 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" |
|
34 | rm files/apt/sources.list | |
35 |
|
35 | if [ "$ENABLE_NONFREE" ] ; then | ||
36 | # Use specified APT server and release |
|
36 | netselect-apt --arch "$RELEASE_ARCH" --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" | |
37 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" |
|
37 | else | |
38 | sed -i "s/ jessie/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
|
38 | netselect-apt --arch "$RELEASE_ARCH" --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" | |
|
39 | fi | |||
39 | fi |
|
40 | fi | |
40 |
|
41 | |||
41 | # Allow the installation of non-free Debian packages |
|
42 | # Allow the installation of non-free Debian packages |
@@ -196,6 +196,9 APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debi | |||||
196 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" |
|
196 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" | |
197 | MISSING_PACKAGES="" |
|
197 | MISSING_PACKAGES="" | |
198 |
|
198 | |||
|
199 | #autoselect best apt mirror | |||
|
200 | REQUIRED_PACKAGES="${REQUIRED_PACKAGES} netselect-apt" | |||
|
201 | ||||
199 | # Packages installed for c/c++ build environment in chroot (keep empty) |
|
202 | # Packages installed for c/c++ build environment in chroot (keep empty) | |
200 | COMPILER_PACKAGES="" |
|
203 | COMPILER_PACKAGES="" | |
201 |
|
204 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant