summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2014-11-27 17:21:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 18:01:06 +0000
commit95fcc673e289eccd1657ae6d4b562a96a172cb92 (patch)
treee12af7399a1d708e795741df9dcaa3093b384918
parentd3b221d183aa7f188c3b5f9ccea0773a4771fcea (diff)
downloadpoky-95fcc673e289eccd1657ae6d4b562a96a172cb92.tar.gz
image.bbclass: whitespace
Don't mix tabs and spaces (From OE-Core rev: 505a3a6a9a0c080bc5b7d16ed569b80b43869977) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index d27abc9e17..82e977ce0d 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -193,12 +193,12 @@ read_only_rootfs_hook () {
193 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
194 194
195 if ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "true", "false", d)}; then 195 if ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "true", "false", d)}; then
196 # Change the value of ROOTFS_READ_ONLY in /etc/default/rcS to yes 196 # Change the value of ROOTFS_READ_ONLY in /etc/default/rcS to yes
197 if [ -e ${IMAGE_ROOTFS}/etc/default/rcS ]; then 197 if [ -e ${IMAGE_ROOTFS}/etc/default/rcS ]; then
198 sed -i 's/ROOTFS_READ_ONLY=no/ROOTFS_READ_ONLY=yes/' ${IMAGE_ROOTFS}/etc/default/rcS 198 sed -i 's/ROOTFS_READ_ONLY=no/ROOTFS_READ_ONLY=yes/' ${IMAGE_ROOTFS}/etc/default/rcS
199 fi 199 fi
200 # Run populate-volatile.sh at rootfs time to set up basic files 200 # Run populate-volatile.sh at rootfs time to set up basic files
201 # and directories to support read-only rootfs. 201 # and directories to support read-only rootfs.
202 if [ -x ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh ]; then 202 if [ -x ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh ]; then
203 ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh 203 ${IMAGE_ROOTFS}/etc/init.d/populate-volatile.sh
204 fi 204 fi