diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-03-15 15:03:31 +0100 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-03-15 15:03:31 +0100 |
commit | 24bd7e97cf9d07454c9cde74e4d80a1b3de9dfac (patch) | |
tree | ecafd5cf7a2ff7dc25a343098ccdf66a659334f5 /bootstrap.d/11-apt.sh | |
parent | d4ab3cfce58c908c8bdf85c96ea300c47db3ac85 (diff) | |
download | rpi2-gen-image-24bd7e97cf9d07454c9cde74e4d80a1b3de9dfac.tar.gz rpi2-gen-image-24bd7e97cf9d07454c9cde74e4d80a1b3de9dfac.tar.bz2 rpi2-gen-image-24bd7e97cf9d07454c9cde74e4d80a1b3de9dfac.zip |
Added: KERNELSRC_PREBUILT, KERNELSRC_ rename, fix-quotes
Diffstat (limited to 'bootstrap.d/11-apt.sh')
-rw-r--r-- | bootstrap.d/11-apt.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bootstrap.d/11-apt.sh b/bootstrap.d/11-apt.sh index f3a642e..9610832 100644 --- a/bootstrap.d/11-apt.sh +++ b/bootstrap.d/11-apt.sh @@ -7,22 +7,22 @@ # Install and setup APT proxy configuration if [ -z "$APT_PROXY" ] ; then - install_readonly files/apt/10proxy $R/etc/apt/apt.conf.d/10proxy - sed -i "s/\"\"/\"${APT_PROXY}\"/" $R/etc/apt/apt.conf.d/10proxy + install_readonly files/apt/10proxy "$R/etc/apt/apt.conf.d/10proxy" + sed -i "s/\"\"/\"${APT_PROXY}\"/" "$R/etc/apt/apt.conf.d/10proxy" fi # Install APT pinning configuration for flash-kernel package -install_readonly files/apt/flash-kernel $R/etc/apt/preferences.d/flash-kernel +install_readonly files/apt/flash-kernel "$R/etc/apt/preferences.d/flash-kernel" # Upgrade collabora package index and install collabora keyring -echo "deb https://repositories.collabora.co.uk/debian ${RELEASE} rpi2" >$R/etc/apt/sources.list +echo "deb https://repositories.collabora.co.uk/debian ${RELEASE} rpi2" > "$R/etc/apt/sources.list" chroot_exec apt-get -qq -y update chroot_exec apt-get -qq -y --force-yes install collabora-obs-archive-keyring # Install APT sources.list -install_readonly files/apt/sources.list $R/etc/apt/sources.list -sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" $R/etc/apt/sources.list -sed -i "s/ jessie/ ${RELEASE}/" $R/etc/apt/sources.list +install_readonly files/apt/sources.list "$R/etc/apt/sources.list" +sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "$R/etc/apt/sources.list" +sed -i "s/ jessie/ ${RELEASE}/" "$R/etc/apt/sources.list" # Upgrade package index and update all installed packages and changed dependencies chroot_exec apt-get -qq -y update |