@@ -11,21 +11,8 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 | if [ "$BUILD_KERNEL" = false ] ; then | |
|
15 | # Install APT pinning configuration for flash-kernel package | |
|
16 | install_readonly files/apt/flash-kernel "${ETC_DIR}/apt/preferences.d/flash-kernel" | |
|
17 | ||
|
18 | # Install APT sources.list | |
|
19 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |
|
20 | echo "deb ${COLLABORA_URL} ${RELEASE} rpi2" >> "${ETC_DIR}/apt/sources.list" | |
|
21 | ||
|
22 | # Upgrade collabora package index and install collabora keyring | |
|
23 | chroot_exec apt-get -qq -y update | |
|
24 | # Removed --allow-unauthenticated as suggested after modification on _apt privileges | |
|
25 | chroot_exec apt-get -qq -y install collabora-obs-archive-keyring | |
|
26 | else # BUILD_KERNEL=true | |
|
27 | # Install APT sources.list | |
|
28 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |
|
14 | # Install APT sources.list | |
|
15 | install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list" | |
|
29 | 16 | |
|
30 | 17 | # Use specified APT server and release |
|
31 | 18 | sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant