Skip to content

Commit

Permalink
remove lvm2 from FAIBASE, but add a test that prints a warning if lvm2
Browse files Browse the repository at this point in the history
is missing but needed
  • Loading branch information
Thomas Lange committed Sep 9, 2015
1 parent 1af8017 commit 173992d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/simple/package_config/FAIBASE
Expand Up @@ -16,4 +16,3 @@ eject
locales
console-setup kbd
pciutils usbutils
lvm2
8 changes: 7 additions & 1 deletion examples/simple/scripts/GRUB_PC/10-setup
Expand Up @@ -20,7 +20,13 @@ fi
# check if mdadm has been forgotten
if grep -q active /proc/mdstat 2>/dev/null; then
if [ ! -d $target/etc/mdadm ]; then
echo WARNING: Found Software RAID, but mdadm was not installed
echo WARNING: Found Software RAID, but mdadm package was not installed
fi
fi

if [ -b /dev/dm-0 ]; then
if [ ! -d $target/etc/lvm ]; then
echo WARNING: Found lvm devices, but lvm2 pacakge was not installed
fi
fi

Expand Down

0 comments on commit 173992d

Please sign in to comment.