echo ERROR: You want to add cryptsetup-initramfs or dracut to some package_config file.
fi
+ # note, if we used dm for crypt, not lvm, so would givee false positive. todo, send patch to fix
usedm=$(dmsetup ls 2>/dev/null | egrep -v '^live-rw|^live-base|^No devices found' | wc -l)
if [ $usedm -ne 0 ]; then
if [ ! -d $target/etc/lvm ]; then
fi
# Make sure everything is configured properly
-if ifclass DEBIAN ; then
+if ifclass DEBIAN || ifclass UBUNTU; then
$ROOTCMD apt-get -f install -y
fi
return
fi
- dists="jessie stretch buster bullseye bookworm trixie forky noble jammy focal bionic xenial trusty"
+ dists="jessie stretch buster bullseye bookworm trixie forky noble jammy focal bionic xenial trusty ecne aramo nabia etiona"
for d in $dists; do
if grep -iq $d $target/etc/os-release; then
release=$d