diff options
Diffstat (limited to 'meta/recipes-support/bmap-tools/bmap-tools_3.4.bb')
-rw-r--r-- | meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb b/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb new file mode 100644 index 0000000000..3f75fad44b --- /dev/null +++ b/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "Tools to generate block map (AKA bmap) and flash images using bmap" | ||
2 | DESCRIPTION = "Bmap-tools - tools to generate block map (AKA bmap) and flash images using \ | ||
3 | bmap. Bmaptool is a generic tool for creating the block map (bmap) for a file, \ | ||
4 | and copying files using the block map. The idea is that large file containing \ | ||
5 | unused blocks, like raw system image files, can be copied or flashed a lot \ | ||
6 | faster with bmaptool than with traditional tools like "dd" or "cp"." | ||
7 | HOMEPAGE = "https://github.com/01org/bmap-tools" | ||
8 | SECTION = "console/utils" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
11 | |||
12 | SRC_URI = "git://github.com/01org/bmap-tools.git" | ||
13 | SRCREV = "9dad724104df265442226972a1e310813f9ffcba" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | RDEPENDS_${PN} = "python-core python-compression python-mmap" | ||
18 | |||
19 | inherit setuptools | ||
20 | |||
21 | BBCLASSEXTEND = "native" | ||
22 | |||
23 | do_install_append_class-native() { | ||
24 | sed -i -e 's|^#!.*/usr/bin/python-native/python|#! /usr/bin/env nativepython|' ${D}${bindir}/bmaptool | ||
25 | } | ||