Installer: ignore the configured kernel version
When building the Debian installer from git, ignore any configured kernel version, and use the kernel version that is present in the chroot environment. This fixes a build error on Trixie/testing, which occurred after a new kernel became available when the freeze was lifted.
This commit is contained in:
parent
29e26d11f8
commit
4086f078d9
|
@ -283,7 +283,9 @@ then
|
|||
echo "P: using debian-installer from git version \$(git log -n 1 --pretty=format:%H_%aI)"
|
||||
fi
|
||||
|
||||
# Install the build-dependencies
|
||||
# Install the build-dependencies, but remove explicit kernel versions,
|
||||
# because the current kernel version will be used
|
||||
sed -i '/linux-image-/d' debian/control
|
||||
mk-build-deps
|
||||
find -maxdepth 1 -name *.deb | xargs apt-get --yes install
|
||||
|
||||
|
|
Loading…
Reference in New Issue