[Bug 32123] Re: initramfs not generated correctly on dist-upgrade
Tormod Volden
bugpost.tormod at gmail.com
Wed Apr 30 22:07:09 UTC 2008
I looked at /usr/share/initramfs-tools/hooks/udev and I think this is
what happened in Boris' case: He did not have /etc/udev/rules.d/05-udev-
early.rules for some reason (beyond me) and since the script sets -e, it
just stops at the first error and will not continue copying other udev
rules and the /lib/udev stuff.
The script should have:
- cp -p /etc/udev/rules.d/$rules ${DESTDIR}/etc/udev/rules.d
+ [ -e /etc/udev/rules.d/$rules ] && cp -p /etc/udev/rules.d/$rules ${DESTDIR}/etc/udev/rules.d
or the calling scripts should check return status properly.
--
initramfs not generated correctly on dist-upgrade
https://bugs.launchpad.net/bugs/32123
You received this bug notification because you are a member of Kernel
Bugs, which is a direct subscriber.
More information about the kernel-bugs
mailing list