summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-09 20:12:41 +0100
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-01-21 12:04:03 +0100
commit34aabfd099c35780f4a8917fda12380e30e61466 (patch)
tree25434bafab37cb9a86df32f0734030c0dee95de5
parent5e32ee3d4dd9b21c51461f4aec405e0f6fa1881d (diff)
busybox: use short options for hwclock - closes #4978
Both busybox as well as big version support the same short options but the busybox version may be build with getopt_long turned off.
-rw-r--r--packages/busybox/busybox_1.11.3.bb2
-rw-r--r--packages/busybox/busybox_1.13.2.bb2
-rw-r--r--packages/busybox/busybox_1.2.1.bb2
-rw-r--r--packages/busybox/busybox_1.2.2.bb2
-rw-r--r--packages/busybox/busybox_1.3.1.bb2
-rw-r--r--packages/busybox/busybox_1.7.2.bb2
-rw-r--r--packages/busybox/busybox_1.9.2.bb2
-rw-r--r--packages/busybox/files/hwclock.sh8
8 files changed, 11 insertions, 11 deletions
diff --git a/packages/busybox/busybox_1.11.3.bb b/packages/busybox/busybox_1.11.3.bb
index 16b23c8473..ed7433629b 100644
--- a/packages/busybox/busybox_1.11.3.bb
+++ b/packages/busybox/busybox_1.11.3.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r8"
+PR = "r9"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/busybox/busybox_1.13.2.bb b/packages/busybox/busybox_1.13.2.bb
index 1687f1b6b9..ccaae8d566 100644
--- a/packages/busybox/busybox_1.13.2.bb
+++ b/packages/busybox/busybox_1.13.2.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r4"
+PR = "r5"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb
index 346506c10d..63a93df36f 100644
--- a/packages/busybox/busybox_1.2.1.bb
+++ b/packages/busybox/busybox_1.2.1.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r18"
+PR = "r19"
SRC_URI += "file://wget-long-options.patch;patch=1 \
file://df_rootfs.patch;patch=1 \
diff --git a/packages/busybox/busybox_1.2.2.bb b/packages/busybox/busybox_1.2.2.bb
index 250802116a..fe9d07e126 100644
--- a/packages/busybox/busybox_1.2.2.bb
+++ b/packages/busybox/busybox_1.2.2.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r4"
+PR = "r5"
DEFAULT_PREFERENCE = "-1"
diff --git a/packages/busybox/busybox_1.3.1.bb b/packages/busybox/busybox_1.3.1.bb
index 4742c87d1a..2cdb81b311 100644
--- a/packages/busybox/busybox_1.3.1.bb
+++ b/packages/busybox/busybox_1.3.1.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r4"
+PR = "r5"
DEFAULT_PREFERENCE = "-1"
diff --git a/packages/busybox/busybox_1.7.2.bb b/packages/busybox/busybox_1.7.2.bb
index 4d93394ff4..e98e25eb37 100644
--- a/packages/busybox/busybox_1.7.2.bb
+++ b/packages/busybox/busybox_1.7.2.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r10"
+PR = "r11"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://busybox-cron \
diff --git a/packages/busybox/busybox_1.9.2.bb b/packages/busybox/busybox_1.9.2.bb
index 3db360423b..77dd2a905c 100644
--- a/packages/busybox/busybox_1.9.2.bb
+++ b/packages/busybox/busybox_1.9.2.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://udhcpscript.patch;patch=1 \
diff --git a/packages/busybox/files/hwclock.sh b/packages/busybox/files/hwclock.sh
index aab5c054af..6c0af3422c 100644
--- a/packages/busybox/files/hwclock.sh
+++ b/packages/busybox/files/hwclock.sh
@@ -28,9 +28,9 @@ case "$1" in
then
if [ -z "$TZ" ]
then
- hwclock --hctosys $UTC
+ hwclock -s $UTC;# --hctosys
else
- TZ="$TZ" hwclock --hctosys $UTC
+ TZ="$TZ" hwclock -s $UTC;# --hctosys
fi
fi
@@ -53,7 +53,7 @@ case "$1" in
fi
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock --systohc $UTC
+ hwclock -w $UTC;# --systohc
fi
if [ "$VERBOSE" != no ]
then
@@ -64,7 +64,7 @@ case "$1" in
show)
if [ "$HWCLOCKACCESS" != no ]
then
- hwclock --show $UTC
+ hwclock -r $UTC;# --show
fi
;;
*)