diff options
| author | Christian Rößler | 2014-01-21 14:09:29 +0100 |
|---|---|---|
| committer | Christian Rößler | 2014-01-21 14:09:29 +0100 |
| commit | c0bcaf2abac83507c39d518ef1a35c374e3cc299 (patch) | |
| tree | 2977059901b72f2810fdbf3e35f70a00a2a4ff15 /remote/rootfs | |
| parent | [smartctl] conf file for opensuse (diff) | |
| parent | <freiburg config> Add nslcd startup (diff) | |
| download | tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.tar.gz tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.tar.xz tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/rootfs')
| -rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-mount_stage4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-mount_stage4 b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-mount_stage4 index abc28f73..d0a3bc29 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-mount_stage4 +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-mount_stage4 @@ -50,7 +50,9 @@ else fi echo "Appending $MOUNTPOINT to /" -if ! mount -o "remount,add:1:$MOUNTPOINT=ro" /; then +if mount -o "remount,append:$MOUNTPOINT=ro" /; then + cp -r "${MOUNTPOINT}/"etc/ld.* /etc/ || echo "Could not really copy full blown ldconfig from stage4 to live system" +else slxlog --echo "mount-stage4" "Could not append mounted stage4 at '$MOUNTPOINT' to aufs at /" exit 1 fi @@ -62,3 +64,4 @@ systemctl reload dbus.service systemctl start stage4.target & exit 0 + |
