meta-netboot: mount remote filesystem with 'noatime' option 55/5855/1
authorStephane Desneux <stephane.desneux@iot.bzh>
Fri, 10 Jun 2016 10:07:55 +0000 (10:07 +0000)
committerStephane Desneux <stephane.desneux@iot.bzh>
Fri, 10 Jun 2016 10:10:19 +0000 (10:10 +0000)
Change-Id: I7486c7b785673f0833409267f52db5c09663fcba
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-netboot/recipes-core/initramfs-netboot/files/init.sh

index dae9a85..81c2c79 100644 (file)
@@ -108,7 +108,7 @@ done
 
 # mount NBD device
 mkdir -p /sysroot
-mount $NBD_DEV /sysroot || bail_out "Unable to mount root NBD device"
+mount $NBD_DEV -o noatime /sysroot || bail_out "Unable to mount root NBD device"
 
 # move mounted devices to new root
 cd /sysroot