aboutsummaryrefslogtreecommitdiff
path: root/package/e2fsprogs
diff options
context:
space:
mode:
authorGravatar Antoine Tenart <antoine.tenart@bootlin.com>2020-07-17 14:06:54 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-07-18 15:44:41 +0200
commitea6ddd367140f38bb512cf35de9f84d0ac853cff (patch)
treedfc4774d05fd45c65bda44fd7abcc941aa6a9ec3 /package/e2fsprogs
parenta5beb29820a17137277eb12dfb7e5f106694addb (diff)
downloadbuildroot-ea6ddd367140f38bb512cf35de9f84d0ac853cff.tar.gz
buildroot-ea6ddd367140f38bb512cf35de9f84d0ac853cff.tar.bz2
package/e2fsprogs: explicitly do not install udev and systemd files for host variant
Explicitly do not install udev rules and systemd units when installing the host version of e2fsprogs, as we do not need those files when calling host tools provided by e2fsprogs from Buildroot. This fixes a weird issue I encountered: host-e2fsprogs was built and installed without any issue when building an image from scratch. But any attempt to rebuild host-e2fsprogs alone was failing during the installation steps as it tried to install files to the host system. This is because e2fsprogs' build system (autotools) is using the prefix given at configuration time when installing its binaries, configuration files, man pages, etc... but not when installing its systemd units and udev rules. The issue did not arise when building it from scratch, as host-e2fsprogs do not have a dependency on host-udev/systemd, so its configure script did not automatically enable udev/systemd installation steps at first. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r--package/e2fsprogs/e2fsprogs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 41986eec58..f6642d8de1 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -29,7 +29,9 @@ HOST_E2FSPROGS_CONF_OPTS = \
--disable-testio-debug \
--enable-symlink-install \
--enable-elf-shlibs \
- --with-crond-dir=no
+ --with-crond-dir=no \
+ --with-udev-rules-dir=no \
+ --with-systemd-unit-dir=no
# Set the binary directories to "/bin" and "/sbin", as busybox does,
# so that we do not end up with two versions of e2fs tools.