From: Paul Sokolovsky Date: Sat, 30 Jun 2007 01:01:24 +0000 (+0000) Subject: udev: Stop booting semi-configured system in case of random miniscule errors. X-Git-Tag: Release-2010-05/1~8868^2~283^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59ccb6c5a398e38530a3b84f0f82f82c5c77c1b6;p=openembedded.git udev: Stop booting semi-configured system in case of random miniscule errors. * It makes *completely* no sense to just fail the udev script on first error and continue boot further. Either it should try to ignore them, or halt system boot. Otherwise, system in weird, semi-working state will emerge, without anu notices of such state. * This script for example fails on mount --bind and mount --move, which busybox 1.2.1 doesn't appear to handle correctly. --- diff --git a/packages/udev/files/init b/packages/udev/files/init index 456a7c070d..a13b9afcd5 100755 --- a/packages/udev/files/init +++ b/packages/udev/files/init @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh UDEVSTART=/sbin/udevstart diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb index 3f1da7c3ae..06b18d8baa 100644 --- a/packages/udev/udev_092.bb +++ b/packages/udev/udev_092.bb @@ -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_${PN} = "hotplug" -PR = "r18" +PR = "r19" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \ diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb index 9ed0701418..c1eff0d083 100644 --- a/packages/udev/udev_097.bb +++ b/packages/udev/udev_097.bb @@ -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 = "r8" +PR = "r9" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \ diff --git a/packages/udev/udev_100.bb b/packages/udev/udev_100.bb index cebd494116..f36a75ac29 100644 --- a/packages/udev/udev_100.bb +++ b/packages/udev/udev_100.bb @@ -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 = "r7" +PR = "r8" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \