mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 11:13:04 +01:00
bmap-tools has run-time dependency on "python-mmp" which is missing in the RDEPENDS. "bmaptool" command in the target will fail without this patch. (From OE-Core rev: 1127154b958d0a0e167cefff4bc40dfb86e3378a) Signed-off-by: Binghua Guan <freebendy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
1012 B
BlitzBasic
26 lines
1012 B
BlitzBasic
SUMMARY = "Tools to generate block map (AKA bmap) and flash images using bmap"
|
|
DESCRIPTION = "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"."
|
|
HOMEPAGE = "https://github.com/01org/bmap-tools"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://github.com/01org/bmap-tools.git"
|
|
SRCREV = "96702a869220ab20830db916ec4ac595e1d97f92"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
RDEPENDS_${PN} = "python-core python-compression python-mmap"
|
|
|
|
inherit setuptools
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
do_install_append_class-native() {
|
|
sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/bmaptool
|
|
}
|