[poky] [PATCH] initscripts: added save-rtc to runlevel S
ChenQi
Qi.Chen at windriver.com
Tue Jan 8 18:16:48 PST 2013
On 01/09/2013 08:18 AM, eu at felipetonello.com wrote:
> From: "Felipe F. Tonello" <ftonello at cercacor.com>
>
> It is necessary to add save-rtc.sh to runlevel S so the system is updated when
> it boots up.
Hi ftonello,
What do you mean by "system is updated"?
Besides, this patch should be sent to oe-core.
Cheers,
Chen Qi
> Signed-off-by: Felipe F. Tonello <ftonello at cercacor.com>
> ---
> meta/recipes-core/initscripts/initscripts_1.0.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
> index 39be9a8..24fa940 100644
> --- a/meta/recipes-core/initscripts/initscripts_1.0.bb
> +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
> @@ -113,6 +113,7 @@ do_install () {
> ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs
> # udev will run at S55 if installed
> ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt
> + ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rcS.d/S25save-rtc.sh
> ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc0.d/S25save-rtc.sh
> ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh
> ln -sf ../init.d/banner.sh ${D}${sysconfdir}/rcS.d/S02banner.sh
More information about the poky
mailing list