summaryrefslogtreecommitdiff
path: root/packages/udev/udev_097.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/udev/udev_097.bb')
-rw-r--r--packages/udev/udev_097.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb
index 84c414fd0d..d7cc3aa017 100644
--- a/packages/udev/udev_097.bb
+++ b/packages/udev/udev_097.bb
@@ -68,9 +68,10 @@ pkg_postinst_append() {
if test "$mp" = "/"
then
root_partition="$dev"
- echo "$root_partition" >> /etc/udev/mount.blacklist
+ install -d ${sysconfdir}/udev
+ echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist
fi
- done < /etc/fstab
+ done < ${sysconfdir}/fstab
}