summaryrefslogtreecommitdiff
path: root/recipes/e2tools/e2tools-native_0.0.16.bb
blob: e37eed2b18965f83b56e4deced9d54753258435b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SECTION = "base"
require 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
}