diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-02 02:59:32 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-02 02:59:32 -0500 |
commit | fad98c513e39ac4ebf0e08d16e9da9dd06934364 (patch) | |
tree | 332ae65de8320f072d899f2de1b90cea24c3d483 /scripts/install | |
parent | 9cd1c2f0b577836043b25dfab4d27f03cf587b83 (diff) | |
download | vyatta-cfg-system-fad98c513e39ac4ebf0e08d16e9da9dd06934364.tar.gz vyatta-cfg-system-fad98c513e39ac4ebf0e08d16e9da9dd06934364.zip |
Do not create fstab file for union install, this conficts with systemd.
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-postinst-new | 11 |
1 files changed, 1 insertions, 10 deletions
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 |