package/embiggen-disk: new package

embiggen-disk is a tool to automatically resize disks to fill available space.

Patch submitted upstream: https://github.com/bradfitz/embiggen-disk/pull/13

Adds support for /dev/mmcblk0pN type paths.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Christian Stewart 2021-10-10 16:46:54 -07:00 committed by Thomas Petazzoni
parent 43c580ac9f
commit 4e5d2c0b95
5 changed files with 36 additions and 0 deletions

View File

@ -528,6 +528,7 @@ F: package/delve/
F: package/docker-cli/ F: package/docker-cli/
F: package/docker-engine/ F: package/docker-engine/
F: package/docker-proxy/ F: package/docker-proxy/
F: package/embiggen-disk/
F: package/fuse-overlayfs/ F: package/fuse-overlayfs/
F: package/go/ F: package/go/
F: package/mbpfan/ F: package/mbpfan/

View File

@ -2528,6 +2528,7 @@ menu "System tools"
source "package/earlyoom/Config.in" source "package/earlyoom/Config.in"
source "package/efibootmgr/Config.in" source "package/efibootmgr/Config.in"
source "package/efivar/Config.in" source "package/efivar/Config.in"
source "package/embiggen-disk/Config.in"
source "package/emlog/Config.in" source "package/emlog/Config.in"
source "package/ftop/Config.in" source "package/ftop/Config.in"
source "package/getent/Config.in" source "package/getent/Config.in"

View File

@ -0,0 +1,19 @@
config BR2_PACKAGE_EMBIGGEN_DISK
bool "embiggen-disk"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_UTIL_LINUX # sfdisk
select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk
help
embiggen-disk is a tool to resize disk partitions at runtime.
https://github.com/bradfitz/embiggen-disk
comment "embiggen-disk needs a glibc or musl toolchain w/ threads"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS && \
BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 514cde66ab9fe6af91b97f17acc19b37976f675ebea0e1be741d6bd621811d87 embiggen-disk-9e7b2fc7b99c4dece41a805489a6ca377ce55a62.tar.gz
sha256 063aedec1652c5a05c2d04c40e032b932453142ee8ef7fd53c04a9acc127fc95 LICENSE

View File

@ -0,0 +1,12 @@
################################################################################
#
# embiggen-disk
#
################################################################################
EMBIGGEN_DISK_VERSION = 9e7b2fc7b99c4dece41a805489a6ca377ce55a62
EMBIGGEN_DISK_SITE = $(call github,bradfitz,embiggen-disk,$(EMBIGGEN_DISK_VERSION))
EMBIGGEN_DISK_LICENSE = Apache-2.0
EMBIGGEN_DISK_LICENSE_FILES = LICENSE
$(eval $(golang-package))