summaryrefslogtreecommitdiff
path: root/packages/udev/udev_118.bb
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-12-22 14:25:35 +0800
committerJohn Lee <john_lee@openmoko.org>2008-12-22 14:27:24 +0800
commit4e6cc0f7dc707c19a6e8cf29e58aa0a19a018435 (patch)
treeb187f37f3744302e619921c0d01b280a087145b4 /packages/udev/udev_118.bb
parent9280ba1f0ba54dc18a6989b59d85e17dee6b805e (diff)
udev_*.bb: honer $D in postinst scripts.
Otherwise it will overwrite host udev settings in a toolchain environment. Patch created by Christopher Hall <hsw@openmoko.com>
Diffstat (limited to 'packages/udev/udev_118.bb')
-rw-r--r--packages/udev/udev_118.bb4
1 files changed, 2 insertions, 2 deletions
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
}