MT#8813 linux-headers-2.6-amd64 package doesn't exist in Debian/jessie

Change-Id: I9170080fd4a20129d94ae953c1814855da52a56e
changes/17/117/2
Michael Prokop 12 years ago committed by Alexander Lutay
parent eea017d903
commit bc07e7923f

@ -984,9 +984,6 @@ locales-all
firmware-bnx2
firmware-bnx2x
# required for dkms
linux-headers-2.6-amd64
# support acpi (d-i installs them as well)
acpi acpid acpi-support-base
@ -1002,6 +999,26 @@ openssh-server
#os-prober
EOF
# MT#8813 The linux-headers-2.6-amd64 package doesn't exist in jessie and newer
case "$DEBIAN_RELEASE" in
lenny|squeeze|wheezy)
echo "Adding linux-headers-2.6-amd64 package (because we're installing ${DEBIAN_RELEASE})"
logit "Adding linux-headers-2.6-amd64 package (because we're installing ${DEBIAN_RELEASE})"
cat >> /etc/debootstrap/packages << EOF
# required for dkms
linux-headers-2.6-amd64
EOF
;;
*)
echo "Adding linux-headers-amd64 package (because we're installing ${DEBIAN_RELEASE})"
logit "Adding linux-headers-amd64 package (because we're installing ${DEBIAN_RELEASE})"
cat >> /etc/debootstrap/packages << EOF
# required for dkms
linux-headers-amd64
EOF
;;
esac
if "$LVM" ; then
cat >> /etc/debootstrap/packages << EOF
# support LVM

Loading…
Cancel
Save