summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-10-27 18:44:11 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-10-27 18:44:58 +0200
commit2f74c4184142de9c4d0d335df2b6ff26e2b98507 (patch)
tree82bc929bea194acbe8725790beeafca7e9161b28 /app-containers
parentnet-misc/tigervnc: sync live ebuild (diff)
downloadgentoo-2f74c4184142de9c4d0d335df2b6ff26e2b98507.tar.gz
gentoo-2f74c4184142de9c4d0d335df2b6ff26e2b98507.tar.bz2
gentoo-2f74c4184142de9c4d0d335df2b6ff26e2b98507.zip
app-containers/distrobuilder: add optfeature info for building win iso
Closes: https://bugs.gentoo.org/919309 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/distrobuilder/distrobuilder-3.1.ebuild7
1 files changed, 6 insertions, 1 deletions
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
+}