diff --git a/var/spack/repos/builtin/packages/e2fsprogs/package.py b/var/spack/repos/builtin/packages/e2fsprogs/package.py index f5a4b1a402..80cf6dd135 100644 --- a/var/spack/repos/builtin/packages/e2fsprogs/package.py +++ b/var/spack/repos/builtin/packages/e2fsprogs/package.py @@ -20,3 +20,9 @@ class E2fsprogs(AutotoolsPackage): def setup_run_environment(self, env): env.prepend_path('PATH', self.prefix.sbin) + + def configure_args(self): + # avoid installing things in /etc + return ['--without-udev-rules-dir', + '--without-crond-dir', + '--without-systemd-unit-dir']