]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: improve comments regarding exported functions
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 3 Sep 2011 12:53:42 +0000 (12:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Oct 2011 21:56:40 +0000 (22:56 +0100)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/classes/image.bbclass

index f17e989289bc265df12820968e5f315b21f75069..0b75dce1c36c5a905112724d0e58488e4f2613ec 100644 (file)
@@ -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