[oe-commits] Michael Jones : image.bbclass: whitespace
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 5 18:01:33 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 505a3a6a9a0c080bc5b7d16ed569b80b43869977
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=505a3a6a9a0c080bc5b7d16ed569b80b43869977
Author: Michael Jones <michael.jones at matrix-vision.de>
Date: Thu Nov 27 17:21:53 2014 +0100
image.bbclass: whitespace
Don't mix tabs and spaces
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/image.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index d27abc9..82e977c 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
More information about the Openembedded-commits
mailing list