From 2f74c4184142de9c4d0d335df2b6ff26e2b98507 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 27 Oct 2024 18:44:11 +0200 Subject: app-containers/distrobuilder: add optfeature info for building win iso Closes: https://bugs.gentoo.org/919309 Signed-off-by: Joonas Niilola --- app-containers/distrobuilder/distrobuilder-3.1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app-containers') diff --git a/app-containers/distrobuilder/distrobuilder-3.1.ebuild b/app-containers/distrobuilder/distrobuilder-3.1.ebuild index b3db1b7b116d..babc8dc8f04f 100644 --- a/app-containers/distrobuilder/distrobuilder-3.1.ebuild +++ b/app-containers/distrobuilder/distrobuilder-3.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module linux-info +inherit go-module linux-info optfeature DESCRIPTION="System container image builder for LXC and incus" HOMEPAGE="https://linuxcontainers.org/distrobuilder/introduction/" @@ -48,3 +48,8 @@ src_install() { dobin ${GOPATH}/bin/distrobuilder dodoc -r doc/* } + +pkg_postinst() { + optfeature_header "Optional support" + optfeature "building MS Windows images" app-arch/wimlib app-misc/hivex +} -- cgit v1.2.3-65-gdbad