summaryrefslogtreecommitdiff
path: root/packages/unionfs/unionfs-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/unionfs/unionfs-utils.inc')
-rw-r--r--packages/unionfs/unionfs-utils.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/unionfs/unionfs-utils.inc b/packages/unionfs/unionfs-utils.inc
index e69de29bb2..18b3bc29cd 100644
--- a/packages/unionfs/unionfs-utils.inc
+++ b/packages/unionfs/unionfs-utils.inc
@@ -0,0 +1,20 @@
+unionutils = "unionctl uniondbg"
+
+include unionfs.inc
+
+FILES_${PN} = "${sbindir}/unionctl"
+FILES_${PN}-dev = "${sbindir}/uniondbg"
+
+do_compile () {
+ oe_runmake ${unionutils}
+}
+
+do_install () {
+ install -d ${D}${sbindir}
+ install -m 0755 ${unionutils} ${D}${sbindir}/
+
+ install -d ${D}${mandir}/man8
+ for m in ${unionutils}; do
+ install -m 0644 man/$m.8 ${D}${mandir}/man8/ || exit 1
+ done
+}