diff options
author | John Lee <john_lee@openmoko.org> | 2008-12-22 14:25:35 +0800 |
---|---|---|
committer | John Lee <john_lee@openmoko.org> | 2008-12-22 14:27:24 +0800 |
commit | 4e6cc0f7dc707c19a6e8cf29e58aa0a19a018435 (patch) | |
tree | b187f37f3744302e619921c0d01b280a087145b4 /packages/udev/udev_100.bb | |
parent | 9280ba1f0ba54dc18a6989b59d85e17dee6b805e (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_100.bb')
-rw-r--r-- | packages/udev/udev_100.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/udev/udev_100.bb b/packages/udev/udev_100.bb index f1dba7f3cb..2aa71d6819 100644 --- a/packages/udev/udev_100.bb +++ b/packages/udev/udev_100.bb @@ -64,9 +64,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 } |