From: Michael Jones Date: Thu, 27 Nov 2014 16:21:52 +0000 (+0100) Subject: image.bbclass: remove comment that readonly only works for sysvinit X-Git-Tag: 2015-4~1082 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e8bd2783870e71b42c902a31bd6521d564915e99;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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}" do_rootfs[umask] = "022" # A hook function to support read-only-rootfs IMAGE_FEATURES -# Currently, it only supports sysvinit system. read_only_rootfs_hook () { # Tweak the mount option and fs_passno for rootfs in fstab sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab