diff options
Diffstat (limited to 'config/chroot_local-hooks/xx-sources.list')
| -rwxr-xr-x | config/chroot_local-hooks/xx-sources.list | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/config/chroot_local-hooks/xx-sources.list b/config/chroot_local-hooks/xx-sources.list index caf7cd6..a0597ee 100755 --- a/config/chroot_local-hooks/xx-sources.list +++ b/config/chroot_local-hooks/xx-sources.list @@ -23,28 +23,18 @@ case "${LB_DISTRIBUTION}" in stretch|buster|bullseye) exit ;; esac -# add signed-by to sources.list -# TODO dep822 -# TODO wine -# TODO fix it - -#sed -i 's/^deb-src/dummy/g' /etc/apt/sources.list +# Provide LB_DISTRIBUTION-updates Repo +# Fix as lb build with updates -#sed -i '/kanotix/s/^deb/deb [signed-by=\/usr\/share\/keyrings\/kanotix25.asc]/g' /etc/apt/sources.list -#sed -i '/debian.org/s/^deb/deb [signed-by=\/usr\/share\/keyrings\/debian-archive-keyring.gpg]/g' /etc/apt/sources.list -#sed -i '/dl.winehq/s/^deb/deb [signed-by=\/etc\/apt\/keyrings\/wine-staging.key.asc]/g' /etc/apt/sources.list +cat <<EOF >>/etc/apt/sources.list +# Debian ${LB_DISTRIBUTION}-proposed-updates +deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian ${LB_DISTRIBUTION}-updates main contrib non-free non-free-firmware +deb-src [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian ${LB_DISTRIBUTION}-updates main contrib non-free non-free-firmware +EOF -#sed -i 's/^dummy/deb-src/g' /etc/apt/sources.list -#sed -i '/kanotix/s/^deb-src/deb-src [signed-by=\/usr\/share\/keyrings\/kanotix25.asc]/g' /etc/apt/sources.list -#sed -i '/debian.org/s/^deb-src/deb-src [signed-by=\/usr\/share\/keyrings\/debian-archive-keyring.gpg]/g' /etc/apt/sources.list -#sed -i '/dl.winehq/s/^deb-src/deb-src [signed-by=\/etc\/apt\/keyrings\/wine-staging.key.asc]/g' /etc/apt/sources.list - -#if [ -e /etc/apt/trusted.gpg.d/wine-staging.key.asc ]; then -# cp -f /etc/apt/trusted.gpg.d/wine-staging.key.asc /etc/apt/keyrings/wine-staging.key.asc -#fi +# TODO dep822 # key.asc is kanotix spec -# debian keys needed by live-build ? +# debian keys needed by live-build ? no rm -f /etc/apt/trusted.gpg.d/*.key.asc -# test if we need debian-keys rm -f /etc/apt/trusted.gpg.d/* |
