package/bmap-writer: add initial package

Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Ayoub Zaki
2025-02-05 11:10:12 +01:00
committed by Thomas Petazzoni
parent 51e292cf67
commit 02c765af35
7 changed files with 54 additions and 0 deletions
+3
View File
@@ -304,6 +304,9 @@ F: package/orbit/
N: Attila Wagner <attila.wagner@onyxinsight.com>
F: package/python-canopen/
N: Ayoub Zaki <ayoub.zaki@embetrix.com>
F: package/bmap-writer/
N: Bagas Sanjaya <bagasdotme@gmail.com>
F: package/git/
+1
View File
@@ -214,6 +214,7 @@ menu "Filesystem and flash utilities"
source "package/aufs-util/Config.in"
source "package/autofs/Config.in"
source "package/bmap-tools/Config.in"
source "package/bmap-writer/Config.in"
source "package/btrfs-progs/Config.in"
source "package/cifs-utils/Config.in"
source "package/cpio/Config.in"
+1
View File
@@ -10,6 +10,7 @@ menu "Host utilities"
source "package/asn1c/Config.in.host"
source "package/babeltrace2/Config.in.host"
source "package/bmap-tools/Config.in.host"
source "package/bmap-writer/Config.in.host"
source "package/bootgen/Config.in.host"
source "package/btrfs-progs/Config.in.host"
source "package/cbootimage/Config.in.host"
+19
View File
@@ -0,0 +1,19 @@
config BR2_PACKAGE_BMAP_WRITER
bool "bmap-writer"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # libarchive
select BR2_PACKAGE_LIBARCHIVE
select BR2_PACKAGE_LIBXML2
help
bmap-writer is a command-line utility designed to
efficiently write disk images to storage devices using block
mapping (BMAP). It serves as a lightweight alternative to
the Yocto BMAP tool, specifically for embedded
systems. Unlike the Yocto BMAP tool, bmap-writer is C++
based, does not require Python, and focuses solely on
writing an image.
https://github.com/embetrix/bmap-writer
comment "bmap-writer needs a toolchain w/ C++, wchar"
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+12
View File
@@ -0,0 +1,12 @@
config BR2_PACKAGE_HOST_BMAP_WRITER
bool "host bmap-writer"
help
bmap-writer is a command-line utility designed to
efficiently write disk images to storage devices using block
mapping (BMAP). It serves as a lightweight alternative to
the Yocto BMAP tool, specifically for embedded
systems. Unlike the Yocto BMAP tool, bmap-writer is C++
based, does not require Python, and focuses solely on
writing an image.
https://github.com/embetrix/bmap-writer
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 94fda8420fa82256bfd01a76dff18ae23c6be9be03cb641f9845164e9326de60 bmap-writer-0.0.3.tar.gz
sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b LICENSE
+15
View File
@@ -0,0 +1,15 @@
################################################################################
#
# bmap-writer
#
################################################################################
BMAP_WRITER_VERSION = 0.0.3
BMAP_WRITER_SITE = $(call github,embetrix,bmap-writer,$(BMAP_WRITER_VERSION))
BMAP_WRITER_LICENSE = GPL-3.0
BMAP_WRITER_LICENSE_FILES = LICENSE
BMAP_WRITER_DEPENDENCIES = host-pkgconf libarchive libxml2
HOST_BMAP_WRITER_DEPENDENCIES = host-pkgconf host-libarchive host-libxml2
$(eval $(cmake-package))
$(eval $(host-cmake-package))