mkimage-profiles/features.in/arm-rpi4/image-scripts.d/91-edit-fstab-growfs

6 lines
193 B
Bash
Executable File

#!/bin/sh -efu
# For resize rootfs with systemd-growfs@-.service
# set x-systemd.growfs option in /etc/fstab for rootfs
sed -i '/^LABEL=ROOT/s/defaults/defaults,x-systemd.growfs/' /etc/fstab