qubes-linux-kernel/Makefile.builder
Marek Marczykowski-Górecki d3c09e68ad
Upload kernel-devel package built for dom0 to VM repository
When VM kernel is provided by dom0 (the default in Qubes 3.x), VM
kernel-devel package should match kernel actually installed in dom0.

Fixes QubesOS/qubes-issues#2641
2017-02-20 22:54:51 +01:00

15 lines
328 B
Ruby

ifeq ($(PACKAGE_SET),dom0)
RPM_SPEC_FILES := kernel.spec
else ifeq ($(PACKAGE_SET),vm)
ifdef UPDATE_REPO
# If DIST_DOM0 defined, copy kernel-devel from there
ifneq ($(DIST_DOM0),)
# Include kernel-devel packages in VM repo - dummy spec file
RPM_SPEC_FILES := kernel-devel.spec
OUTPUT_DIR = pkgs/$(DIST_DOM0)
endif
endif
endif