Patchwork busybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.

login
register
mail settings
Submitter James Limbouris
Date Feb. 29, 2012, 6:56 a.m.
Message ID <1330498590-29895-1-git-send-email-james@digitalmatter.com.au>
Download mbox | patch
Permalink /patch/22403/
State Accepted
Commit e32e23649f4eab0bdc71a854f99b11fee19125ac
Headers show

Comments

James Limbouris - Feb. 29, 2012, 6:56 a.m.
Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors.
With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
---
 meta/recipes-core/busybox/busybox-1.19.3/defconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Feb. 29, 2012, 12:53 p.m.
On Wed, 2012-02-29 at 14:56 +0800, James Limbouris wrote:
> Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors.
> With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh.
> 
> Signed-off-by: James Limbouris <james@digitalmatter.com.au>
> ---
>  meta/recipes-core/busybox/busybox-1.19.3/defconfig |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-core/busybox/busybox-1.19.3/defconfig b/meta/recipes-core/busybox/busybox-1.19.3/defconfig
index fa9c078..ca49671 100644
--- a/meta/recipes-core/busybox/busybox-1.19.3/defconfig
+++ b/meta/recipes-core/busybox/busybox-1.19.3/defconfig
@@ -172,11 +172,11 @@  CONFIG_CAT=y
 CONFIG_DATE=y
 # CONFIG_FEATURE_DATE_ISOFMT is not set
 # CONFIG_FEATURE_DATE_NANO is not set
-CONFIG_FEATURE_DATE_COMPAT=y
+# CONFIG_FEATURE_DATE_COMPAT is not set
 CONFIG_ID=y
 CONFIG_GROUPS=y
 CONFIG_TEST=y
-# CONFIG_FEATURE_TEST_64 is not set
+CONFIG_FEATURE_TEST_64=y
 CONFIG_TOUCH=y
 CONFIG_TR=y
 CONFIG_FEATURE_TR_CLASSES=y