aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-09-03 12:53:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 22:56:40 +0100
commit2097874dab4d6b77d7ece026808283381c2cbe1a (patch)
tree233cb87dac31e89f9246b303fe96cbc6e81df7c6 /meta/classes
parent7100c50c8697a3eec446b9189bf49ecbea9b7264 (diff)
downloadopenembedded-core-contrib-2097874dab4d6b77d7ece026808283381c2cbe1a.tar.gz
image.bbclass: improve comments regarding exported functions
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f17e989289..0b75dce1c3 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -254,9 +254,8 @@ multilib_sanity_check() {
echo $@ | python ${MULTILIB_CHECK_FILE}
}
-# set '*' as the rootpassword so the images
+# set '*' as the root password so the images
# can decide if they want it or not
-
zap_root_password () {
sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new
mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd
@@ -314,8 +313,6 @@ rootfs_trim_schemas () {
done
}
-
-# export the zap_root_password, and remote_init_link
EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup
addtask rootfs before do_build after do_install