mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
341eab52e7
commit
2884c48743
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user