init-scripts: fix save-rtc error with date formatting on uclibc
authorPetr Štetiar <ynezz@true.cz>
Sun, 3 Oct 2010 04:54:19 +0000 (04:54 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:23:08 +0000 (15:23 -0700)
commit4085252bf8ca739b853f3702fd2396f756c1e42a
treebb7f429aef4dbcc5093744cdc264a8dbac2069e9
parent1ada6eaf91f1c28bb9cac7822d83ea079c71ede0
init-scripts: fix save-rtc error with date formatting on uclibc

uClibc's date does support only SUSv3 strptime[1], so the date command in
save-rtc.sh fails with 'date: invalid date '%2m%2d%2H%2M2010'.

1. http://www.opengroup.org/onlinepubs/009695399/functions/strptime.html

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/initscripts/files/save-rtc-uclibc.sh [new file with mode: 0644]
recipes/initscripts/initscripts_1.0.bb