summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2014-11-27 17:21:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 18:01:06 +0000
commitd3b221d183aa7f188c3b5f9ccea0773a4771fcea (patch)
treee13cde7acded70d733ec2395385aa7cd7b0cf45b /meta/classes/image.bbclass
parent07f7764e9586aa45b81db413993c6e055938ac35 (diff)
downloadpoky-d3b221d183aa7f188c3b5f9ccea0773a4771fcea.tar.gz
image.bbclass: remove comment that readonly only works for sysvinit
Should have been removed with 92f956d tweak read_only_rootfs_hook to also support systemd based systems (From OE-Core rev: e8bd2783870e71b42c902a31bd6521d564915e99) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 6bbfaf8208..d27abc9e17 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -188,7 +188,6 @@ do_rootfs[cleandirs] += "${S}"
188do_rootfs[umask] = "022" 188do_rootfs[umask] = "022"
189 189
190# A hook function to support read-only-rootfs IMAGE_FEATURES 190# A hook function to support read-only-rootfs IMAGE_FEATURES
191# Currently, it only supports sysvinit system.
192read_only_rootfs_hook () { 191read_only_rootfs_hook () {
193 # Tweak the mount option and fs_passno for rootfs in fstab 192 # Tweak the mount option and fs_passno for rootfs in fstab
194 sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab 193 sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab