udev: Fixup slight mistake in previous commit, bump PR
authorOyvind Repvik <nail@nslu2-linux.org>
Wed, 21 Feb 2007 21:27:41 +0000 (21:27 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Wed, 21 Feb 2007 21:27:41 +0000 (21:27 +0000)
packages/udev/udev_092.bb
packages/udev/udev_097.bb
packages/udev/udev_100.bb

index 60783e9..7f6685d 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 RPROVIDES = "hotplug"
 
-PR = "r15"
+PR = "r16"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
           file://noasmlinkage.patch;patch=1 \
@@ -28,7 +28,8 @@ EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix="
 
 do_install () {
        install -d ${D}${usrsbindir} \
-                  ${D}${sbindir}
+                  ${D}${sbindir} \
+                  ${D}${sysconfdir}
        oe_runmake 'DESTDIR=${D}' INSTALL=install install
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
@@ -68,7 +69,6 @@ pkg_postinst_append() {
                 if test "$mp" = "/"
                 then
                         root_partition="$dev"
-                       install -d ${sysconfdir}/udev
                         echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist
                 fi
         done < ${sysconfdir}/fstab
index d7cc3aa..2af5556 100644 (file)
@@ -8,7 +8,7 @@ used to detect the type of a file system and read its metadata."
 DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \
 needed to link programs with libvolume_id."
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
           file://noasmlinkage.patch;patch=1 \
@@ -30,7 +30,8 @@ EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix="
 
 do_install () {
        install -d ${D}${usrsbindir} \
-                  ${D}${sbindir}
+                  ${D}${sbindir} \
+                  ${D}${sysconfdir}
        oe_runmake 'DESTDIR=${D}' INSTALL=install install
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
@@ -68,7 +69,6 @@ pkg_postinst_append() {
                 if test "$mp" = "/"
                 then
                         root_partition="$dev"
-                       install -d ${sysconfdir}/udev
                         echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist
                 fi
         done < ${sysconfdir}/fstab
index 4484f6e..bef4cb7 100644 (file)
@@ -9,7 +9,7 @@ used to detect the type of a file system and read its metadata."
 DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \
 needed to link programs with libvolume_id."
 
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
           file://noasmlinkage.patch;patch=1 \
@@ -31,7 +31,8 @@ EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix="
 
 do_install () {
        install -d ${D}${usrsbindir} \
-                  ${D}${sbindir}
+                  ${D}${sbindir} \
+                  ${D}${sysconfdir}
        oe_runmake 'DESTDIR=${D}' INSTALL=install install
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
@@ -69,7 +70,6 @@ pkg_postinst_append() {
                 if test "$mp" = "/"
                 then
                         root_partition="$dev"
-                       install -d ${sysconfdir}/udev
                         echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist
                 fi
         done < ${sysconfdir}/fstab