Skip to content

Don't have hwclock init scripts for machines without rtc

Andrei Gherzan openembedded-core 2 versions Applied

Status from this message: Merged into OE-Core

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesApplied
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

Remove: 3f88694 subversion: Add gettext to DEPENDS as msgfmt is needed at compile time Sent as (it should be) a different pull request.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6utils.py: Modify and rename distro_features_backfill python functionmeta/lib/oe/utils.py+6 -30 replies
2/6bitbake.conf: Use the new form of features_backfill functionmeta/conf/bitbake.conf+1 -10 replies
3/6bitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURESmeta/conf/bitbake.conf+3 -00 replies
4/6bitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILLmeta/conf/bitbake.conf+1 -10 replies
5/6task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtcmeta/recipes-core/tasks/task-core-boot.bb+1 -02 replies
6/6busybox: Package hwclock.sh initscript separatelymeta/recipes-core/busybox/busybox.inc+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [V2 PATCH 0/6] Don't have hwclock init scripts for machines without rtc

V2:
Remove: 3f88694 subversion: Add gettext to DEPENDS as msgfmt is needed at compile time Sent as (it should be) a different pull request.

I dropped the idea of maching Busybox HW dependent. A bad idea indeed. Now, hwclock init script is packaged separately and pulled into image only if MACHINE_FEATURES contains rtc value. The inclusion of rtc is done in a BACKFILL way.

The following changes since commit af847d36375aa53f0c1ee2a00c97ba9f38837d1b:

bitbake: bitbake: build.py: Add stampdir argument to cached_mtime_noerror (2012-08-16 12:27:41 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ag/backfill-busybox
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ag/backfill-busybox

Andrei Gherzan (6):
utils.py: Modify and rename distro_features_backfill python function bitbake.conf: Use the new form of features_backfill function bitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to
MACHINE_FEATURES
bitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILL
task-core-boot: Add busybox-hwclock if MACHINE_FEATURES contains rtc
busybox: Package hwclock.sh initscript separately

 meta/conf/bitbake.conf                    |    5 ++++-
 meta/lib/oe/utils.py                      |    9 ++++++---
 meta/recipes-core/busybox/busybox.inc     |    5 +++--
 meta/recipes-core/tasks/task-core-boot.bb |    1 +
 4 files changed, 14 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.9.5