All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no
@ 2015-02-05 16:15 Sam Nelson
  2015-02-05 16:45 ` Cooper Jr., Franklin
  2015-02-05 17:05 ` Denys Dmytriyenko
  0 siblings, 2 replies; 9+ messages in thread
From: Sam Nelson @ 2015-02-05 16:15 UTC (permalink / raw)
  To: meta-arago

- realtime clock is not commonly present and hence adding
  HWCLOCKACCESS=no
- Avoids error message if rc device not present

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../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

diff --git a/meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS b/meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS
new file mode 100644
index 0000000..3e26c20
--- /dev/null
+++ b/meta-arago-distro/recipes-core/sysvinit/files/hwclock.rcS
@@ -0,0 +1,2 @@
+# This is to indicate hwclock is not supported
+HWCLOCKACCESS=no
diff --git a/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend b/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
new file mode 100644
index 0000000..6e08c83
--- /dev/null
+++ b/meta-arago-distro/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
@@ -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



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-05 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 16:15 [PATCH] sysvinit: Changing default setting to add HWCLOCKACCESS=no Sam Nelson
2015-02-05 16:45 ` Cooper Jr., Franklin
2015-02-05 16:52   ` Denys Dmytriyenko
2015-02-05 17:08     ` Cooper Jr., Franklin
2015-02-05 17:14       ` Denys Dmytriyenko
2015-02-05 17:19         ` Cooper Jr., Franklin
2015-02-05 17:49           ` Denys Dmytriyenko
2015-02-05 18:14             ` Denys Dmytriyenko
2015-02-05 17:05 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.