aboutsummaryrefslogtreecommitdiff
path: root/scripts/DB410C/21-customize
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/DB410C/21-customize')
-rwxr-xr-xscripts/DB410C/21-customize10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/DB410C/21-customize b/scripts/DB410C/21-customize
index 8bba4a0..bf49739 100755
--- a/scripts/DB410C/21-customize
+++ b/scripts/DB410C/21-customize
@@ -12,6 +12,16 @@ cat << EOF > $target/etc/fstab
/dev/disk/by-partlabel/rootfs / ext4 rw,relatime,data=ordered 0 1
EOF
+if ifclass INSTALLER; then
+ # no need to resize rootfs for SD card boot
+ rm -f $target/lib/systemd/system/resize-helper.service
+
+ # needed by GUI installer
+ cat << EOF >> $target/etc/fstab
+/dev/mmcblk1p9 /mnt vfat defaults 0 0
+EOF
+fi
+
# In case initrd doesn't exist, create it, else update
if [ -f $target/boot/initrd.img-${KVERS} ]
then