From: Paul Hänsch Date: Fri, 18 Dec 2020 19:07:15 +0000 (+0100) Subject: omit default kernel package if kernel is configured explicitly X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=880830df1fc51677a4dc72a56fd46cddfc1676dc;p=blast omit default kernel package if kernel is configured explicitly --- diff --git a/Makefile b/Makefile index cd430aa..84c9221 100644 --- a/Makefile +++ b/Makefile @@ -180,7 +180,8 @@ ifdef modules include $(addsuffix .mk, $(addprefix modules/, $(subst ${comma_},${space_},${modules}))) endif -ifeq "${ARCH}" "amd64" +ifeq "$(findstring linux-image, ${PACKAGES})" "linux-image" +else ifeq "${ARCH}" "amd64" PACKAGES += linux-image-amd64 else ifeq "${ARCH}" "i386" PACKAGES += linux-image-686