summaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-core
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-06-10 10:07:55 +0000
committerStephane Desneux <stephane.desneux@iot.bzh>2016-06-10 10:10:19 +0000
commitd96d6bdc5399ab257e482248682c6d90dac7d9ae (patch)
tree8c5a214f120723e438c28cd5c04f2932e630186f /meta-netboot/recipes-core
parent0459dd5d3f808405c8c868a1d54d2040ef56c458 (diff)
meta-netboot: mount remote filesystem with 'noatime' option
Change-Id: I7486c7b785673f0833409267f52db5c09663fcba Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-netboot/recipes-core')
-rw-r--r--meta-netboot/recipes-core/initramfs-netboot/files/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-netboot/recipes-core/initramfs-netboot/files/init.sh b/meta-netboot/recipes-core/initramfs-netboot/files/init.sh
index dae9a85cb..81c2c79a4 100644
--- a/meta-netboot/recipes-core/initramfs-netboot/files/init.sh
+++ b/meta-netboot/recipes-core/initramfs-netboot/files/init.sh
@@ -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