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_097.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/udev/udev_097.bb') diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb index 397d3b9f2a..7dce303cb7 100644 --- a/packages/udev/udev_097.bb +++ b/packages/udev/udev_097.bb @@ -66,9 +66,9 @@ 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