summaryrefslogtreecommitdiffstats
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 23:11:11 +0100
commit2884c4874309825ecb0a7c22a039981c44e2390a (patch)
tree8d9cb7a94de286f9c154be55ba4992e53e582ca4
parent341eab52e71df4c83759e0c35f24f1a2fe86ce48 (diff)
downloadpoky-2884c4874309825ecb0a7c22a039981c44e2390a.tar.gz
image.bbclass: improve comments regarding exported functions
(From OE-Core rev: 2097874dab4d6b77d7ece026808283381c2cbe1a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
254 echo $@ | python ${MULTILIB_CHECK_FILE} 254 echo $@ | python ${MULTILIB_CHECK_FILE}
255} 255}
256 256
257# set '*' as the rootpassword so the images 257# set '*' as the root password so the images
258# can decide if they want it or not 258# can decide if they want it or not
259
260zap_root_password () { 259zap_root_password () {
261 sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new 260 sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new
262 mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd 261 mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd
@@ -314,8 +313,6 @@ rootfs_trim_schemas () {
314 done 313 done
315} 314}
316 315
317
318# export the zap_root_password, and remote_init_link
319EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup 316EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup
320 317
321addtask rootfs before do_build after do_install 318addtask rootfs before do_build after do_install