[poky] timestamp overkill?

Gary Thomas gary at mlbassoc.com
Thu Nov 4 04:44:20 PDT 2010


I just noticed that there are two identical functions in image.bbclass
to set/update the image timestamp.  Why?  Left over from a previous era?

$ find meta* -name "*.bb*" -or -name "*.inc" | xargs grep create_etc_timestamp
meta/classes/image.bbclass:create_etc_timestamp() {
meta/classes/image.bbclass:# export the zap_root_password, create_etc_timestamp and remote_init_link
meta/classes/image.bbclass:EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin 
rootfs_update_timestamp rootfs_no_x_startup

Notice that 'create_etc_timestamp' does not seem to be used by
any recipe.  Perhaps it should be removed?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list