From bbff6d544ffd8d631bf119c297dda75bb757ead3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sun, 9 Feb 2014 19:09:12 +0100 Subject: [rfs-stage31] Last benchmark event moved before umount --- remote/rootfs/rootfs-stage31/data/init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'remote/rootfs') diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index b542a715..95495684 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -115,13 +115,15 @@ fi # one last debug shell if activated [ $DEBUG -ge 1 ] && drop_shell "Requested Debug Shell: before switch_root." +# need /proc for this ;) +bench_event "PRESWITCH" "Switching to stage 3.2" + # unmount filesystems for mnt in proc sys run ; do busybox umount -f -l "/$mnt" 2>/dev/null done echo "Switching root...." -bench_event "PRESWITCH" "Switching to stage 3.2" echo "$bench_result" > "${FUTURE_ROOT}/opt/openslx/.benchmark" # Prepare environment (HOME is needed as a hack for nss_ldap with ssl and no caching) unset BOOT_IMAGE initrd KCL ip slxbase slxsrv IPINFO vga ip MAC BOOTIF DEBUG OLDPWD -- cgit v1.2.3-55-g7522