build-debian: Fall back to non-exp for exp kernel install

This commit is contained in:
Johan Gunnarsson 2023-07-25 20:23:40 +02:00
parent f3f8a9ee4a
commit 1a15dd893d
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ esac
case "${OS}-${ARCH}-${DIST}" in
debian-*-rc-buggy|debian-*-experimental)
TARGET=sid
KERNELSUITE="/experimental"
KERNELSUITE="-t experimental"
;;
*)
TARGET="${DIST}"
@ -155,7 +155,7 @@ chroot debian /bin/sh -ex <<- EOF
/bin/mv /tmp/priority-experimental /etc/apt/preferences.d/priority-experimental || :
/usr/bin/apt-get update
/usr/bin/apt-get -y upgrade
/usr/bin/apt-get -y --no-install-recommends install ${KERNEL}${KERNELSUITE}
/usr/bin/apt-get -y --no-install-recommends ${KERNELSUITE} install ${KERNEL}
/usr/bin/apt-get -y install systemd-timesyncd || :
/usr/bin/apt-get -y install systemd-resolved || :
/usr/bin/apt-get clean