udev: Make sure we're using busybox's mount when moving .static mount.
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 1 Oct 2005 15:26:27 +0000 (15:26 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 1 Oct 2005 15:26:27 +0000 (15:26 +0000)
(busybox mount uses "-o move" vs. util-linux mount "--move")

packages/udev/files/init
packages/udev/udev_070.bb

index c290661..6ad6fd5 100755 (executable)
@@ -52,7 +52,9 @@ mount_tmpfs() {
 
   mkdir -p /dev/.static/dev
   chmod 700 /dev/.static/
-  mount -n -o move /etc/udev /dev/.static/dev
+  # Make sure it's busybox mount we're using. util-linux mount doesn't handle
+  # -o move. 
+  busybox mount -n -o move /etc/udev /dev/.static/dev
 }
 
 # I hate this hack.  -- Md
index dfc20eb..64b0f16 100644 (file)
@@ -6,7 +6,7 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
 
 include udev.inc
 
-PR = "r3"
+PR = "r4"
 
 UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"