Univention Bugzilla – Bug 32509
Obsolete UCR kernel variables from kernel-package days
Last modified: 2021-05-25 15:59:02 CEST
Historically Debian kernel uses some bits of kernel-package for genering the maintainer scripts of kernel packages. kernel-package is now deprecated: The Linux kernel packaging in Debian no longer uses it. We still write out a a template for /etc/kernel-img.conf. Some of the variables configured there are still uses in the maintainer scripts of the Linux package, but some are obsolete and can be removed: kernel/clobber_modules kernel/do_bootfloppy kernel/do_initrd kernel/do_initrd We should also remove kernel/ramdisk. For practical purposes a different ramdisk generator is not supported.
Still true with UCS-4.2: /etc/kernel-img.conf:12: W: ignoring unknown parameter do_bootfloppy /etc/kernel-img.conf:13: W: ignoring unknown parameter silent_loader /etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook
Still true with UCS-4.3: /etc/kernel-img.conf:12: W: ignoring unknown parameter do_bootfloppy /etc/kernel-img.conf:13: W: ignoring unknown parameter silent_loader /etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook
<https://git.knut.univention.de/univention/ucs/commit/b9854e6a95229243970c88ae80b89215f16a4c2b>
Package: univention-grub Version: 13.0.0-2A~5.0.0.202006171111
[feature/ucs5] c9d18dc8a8 Bug #51419 grub: Update UCR template base/univention-grub/conffiles/etc/default/grub | 1 - base/univention-grub/debian/changelog | 6 ++++++ .../debian/univention-grub.univention-config-registry | 1 - 3 files changed, 6 insertions(+), 2 deletions(-)
The related commits are: univention-initrd (12.0.0-2) df5635f5c963 | Bug #32509 initrd: Update UCR template univention-base-files (9.0.0-6) 8b26810f22b3 | Bug #51505,Bug #32509 base: Update UCR template [WIP] univention-base-files (9.0.0-5) 505ff787e5e5 | Bug 46120,Bug #32509 base: Update UCR template univention-base-files (3.0.3-3) r43799 | Update/review UCR variable descriptions (Bug #30943) r43769 | + * Update/review UCR variable descriptions (Bug #30943) changelog-5.0-0.xml 8b26810f22b3 | Bug #51505,Bug #32509 base: Update UCR template [WIP]
QA: Tested on UCS 5.0-0 with "apt install --reinstall linux-image-amd64" "/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook" is still showing up - not sure if this is intended.
(In reply to Christian Castens from comment #7) > "/etc/kernel-img.conf:15: W: ignoring unknown parameter postinst_hook" is > still showing up - not sure if this is intended. Note to self: Never apply old patches from Debian-2 ago to UCS... [5.0-0] 40f51b98d9 Bug #32509 grub: Fix shell issues base/univention-grub/debian/univention-grub.postinst | 59 ++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 27 deletions(-) [5.0-0] be93aa15c7 Bug #32509 base/grub: Remove postinst_hook base/univention-base-files/conffiles/etc/kernel-img.conf | 16 ---------------- base/univention-base-files/debian/changelog | 6 ++++++ base/univention-base-files/debian/univention-base-files.maintscript | 1 + .../debian/univention-base-files.univention-config-registry | 5 ----- .../debian/univention-base-files.univention-config-registry-variables | 6 ------ base/univention-grub/debian/changelog | 6 ++++++ base/univention-grub/debian/univention-grub.postinst | 1 - 7 files changed, 13 insertions(+), 28 deletions(-) [5.0-0] e6f07e1a92 fixup! Bug #52798: Update bootscreen to new design base/univention-grub/debian/univention-grub.postinst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Package: univention-grub Version: 13.0.0-5A~5.0.0.202102161507 Branch: ucs_5.0-0 Package: univention-base-files Version: 9.0.3-1A~5.0.0.202102161509 Branch: ucs_5.0-0
QA: Ok
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".