##// END OF EJS Templates
export everything to support manual executing of scripts...
export everything to support manual executing of scripts moved apt auto config to rpi23-gen script

Fichier de la dernière révision:

r82:d0f91512d9ca
r324:378e21af8a46
Show More
expand-premount
19 lines | 331 B | text/plain | TextLexer
Jan Wagner
fix: ENABLE_CRYPTFS -> UBOOT, SPLITFS, EXPANDROOT - cleanup
r82 #!/bin/sh
set -e
# Check for cryptdevice variable
if [ -z "$cryptdevice" ] ; then
echo "unable to get cryptdevice variable (local-premount)"
exit 1
fi
if [ -n "$ROOT" ] ; then
# Resize encrypted root partition
cryptsetup resize "${ROOT}"
e2fsck -fp "${ROOT}"
resize2fs -f "${ROOT}"
e2fsck -fp "${ROOT}"
fi
exit 0