Patchwork [1/3] image.bbclass: improve comments regarding exported functions

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 2, 2011, 6:15 p.m.
Message ID <ff706c0eb048b648d1a48f32f1e97eb58cb742f1.1317579313.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/12607/
State New, archived
Headers show

Comments

Otavio Salvador - Oct. 2, 2011, 6:15 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/classes/image.bbclass |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f17e989..0b75dce 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