package/e2fsprogs: enable libarchive for host package

mke2fs need libarchive to populate a newly created filesystem from a
tarball with "-d tarball|-". Enable it in HOST_E2FSPROGS_CONF_OPTS,
and add a dependency on host-libarchive.

Signed-off-by: Fiona Klute (othermo GmbH) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b1990243ca)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Fiona Klute (othermo GmbH)
2026-09-04 18:54:27 +02:00
committed by Raphaël Mélotte
parent 0679bed2f6
commit 999368b2a7

View File

@@ -16,7 +16,7 @@ E2FSPROGS_INSTALL_STAGING = YES
# This prevents overriding them with e2fsprogs' ones, which may cause
# problems for other packages.
E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux
HOST_E2FSPROGS_DEPENDENCIES = host-pkgconf host-util-linux
HOST_E2FSPROGS_DEPENDENCIES = host-libarchive host-pkgconf host-util-linux
E2FSPROGS_SELINUX_MODULES = fstools
@@ -34,6 +34,7 @@ HOST_E2FSPROGS_CONF_OPTS = \
--enable-symlink-install \
--enable-elf-shlibs \
--with-crond-dir=no \
--with-libarchive=yes \
--with-udev-rules-dir=no \
--with-systemd-unit-dir=no