summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-01-07 05:58:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-07 05:58:15 +0000
commitad1444ea6d98b66a200a1f2106de844dc346f957 (patch)
tree3cc5ee904bd556b9c38ee11b57d638bdb504a57a /packages
parentbe93b605d9379b7001183efc7ca1a80a1f9e2cdd (diff)
parent4a9a33b78f011fdaeed2331cfac0f48c69d8dfdf (diff)
merge of 0352b5e5aba6317167740a3467df40a576fd6d54
and 128236d8140e77e43ae65c14a618fef3451a7618
Diffstat (limited to 'packages')
-rw-r--r--packages/openslug-init/openslug-init-0.10/links.conf6
-rw-r--r--packages/openslug-init/openslug-init_0.10.bb8
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/links.conf b/packages/openslug-init/openslug-init-0.10/links.conf
new file mode 100644
index 0000000000..fdd1f3ce23
--- /dev/null
+++ b/packages/openslug-init/openslug-init-0.10/links.conf
@@ -0,0 +1,6 @@
+# This file does not exist. Please do not ask the debian maintainer about it.
+# You may use it to do strange and wonderful things, at your risk.
+
+# The new RTC class does not create the /dev/rtc symlink, and udev rules don't get run for built-in modules.
+# So it looks like we have to do this here for the moment, until someone comes up with a better idea ...
+L rtc rtc0
diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb
index fa85d9c6f7..a54e45ed3d 100644
--- a/packages/openslug-init/openslug-init_0.10.bb
+++ b/packages/openslug-init/openslug-init_0.10.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r44"
+PR = "r45"
SRC_URI = "file://linuxrc \
file://boot/flash \
@@ -25,6 +25,7 @@ SRC_URI = "file://linuxrc \
file://turnup \
file://reflash \
file://modprobe.conf \
+ file://links.conf \
file://leds.h \
file://leds.c \
"
@@ -57,6 +58,7 @@ do_install() {
${D}${sysconfdir}/default \
${D}${sysconfdir}/init.d \
${D}${sysconfdir}/modutils \
+ ${D}${sysconfdir}/udev \
${D}${sbindir} \
${D}${base_sbindir} \
${D}/initrd \
@@ -91,6 +93,10 @@ do_install() {
done
#
+ # Udev configuration files
+ install -m 0644 links.conf ${D}${sysconfdir}/udev
+
+ #
# Boot scripts
for p in ${BOOTSCRIPTS}
do