/sbin/lilo from sys-boot/lilo-22.8 outputs the following error message: # lilo /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. Added Linux * [...] sys-fs/device-mapper-1.02.12 is installed on the system (not needed, but gets pulled by dependencies of sys-apps/hal -> sys-fs/cryptsetup-luks), but the kernel is configured without multi-device support (CONFIG_MD). Lilo does not display the error message anymore after the following sequence of commands: # emerge -C device-mapper # emerge lilo # emerge device-mapper Maybe it would be more appropriate to control this via a USE flag?
Created attachment 114466 [details, diff] Proposed changes for lilo-22.8.ebuild Attached changes for lilo-22.8.ebuild work for me. An "lvm2" local USE flag would already exist.
*dah-dit-dah*
We use diffs over sed statements as they do not break silently when they no longer apply. I will commit this on monday (even though I feel that the bug is in the HAL dependencies). I do not have access to non-production X86 hardware before monday. However, if you can rework this into a proper .diff, talk to me on IRC.
Created attachment 117582 [details, diff] lilo-22.8-nodevmapper.patch Attached patch should be applied if the lvm2 USE flag is unset. Alternatively, one could pass "HDM= DEVMAPPER=" to emake in that case.
Fixed in -r1.