mkimage-profiles/features.in/luks/install2/image-scripts.d/50-check-luks
Michael Shigorin 34df065896 luks: did it work yet?
Let's ensure that make-initrd-luks gets to the base install
until installer is tweaked to enable in-flight installation
of options like this.

Adding luks to stage1 [make-initrd] features makes no sense
on the other hand (and it wasn't happening anyways due to
the lack of add_feature function call in config.mk as was
accidentally spotted).

And putting luks packages into an installer image lacking
the reference to alterator-luks isn't that sensible, let's
complain to logs at the very least (this isn't going to hit
the default output though).
2013-10-14 17:08:49 +04:00

10 lines
255 B
Bash
Executable File

#!/bin/sh
# let's check if support is there until installer-steps are dynamic
CONFIG="/usr/share/install2/installer-steps"
if ! grep -q '^luks$' "$CONFIG"; then
PKG="$(rpm -qf "$CONFIG")"
echo "** warning: luks step missing in ${PKG:-$CONFIG}" >&2
fi