From fad98c513e39ac4ebf0e08d16e9da9dd06934364 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 2 Feb 2016 02:59:32 -0500 Subject: Do not create fstab file for union install, this conficts with systemd. --- scripts/install/install-postinst-new | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'scripts/install/install-postinst-new') diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new index 11cf788e..589a04a8 100755 --- a/scripts/install/install-postinst-new +++ b/scripts/install/install-postinst-new @@ -259,16 +259,7 @@ if [ -f "$MDADM_CONFIG_FILE" ]; then fi fi -if [ "$INSTALL_TYPE" == 'union' ]; then - # make /var/run tmpfs - pi_fstab=$INST_ROOT/etc/fstab - if ! grep -q 'tmpfs /var/run ' $pi_fstab >&/dev/null; then - # replace the fstab. the default one has header that will cause - # it to be wiped out on live boot. - echo 'tmpfs /var/run tmpfs nosuid,nodev 0 0' >$pi_fstab - fi -else - # not passing the write root to postinst (only needed for union) +if [ "$INSTALL_TYPE" != 'union' ]; then WRITE_ROOT='' fi -- cgit v1.2.3