[OE-core] [PATCH] initscripts: Properly handle new timestamp format

Richard Purdie richard.purdie at linuxfoundation.org
Thu Mar 1 14:59:08 UTC 2012


On Thu, 2012-03-01 at 07:43 -0700, Gary Thomas wrote:
> Recent changes have attempted to make consistant use of /etc/timestamp
> In particular
>   5aab665 initscripts: Make /etc/timestamp consistent again.
>   173a48f image.bbclass: Ensure timestamp matches format used in initscripts after recent changes
> 
> This new format can cause problems as the value is too large for
> most [32 bit] machines.  Work around this by only comparing the
> YYYYMMDD portion (which does fit in 32 bits).  Also, the new format
> is not directly compatible with the 'date' command line, so it
> must be reformatted for use.
> 
> Signed-off-by: Gary Thomas <gary at mlbassoc.com>
> ---
>  .../initscripts/initscripts-1.0/bootmisc.sh        |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

I merged the changes to busybox in relation to this. Is this patch still
needed?

Cheers,

Richard





More information about the Openembedded-core mailing list