diff options
author | François Delawarde <fdelawarde@wirelessmundi.com> | 2009-02-25 14:04:53 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-03-24 02:35:10 +0100 |
commit | 2a0fee1aa8aa8dabc69380f861e7d1c8d35ec5f4 (patch) | |
tree | 2069960d0622a636ade6b82f7c7efdaecda6a8e6 /scripts/functions | |
parent | 055fa3e34ee5edda2e99aec8f265b0958475989a (diff) | |
download | initramfs-tools-2a0fee1aa8aa8dabc69380f861e7d1c8d35ec5f4.tar.gz initramfs-tools-2a0fee1aa8aa8dabc69380f861e7d1c8d35ec5f4.zip |
hook-functions: MODULES=dep fix for luks over cciss devices
I needed to run update-initramfs w/ MODULES=dep (for some 15M BIOS size
limitation w/ lilo on an HP server), turns out that I found the same bug
as #507619 (please refer to it for details), except that I have a LUKS
format over the cciss device.
As bug #507619 describes:
"dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but
it should be trying /sys/block/cciss!c0d0"
It also mentions:
"fyi, I suspect this may also apply to old-style smart array devices,
where device names are similar, but use 'ida' intead of 'cciss' -
e.g. /dev/ida/c0d0p1."
The following patch fixes it for me (on cciss) and should also fix it
for ida devices.
[ patch got checked and tested life on #debian-boot channel, see below -maks ]
fixed warning:
mkinitramfs: missing cciss!c0d0p2 root /dev/mapper/quakelive-root /sys entry
of course, since the new value of block comes out of
/sys/block/dm-${minor}/slaves, it makes sense that it
would already be in sysfs syntax.
Tested-by: Timothee Besset <ttimo@ttimo.net>
Diffstat (limited to 'scripts/functions')
0 files changed, 0 insertions, 0 deletions