initscripts: remove /etc/init.d/devices for angstrom, it is only needed for devfs
authorKoen Kooi <koen@openembedded.org>
Tue, 23 Sep 2008 15:30:32 +0000 (15:30 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 23 Sep 2008 15:30:32 +0000 (15:30 +0000)
* incidentally, this fixes udev for devices needing to be 'special' by having their own devices file with a broken udev check (e.g. sharp zaurus)

packages/initscripts/initscripts_1.0.bb

index 6d4b7e6..2ed2095 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r107"
+PR = "r108"
 
 SRC_URI = "file://functions \
            file://halt \
@@ -125,3 +125,8 @@ do_install () {
 
        install -m 0755         ${WORKDIR}/device_table.txt             ${D}${sysconfdir}/device_table
 }
+
+# Angstrom doesn't support devfs
+do_install_append_angstrom () {
+       rm ${D}${sysconfdir}/init.d/devices ${D}${sysconfdir}/rcS.d/S05devices
+}