aboutsummaryrefslogtreecommitdiffstats
path: root/packages/e2tools/e2tools-native_0.0.16.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/e2tools/e2tools-native_0.0.16.bb')
-rw-r--r--packages/e2tools/e2tools-native_0.0.16.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/e2tools/e2tools-native_0.0.16.bb b/packages/e2tools/e2tools-native_0.0.16.bb
index e69de29bb2..95f4a0ae6f 100644
--- a/packages/e2tools/e2tools-native_0.0.16.bb
+++ b/packages/e2tools/e2tools-native_0.0.16.bb
@@ -0,0 +1,15 @@
+SECTION = "base"
+include e2tools_${PV}.bb
+inherit native
+
+DEPENDS = "e2fsprogs-libs-native e2fsprogs-native"
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/e2tools-${PV}', '${FILE_DIRNAME}/e2tools', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+PACKAGES = ""
+
+e2links = "e2ln e2ls e2mkdir e2mv e2rm e2tail"
+do_stage () {
+ install -m 0755 e2cp ${STAGING_BINDIR}/
+ for i in ${e2links}; do
+ ln -sf e2cp ${STAGING_BINDIR}/$i
+ done
+}