Fix initramfs build failure when no LUKS disk keys are available

pull/1/head
Timothy Pearson 9 years ago
parent 113f72cc2b
commit 1211309c9c

@ -124,6 +124,11 @@ else
fi
# LUKS keys
if [ -e /etc/trinity/luks/card ]
then
cp -LRp /etc/trinity/luks/card ${DESTDIR}/tde_luks_keys
else
mkdir -p ${DESTDIR}/tde_luks_keys
fi
exit 0

Loading…
Cancel
Save