summaryrefslogtreecommitdiff
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
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>
-rw-r--r--packages/udev/udev_092.bb4
-rw-r--r--packages/udev/udev_097.bb4
-rw-r--r--packages/udev/udev_100.bb4
-rw-r--r--packages/udev/udev_118.bb4
4 files changed, 8 insertions, 8 deletions
diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb
index 250b1d306f..78060dbda4 100644
--- a/packages/udev/udev_092.bb
+++ b/packages/udev/udev_092.bb
@@ -62,9 +62,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
}
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
}
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
}
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
}