summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/initscripts/initscripts-1.0/device_table.txt18
-rw-r--r--meta/packages/initscripts/initscripts-1.0/save-rtc.sh16
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb10
3 files changed, 41 insertions, 3 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/device_table.txt b/meta/packages/initscripts/initscripts-1.0/device_table.txt
index 35560b402..a302c5aca 100644
--- a/meta/packages/initscripts/initscripts-1.0/device_table.txt
+++ b/meta/packages/initscripts/initscripts-1.0/device_table.txt
@@ -160,6 +160,24 @@
/dev/smtpe2 c 640 0 0 35 130 - - -
/dev/smtpe3 c 640 0 0 35 131 - - -
/dev/sndstat c 660 0 29 14 6 - - -
+/dev/snd/seq c 660 0 0 116 1 - - -
+/dev/snd/timer c 660 0 0 116 33 - - -
+/dev/snd/controlC0 c 660 0 0 116 0 - - -
+/dev/snd/controlC1 c 660 0 0 116 32 - - -
+/dev/snd/controlC2 c 660 0 0 116 64 - - -
+/dev/snd/controlC3 c 660 0 0 116 96 - - -
+/dev/snd/hwC0D0 c 660 0 0 116 4 - - -
+/dev/snd/hwC0D1 c 660 0 0 116 5 - - -
+/dev/snd/hwC0D2 c 660 0 0 116 6 - - -
+/dev/snd/hwC0D3 c 660 0 0 116 7 - - -
+/dev/snd/pcmC0D0c c 660 0 0 116 24 - - -
+/dev/snd/pcmC0D0p c 660 0 0 116 16 - - -
+/dev/snd/pcmC0D1c c 660 0 0 116 25 - - -
+/dev/snd/pcmC0D1p c 660 0 0 116 17 - - -
+/dev/snd/pcmC0D2c c 660 0 0 116 26 - - -
+/dev/snd/pcmC0D2p c 660 0 0 116 18 - - -
+/dev/snd/pcmC0D3c c 660 0 0 116 27 - - -
+/dev/snd/pcmC0D3p c 660 0 0 116 19 - - -
/dev/st0 c 660 0 11 9 0 - - -
/dev/st0a c 660 0 11 9 96 - - -
/dev/st0l c 660 0 11 9 32 - - -
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
new file mode 100644
index 000000000..d06aa6d56
--- /dev/null
+++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+#
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
+#
+# Filename: save-rtc.sh
+# Date: 03-Jul-06
+
+
+# Update the timestamp, if there is already one
+if test -e /etc/timestamp
+then
+ echo "Will restore RCT from /etc/timestamp on next boot"
+ echo "Delete that file to disable this feature."
+ date +%2m%2d%2H%2M%Y > /etc/timestamp
+fi
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index 222c1eee7..5f59bf9d7 100644
--- a/meta/packages/initscripts/initscripts_1.0.bb
+++ b/meta/packages/initscripts/initscripts_1.0.bb
@@ -5,7 +5,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r73"
+PR = "r74"
SRC_URI = "file://halt \
file://ramdisk \
@@ -30,7 +30,8 @@ SRC_URI = "file://halt \
file://sysfs.sh \
file://device_table.txt \
file://populate-volatile.sh \
- file://volatiles "
+ file://volatiles \
+ file://save-rtc.sh"
SRC_URI_append_arm = " file://alignment.sh"
SRC_URI_append_openzaurus = " file://checkversion"
@@ -81,6 +82,7 @@ do_install () {
install -m 0755 ${WORKDIR}/devpts ${D}${sysconfdir}/default
install -m 0755 ${WORKDIR}/sysfs.sh ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/populate-volatile.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/save-rtc.sh ${D}${sysconfdir}/init.d
install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core
if [ "${TARGET_ARCH}" = "arm" ]; then
install -m 0755 ${WORKDIR}/alignment.sh ${D}${sysconfdir}/init.d
@@ -89,7 +91,7 @@ do_install () {
# Install device dependent scripts
#
- if [ "${DISTRO}" == "openzaurus" ]; then
+ if [ "${DISTRO}" = "openzaurus" ]; then
cat ${WORKDIR}/checkversion | sed -e "s,VERSION,${KERNEL_VERSION}-${DISTRO_VERSION}," > ${D}${sysconfdir}/init.d/checkversion
chmod 0755 ${D}${sysconfdir}/init.d/checkversion
ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version
@@ -118,6 +120,8 @@ 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}/rc0.d/S25save-rtc.sh
+ ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh
ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner
ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh
# ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh