Bug 9103 - hwclock from util-linux doesn't override hwclock from busybox
Summary: hwclock from util-linux doesn't override hwclock from busybox
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-11 16:34 UTC by Diego
Modified: 2016-04-13 11:47 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2016-02-11 16:34:23 UTC
Installing util-linux-hwclock doesn't result in having hwclock from util-linux being used by default.
This is caused by a problem mentioned here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/util-linux/util-linux.inc?h=jethro&id=jethro-14.0.0#n215

However this problem is just vaguely described, and has been reported in 2012:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/util-linux/util-linux.inc?id=cb2a93ee321a277beacc8e9df97a5dc85f66d221

It would be nice to either have that problem documented further, or hwclock from util-linux being used by default.

Being blocked forever by an unknown problem isn't wise IMHO.
Comment 1 Ross Burton 2016-04-11 20:38:49 UTC
That reduction of hwclock priority was added in this oe-classic commit:

commit 5e01906b8433bc6a8c03be2e31758589641124c9
Author: David Karlstrom <daka@thg.se>
Date:   Sat Jul 23 13:36:38 2005 +0000

    Updated to use update-alternatives and fix some FHS bugs

I'll submit a patch to fix this, if it hasn't been fixed in the last 11 years then we'll rediscover what the problem is.
Comment 2 Ross Burton 2016-04-13 11:47:21 UTC
Fixed in oe-core 2ea1a73d264173d9dd8978d82de0d53e2c2164d3.