From 4e6cc0f7dc707c19a6e8cf29e58aa0a19a018435 Mon Sep 17 00:00:00 2001 From: John Lee Date: Mon, 22 Dec 2008 14:25:35 +0800 Subject: udev_*.bb: honer $D in postinst scripts. Otherwise it will overwrite host udev settings in a toolchain environment. Patch created by Christopher Hall --- packages/udev/udev_118.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/udev/udev_118.bb') diff --git a/packages/udev/udev_118.bb b/packages/udev/udev_118.bb index 20fef83d74..ef1fb14a86 100644 --- a/packages/udev/udev_118.bb +++ b/packages/udev/udev_118.bb @@ -65,8 +65,8 @@ pkg_postinst_append() { if test "$mp" = "/" then root_partition="$dev" - echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist + echo "$root_partition" >> $D${sysconfdir}/udev/mount.blacklist fi - done < ${sysconfdir}/fstab + done < $D${sysconfdir}/fstab } -- cgit v1.2.3