summaryrefslogtreecommitdiffstats
path: root/abs/core/util-linux/util-linux.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-07 15:00:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-07 15:00:37 (GMT)
commit171326063252ba64350f6df608fb6053a495040f (patch)
tree26c38aff57a5eda46eee684430cc9c98f41a05d1 /abs/core/util-linux/util-linux.install
parent77ed548f0790b9b5929bedd8162697214fb8bf94 (diff)
downloadlinhes_pkgbuild-171326063252ba64350f6df608fb6053a495040f.zip
linhes_pkgbuild-171326063252ba64350f6df608fb6053a495040f.tar.gz
linhes_pkgbuild-171326063252ba64350f6df608fb6053a495040f.tar.bz2
util-linux: 2.22.1
Diffstat (limited to 'abs/core/util-linux/util-linux.install')
-rw-r--r--abs/core/util-linux/util-linux.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/util-linux/util-linux.install b/abs/core/util-linux/util-linux.install
index 90ce5bd..4c0bb10 100644
--- a/abs/core/util-linux/util-linux.install
+++ b/abs/core/util-linux/util-linux.install
@@ -1,3 +1,12 @@
+post_install() {
+ # we don't want use systemd-tmpfiles here because
+ # the package dependency would create a circular dep.
+ if [ ! -d run/uuidd ]; then
+ # refer to uid/gid by number to avoid dependency on filesystem
+ install -o 68 -g 68 -dm755 run/uuidd
+ fi
+}
+
post_upgrade() {
if [ "$(vercmp $2 2.21.2-4)" -lt 0 ]; then
if [ -f /var/lib/hwclock/adjtime ]; then
@@ -7,4 +16,6 @@ post_upgrade() {
rmdir /var/lib/hwclock
fi
fi
+
+ post_install
}