diff options
Diffstat (limited to 'mkosi.conf.d/10-centos-fedora/mkosi.prepare')
-rwxr-xr-x | mkosi.conf.d/10-centos-fedora/mkosi.prepare | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.conf.d/10-centos-fedora/mkosi.prepare b/mkosi.conf.d/10-centos-fedora/mkosi.prepare index 9e74aabae2..9aca0096d5 100755 --- a/mkosi.conf.d/10-centos-fedora/mkosi.prepare +++ b/mkosi.conf.d/10-centos-fedora/mkosi.prepare @@ -13,7 +13,7 @@ for DEPS in --requires --recommends --suggests; do # --latest-limit=1 is per <name>.<arch> so we have to pass --arch= explicitly to make sure i686 packages # are not considered on x86-64. dnf repoquery --arch="$DISTRIBUTION_ARCHITECTURE,noarch" --latest-limit=1 --quiet "$DEPS" "${PACKAGES[@]}" | - grep --invert-match --regexp systemd --regexp udev --regexp /bin/sh --regexp grubby --regexp sdubby --regexp libcurl-minimal | + grep --extended-regexp --invert-match --regexp "$(IFS=\| ; echo "${PACKAGES[*]}")" --regexp /bin/sh --regexp grubby --regexp sdubby --regexp libcurl-minimal | sort --unique | xargs --delimiter '\n' --no-run-if-empty mkosi-install done |