diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-02 15:22:32 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:14 +0100 |
commit | 8a8ed5239d11e650cc71133b8982560e9b5f8cd6 (patch) | |
tree | e70d1560d6cd4ec759e1e5a27e0b2c3213857933 /meta/recipes-support/bmap-tools | |
parent | dc939724c2e2b3bbbe93a970b9a1bcf5a2e763cd (diff) | |
download | poky-8a8ed5239d11e650cc71133b8982560e9b5f8cd6.tar.gz |
bmap-tools: initial commit, version 3.2
Bmap-tools - tools to generate block map (AKA bmap) and flash images
using bmap. Bmaptool is a generic tool for creating the block map
(bmap) for a file and copying files using the block map.
The idea is that large file containing unused blocks, like raw system
image files, can be copied or flashed a lot faster with bmaptool than
with traditional tools like "dd" or "cp".
[YOCTO #9414]
(From OE-Core rev: d18429a5b899de95fa2896aa46ce6c4a04739be5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/bmap-tools')
-rw-r--r-- | meta/recipes-support/bmap-tools/bmap-tools_3.2.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.2.bb b/meta/recipes-support/bmap-tools/bmap-tools_3.2.bb new file mode 100644 index 0000000000..e10f5fd341 --- /dev/null +++ b/meta/recipes-support/bmap-tools/bmap-tools_3.2.bb | |||
@@ -0,0 +1,24 @@ | |||
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 = "http://git.infradead.org/users/dedekind/bmap-tools.git" | ||
8 | SECTION = "console/utils" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
11 | |||
12 | SRC_URI = "ftp://ftp.infradead.org/pub/${BPN}/${BPN}-${PV}.tgz" | ||
13 | SRC_URI[md5sum] = "92cdad1cb4dfa0cca7176c8e22752616" | ||
14 | SRC_URI[sha256sum] = "cc6c7f7dc0a37e2a32deb127308e24e6c4b80bfb54f3803c308efab02bf2d434" | ||
15 | |||
16 | RDEPENDS_${PN} = "python-core python-compression" | ||
17 | |||
18 | inherit setuptools | ||
19 | |||
20 | BBCLASSEXTEND = "native" | ||
21 | |||
22 | do_install_append_class-native() { | ||
23 | sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/bmaptool | ||
24 | } | ||