Initial commit

This commit is contained in:
g-vidal
2025-10-26 18:06:53 +01:00
commit 05d538e677
85 changed files with 6639 additions and 0 deletions

19
files/initramfs/expand-premount Executable file
View File

@@ -0,0 +1,19 @@
#!/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