[poky] timestamp overkill?
Richard Purdie
rpurdie at linux.intel.com
Wed Nov 10 05:44:10 PST 2010
On Thu, 2010-11-04 at 05:44 -0600, Gary Thomas wrote:
> 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?
The one that is unused should probably be removed. Please file a bug
and/or submit a patch!
Cheers,
Richard
More information about the poky
mailing list