From: Michael Jones Date: Thu, 27 Nov 2014 16:21:53 +0000 (+0100) Subject: image.bbclass: whitespace X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31918 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505a3a6a9a0c080bc5b7d16ed569b80b43869977;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image.bbclass: whitespace Don't mix tabs and spaces Signed-off-by: Ross Burton --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index d27abc9e175..82e977ce0df 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -193,12 +193,12 @@ read_only_rootfs_hook () { sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab if ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "true", "false", d)}; then - # Change the value of ROOTFS_READ_ONLY in /etc/default/rcS to yes + # Change the value of ROOTFS_READ_ONLY in /etc/default/rcS to yes if [ -e ${IMAGE_ROOTFS}/etc/default/rcS ]; then sed -i 's/ROOTFS_READ_ONLY=no/ROOTFS_READ_ONLY=yes/' ${IMAGE_ROOTFS}/etc/default/rcS fi - # Run populate-volatile.sh at rootfs time to set up basic files - # and directories to support read-only rootfs. + # Run populate-volatile.sh at rootfs time to set up basic files + # and directories to support read-only rootfs. if [ -x ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh ]; then ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh fi