core-agent-linux/Makefile.builder
unman 2b32289ea4
Allow build for Focal
(cherry picked from commit e07297d3e613a90499a3468a8f95b576898b12e7)
2020-10-10 04:18:19 +02:00

24 righe
842 B
Ruby

ifeq ($(PACKAGE_SET),vm)
RPM_SPEC_FILES := rpm_spec/core-agent.spec
ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
DEBIAN_BUILD_DIRS := debian
SOURCE_COPY_IN := source-debian-quilt-copy-in
endif
ARCH_BUILD_DIRS := archlinux
endif
source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
ifneq ($(filter $(DIST), jessie stretch),)
source-debian-quilt-copy-in: series_ext = -$(DIST)
endif
source-debian-quilt-copy-in:
if [[ $(DIST) == bionic || $(DIST) == focal ]] ; then \
sed -i /initscripts/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
fi
-$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian$(series_ext)-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
# vim: filetype=make