summaryrefslogtreecommitdiff
path: root/packages/unionfs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/unionfs')
-rw-r--r--packages/unionfs/unionfs-modules.inc8
-rw-r--r--packages/unionfs/unionfs-utils.inc20
-rw-r--r--packages/unionfs/unionroot-utils_0.1.1.bb6
-rw-r--r--packages/unionfs/unionroot_0.1.1.bb4
4 files changed, 29 insertions, 9 deletions
diff --git a/packages/unionfs/unionfs-modules.inc b/packages/unionfs/unionfs-modules.inc
index 327ac91e03..ceada47454 100644
--- a/packages/unionfs/unionfs-modules.inc
+++ b/packages/unionfs/unionfs-modules.inc
@@ -27,9 +27,9 @@ do_compile () {
}
do_install () {
- install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/kernel/fs
- install -m 0644 unionfs${KERNEL_OBJECT_SUFFIX} ${D}/${base_libdir}/modules/${KERNEL_VERSION}/kernel/fs/
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/fs
+ install -m 0644 unionfs${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/fs/
- install -d ${D}/${mandir}/man4
- install -m 0644 man/unionfs.4 ${D}/${mandir}/man4/
+ install -d ${D}${mandir}/man4
+ install -m 0644 man/unionfs.4 ${D}${mandir}/man4/
}
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
+}
diff --git a/packages/unionfs/unionroot-utils_0.1.1.bb b/packages/unionfs/unionroot-utils_0.1.1.bb
index 4af7cd7ef4..4c2ed9ac53 100644
--- a/packages/unionfs/unionroot-utils_0.1.1.bb
+++ b/packages/unionfs/unionroot-utils_0.1.1.bb
@@ -11,9 +11,9 @@ SRC_URI = "file://mount.unionroot \
file://umount.unionroot"
do_install () {
- install -d ${D}/${base_bindir}
- install -m 0755 ${WORKDIR}/mount.unionroot ${D}/${base_bindir}/
- install -m 0755 ${WORKDIR}/umount.unionroot ${D}/${base_bindir}/
+ install -d ${D}${base_bindir}
+ install -m 0755 ${WORKDIR}/mount.unionroot ${D}${base_bindir}/
+ install -m 0755 ${WORKDIR}/umount.unionroot ${D}${base_bindir}/
}
pkg_postinst () {
diff --git a/packages/unionfs/unionroot_0.1.1.bb b/packages/unionfs/unionroot_0.1.1.bb
index ba07cc1695..50109b47aa 100644
--- a/packages/unionfs/unionroot_0.1.1.bb
+++ b/packages/unionfs/unionroot_0.1.1.bb
@@ -17,8 +17,8 @@ ALTERNATIVE_PATH = "/sbin/init.unionroot"
ALTERNATIVE_PRIORITY = "100"
do_install () {
- install -d ${D}/${base_sbindir}
- install -m 0755 ${WORKDIR}/init.unionroot ${D}/${base_sbindir}/
+ install -d ${D}${base_sbindir}
+ install -m 0755 ${WORKDIR}/init.unionroot ${D}${base_sbindir}/
}
pkg_postinst () {