9990-main.sh: activate LVM volumes if needed.
authorMichael Laß <bevan@bi-co.net>
Thu, 31 Aug 2023 18:03:38 +0000 (20:03 +0200)
committerMichael Laß <bevan@bi-co.net>
Thu, 31 Aug 2023 18:09:57 +0000 (20:09 +0200)
commit98d3d0555d423da602ab941e04ffe2076455e86e
treebefa2607974b1eea88d75de56b310e56d6b2d230
parent35b6ae0bceffa786cfe375c7b84383eb74ccf91e
9990-main.sh: activate LVM volumes if needed.

An update to the Debian lvm2 package removed a script in the initrd that
would activate any LVs that are required to access the root volume. Due
to this change, grml failed to find its live media when it was stored on
an LVM volume.

Add an explicit activation of any LVs mentioned in the `live-media` or
`boofrom` kernel arguments, so that the live media can be found again.

Fixes https://github.com/grml/grml/issues/200
components/9990-main.sh