sysvinit: Changing default setting to add HWCLOCKACCESS=no
PATCH 1/1 sysvinit: Changing default setting to add HWCLOCKACCESS=no
- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not present
--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +2 -0
@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported +HWCLOCKACCESS=no
meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +9 -0
@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS +}
Signature · 1 line
1.7.9.5
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards. Honestly if the error is harmless I would say just ignore it. Use some variable that will conditional add that string depending on the machine if you want to disable it for the machines you care about.
Honestly creating a file just to cat it's value to another file I feel is a bit of an overkill especially since that file isn't generic and is meant for hwclock. So just using echoing something would probably be better.
DISABLE_RTC = ""
DISABLE_<machine> = "yes"
....
do_install_append() {
if [ "${DISABLE_RTC}" = "yes" ]
then
echo "#This is to indicate hwclock is not supported" >> ${D}${sysconfdir}/default/rcS
echo "HWCLOCKACCESS=no"
fi
}Quoted 51 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Thursday, February 05, 2015 10:16 AM
To: [email protected]
Subject: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not presentSigned-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
meta- renamed from meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS +0
-0arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file mode 100644
index 0000000..3e26c20meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +1
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported HWCLOCKACCESS=nometa-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +8
-1@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS } --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
This was supposed to be an RFC, by the way...
Quoted 3 lines · Franklin
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
Quoted 1 line
Honestly if the error is harmless I would say just ignore it.
That was my initial response - the error is harmless, just ignore it. Not good for OOB experience, I guess :)
Quoted 3 lines
Use some variable that will
conditional add that string depending on the machine if you want to disable it for the machines you care about.
Just use machine overrides directly, no need to invent another variable...
Quoted 72 lines
Honestly creating a file just to cat it's value to another file I feel is a bit of an overkill especially since that file isn't generic and is meant for hwclock. So just using echoing something would probably be better.
DISABLE_RTC= ""
DISABLE_<machine> = "yes"
....do_install_append() { if [ "${DISABLE_RTC}" = "yes" ] then echo "#This is to indicate hwclock is not supported" >> ${D}${sysconfdir}/default/rcS echo "HWCLOCKACCESS=no" fi }Quoted 47 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Thursday, February 05, 2015 10:16 AM
To: [email protected]
Subject: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not presentSigned-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
meta- renamed from meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS +0
-0arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file mode 100644
index 0000000..3e26c20meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +1
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported HWCLOCKACCESS=nometa-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +8
-1@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS } --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 13 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 05, 2015 10:53 AM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=noThis was supposed to be an RFC, by the way...
Quoted 7 lines
Quoted 3 lines · Franklin
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
[Franklin] I'm assuming there was some conversation in the background regarding this patch I wasn't aware of since the above two points weren't clear. But no problem doing with what you suggested as long as enabling it for the right boards is being done as part of a patch series with this one.
Quoted 8 lines
Quoted 3 lines
Honestly if the error is harmless I would say just ignore it.
That was my initial response - the error is harmless, just ignore it. Not good for OOB experience, I guess :)
Quoted 5 lines
Quoted 3 lines
Use some variable that will
conditional add that string depending on the machine if you want to disable it for the machines you care about.Just use machine overrides directly, no need to invent another variable...
[Franklin] I'll go with whatever you prefer.
Quoted 78 lines
Quoted 6 lines
Honestly creating a file just to cat it's value to another file I feel is a bit of an overkill especially since that file isn't generic and is meant for hwclock. So just using echoing something would probably be better.
Quoted 8 lines
DISABLE_RTC= ""
DISABLE_<machine> = "yes"
....do_install_append() { if [ "${DISABLE_RTC}" = "yes" ] then echo "#This is to indicate hwclock is not supported" >>${D}${sysconfdir}/default/rcS
Quoted 23 lines
echo "HWCLOCKACCESS=no"
fi
}Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Thursday, February 05, 2015 10:16 AM
To: [email protected]
Subject: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not presentSigned-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS
Quoted 4 lines
Review
Quoted 4 lines
create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
(quoted diff) +0
-0b/meta-
Quoted 8 lines
Review
Quoted 8 lines
arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file mode 100644
index 0000000..3e26c20meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +1
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported HWCLOCKACCESS=no(quoted diff) +0
-0core/sysvinit/sysvinit_2.88dsf.bbappend
Quoted 25 lines
Quoted 17 lines
b/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file mode 100644
index 0000000..6e08c83meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +8
-1@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS } --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 18 lines · Franklin
Quoted 18 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 05, 2015 10:53 AM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=noThis was supposed to be an RFC, by the way...
Quoted 3 lines · Franklin
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Quoted 5 lines
Quoted 2 lines
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
[Franklin] I'm assuming there was some conversation in the background regarding this patch
Well, not about the patch, but about the problem this patch is trying to fix :)
Quoted 3 lines
I wasn't aware of since the above two points weren't
clear. But no problem doing with what you suggested as long as enabling it for the right boards is being done as part of a patch series with this one.
Do we have a list of boards that have RTC? Just glancing over what I have I don't see any...
As an alternative, we can keep it enabled by default and disable it just for Keystone to make Sam happy. But I've seen that error on pretty much every platform lately.
Quoted 90 lines
Quoted 11 lines
Quoted 1 line
Honestly if the error is harmless I would say just ignore it.
That was my initial response - the error is harmless, just ignore it. Not good for OOB experience, I guess :)
Quoted 3 lines
Use some variable that will
conditional add that string depending on the machine if you want to disable it for the machines you care about.Just use machine overrides directly, no need to invent another variable...
[Franklin] I'll go with whatever you prefer.
Quoted 78 lines
Quoted 6 lines
Honestly creating a file just to cat it's value to another file I feel is a bit of an overkill especially since that file isn't generic and is meant for hwclock. So just using echoing something would probably be better.
Quoted 8 lines
DISABLE_RTC= ""
DISABLE_<machine> = "yes"
....do_install_append() { if [ "${DISABLE_RTC}" = "yes" ] then echo "#This is to indicate hwclock is not supported" >>${D}${sysconfdir}/default/rcS
Quoted 23 lines
echo "HWCLOCKACCESS=no"
fi
}Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Thursday, February 05, 2015 10:16 AM
To: [email protected]
Subject: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not presentSigned-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS
Quoted 4 lines
Review
Quoted 4 lines
create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
(quoted diff) +0
-0b/meta-
Quoted 8 lines
Review
Quoted 8 lines
arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file mode 100644
index 0000000..3e26c20meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +1
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported HWCLOCKACCESS=no(quoted diff) +0
-0core/sysvinit/sysvinit_2.88dsf.bbappend
Quoted 25 lines
Quoted 17 lines
b/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file mode 100644
index 0000000..6e08c83meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +8
-1@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS } --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 38 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 05, 2015 11:14 AM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=noQuoted 18 lines · Franklin
Quoted 18 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 05, 2015 10:53 AM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=noThis was supposed to be an RFC, by the way...
Quoted 3 lines · Franklin
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Quoted 5 lines
Quoted 2 lines
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
[Franklin] I'm assuming there was some conversation in the background regarding this patch
Well, not about the patch, but about the problem this patch is trying to fix :)
Quoted 6 lines
Quoted 3 lines
I wasn't aware of since the above two points weren't clear. But no problem doing with what you suggested as long as enabling it for the right boards is being done as part of a patch series with this one.
Do we have a list of boards that have RTC? Just glancing over what I have I don't see any...
[Franklin] am437x sk, am437x gp evm and am57x based on looking at the dt.
Quoted 4 lines
As an alternative, we can keep it enabled by default and disable it just for Keystone to make Sam happy. But I've seen that error on pretty much every platform lately.
[Franklin] I would prefer that approach instead. And true about the error but it could be a bug or error that needs to be fixed so I rather not hide it especially since I haven't received any questions regarding it before.
Quoted 96 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Honestly if the error is harmless I would say just ignore it.
That was my initial response - the error is harmless, just ignore it. Not good for OOB experience, I guess :)
Quoted 11 lines
Quoted 5 lines
Quoted 3 lines
Use some variable that will
conditional add that string depending on the machine if you want to disable it for the machines you care about.Just use machine overrides directly, no need to invent another variable...
[Franklin] I'll go with whatever you prefer.
Quoted 5 lines
Quoted 5 lines
Honestly creating a file just to cat it's value to another file I feel is a bit of an overkill especially since that file isn't generic and is meant for hwclock. So just using echoing something would
probably be better.
Quoted 76 lines
Quoted 76 lines
Quoted 9 lines
DISABLE_RTC= ""
DISABLE_<machine> = "yes"
....do_install_append() { if [ "${DISABLE_RTC}" = "yes" ] then echo "#This is to indicate hwclock is not supported" >>${D}${sysconfdir}/default/rcS
Quoted 23 lines
echo "HWCLOCKACCESS=no"
fi
}Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Thursday, February 05, 2015 10:16 AM
To: [email protected]
Subject: [meta-arago] [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not presentSigned-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644meta-arago-distro/recipes-
core/sysvinit/files/hwclock.rcS
Quoted 5 lines
Quoted 5 lines
create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
diff --git a/meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS
b/meta-
Quoted 8 lines
Review
Quoted 8 lines
arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file mode 100644
index 0000000..3e26c20meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +1
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported HWCLOCKACCESS=no(quoted diff) +0
-0core/sysvinit/sysvinit_2.88dsf.bbappend
Quoted 27 lines
Quoted 19 lines
b/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbapp end
new file mode 100644
index 0000000..6e08c83meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.b new file +9
-1+++ bappend@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first FILESEXTRAPATHS_prepend := +"${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS } --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 15 lines · Franklin
Quoted 15 lines · Franklin
Quoted 10 lines
Quoted 7 lines · Franklin
Quoted 3 lines
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
[Franklin] I'm assuming there was some conversation in the background regarding this patch
Well, not about the patch, but about the problem this patch is trying to fix :)
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
I wasn't aware of since the above two points weren't clear. But no problem doing with what you suggested as long as enabling it for the right boards is being done as part of a patch series with this one.
Do we have a list of boards that have RTC? Just glancing over what I have I don't see any...
[Franklin] am437x sk, am437x gp evm and am57x based on looking at the dt.
Hmm, I don't see any batteries on am437x sk. But x15 does have a battery next to Eth port.
Quoted 7 lines
Quoted 3 lines
As an alternative, we can keep it enabled by default and disable it just for Keystone to make Sam happy. But I've seen that error on pretty much every platform lately.
[Franklin] I would prefer that approach instead. And true about the error but it could be a bug or error that needs to be fixed so I rather not hide it especially since I haven't received any questions regarding it before.
Ok
Quoted 32 lines · Denys Dmytriyenko
Quoted 15 lines · Franklin
Quoted 15 lines · Franklin
Quoted 10 lines
Quoted 7 lines · Franklin
Quoted 3 lines
I see references to several boards that have enabled rtc in its dts file. I didn't check all the boards we support in meta-ti but additional boards may use it. So we shouldn't disable it for these boards.
Exactly, so the proposal was to disable it by default and enable through machine overrides for those boards that have it.
[Franklin] I'm assuming there was some conversation in the background regarding this patch
Well, not about the patch, but about the problem this patch is trying to fix :)
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
I wasn't aware of since the above two points weren't clear. But no problem doing with what you suggested as long as enabling it for the right boards is being done as part of a patch series with this one.
Do we have a list of boards that have RTC? Just glancing over what I have I don't see any...
[Franklin] am437x sk, am437x gp evm and am57x based on looking at the dt.
Hmm, I don't see any batteries on am437x sk. But x15 does have a battery next to Eth port.
Quoted 3 lines
Quoted 3 lines
As an alternative, we can keep it enabled by default and disable it just for Keystone to make Sam happy. But I've seen that error on pretty much every platform lately.
Quoted 5 lines
Quoted 3 lines
[Franklin] I would prefer that approach instead. And true about the error but it could be a bug or error that needs to be fixed so I rather not hide it especially since I haven't received any questions regarding it before.
Ok
I just sent a tiny patch to meta-ti that disables rtc and dependent hwclock on keystone platforms. Anyone who needs to do the same for other platforms, feel free to send patches.
Signature · 1 line
Denys
Quoted 3 lines · Sam Nelson
- realtime clock is not commonly present and hence adding HWCLOCKACCESS=no
- Avoids error message if rc device not present
Why not set it in /etc/default/hwclock? That way we can machine-specific versions of the file, when we want to enable hwclock?
Quoted 38 lines
Signed-off-by Sam Nelson <[email protected]>--- .../recipes-core/sysvinit/files/hwclock.rcS | 2 ++ .../sysvinit/sysvinit_2.88dsf.bbappend | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS create mode 100644 meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappendmeta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS new file +2
-0@@ -0,0 +1,2 @@ +# This is to indicate hwclock is not supported +HWCLOCKACCESS=nometa-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend new file +9
-0@@ -0,0 +1,9 @@ +PR_append = "-arago0" + +# look for files in this layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://hwclock.rcS" +do_install_append () { +# Add hwclock configuration + cat ${WORKDIR}/hwclock.rcS >> ${D}${sysconfdir}/default/rcS +}Signature · 6 lines
1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago