build-debian: In exp builds, only install kernel from exp
This commit is contained in:
parent
5cd7926c90
commit
713dbc2fd1
|
|
@ -46,10 +46,12 @@ esac
|
|||
|
||||
case "${OS}-${ARCH}-${DIST}" in
|
||||
debian-*-rc-buggy|debian-*-experimental)
|
||||
TARGET=unstable
|
||||
TARGET=sid
|
||||
KERNELSUITE="/experimental"
|
||||
;;
|
||||
*)
|
||||
TARGET="${DIST}"
|
||||
KERNELSUITE=""
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
@ -129,11 +131,11 @@ esac
|
|||
|
||||
case "${OS}-${ARCH}-${DIST}" in
|
||||
debian-*-rc-buggy|debian-*-experimental)
|
||||
# For Debian Experimental, set higher priority to "experimental"
|
||||
# For Debian Experimental, set lower priority to "experimental"
|
||||
tee debian/tmp/priority-experimental <<- EOF
|
||||
Package: *
|
||||
Pin: release o=Debian,a=experimental
|
||||
Pin-Priority: 700
|
||||
Pin-Priority: 300
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
|
|
@ -152,8 +154,8 @@ chroot debian /bin/sh -ex <<- EOF
|
|||
/bin/mv /tmp/sources.list /etc/apt/sources.list
|
||||
/bin/mv /tmp/priority-experimental /etc/apt/preferences.d/priority-experimental || :
|
||||
/usr/bin/apt-get update
|
||||
/usr/bin/apt-get -y --no-install-recommends install ${KERNEL}
|
||||
/usr/bin/apt-get -y upgrade
|
||||
/usr/bin/apt-get -y --no-install-recommends install ${KERNEL}${KERNELSUITE}
|
||||
/usr/bin/apt-get -y install systemd-timesyncd || :
|
||||
/usr/bin/apt-get -y install systemd-resolved || :
|
||||
/usr/bin/apt-get clean
|
||||
|
|
|
|||
Loading…
Reference in New Issue