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
This commit is contained in:
Marek Marczykowski-Górecki 2017-02-20 22:54:51 +01:00
parent f536574e9a
commit d3c09e68ad
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1,8 +1,14 @@
ifeq ($(PACKAGE_SET),dom0) ifeq ($(PACKAGE_SET),dom0)
RPM_SPEC_FILES := kernel.spec RPM_SPEC_FILES := kernel.spec
else ifeq ($(PACKAGE_SET),vm) else ifeq ($(PACKAGE_SET),vm)
ifdef UPDATE_REPO 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 # Include kernel-devel packages in VM repo - dummy spec file
RPM_SPEC_FILES := kernel-devel.spec RPM_SPEC_FILES := kernel-devel.spec
OUTPUT_DIR = pkgs/$(DIST_DOM0)
endif endif
endif endif
endif