2013-03-19 15:22:58 +01:00
|
|
|
ifeq ($(PACKAGE_SET),vm)
|
2017-05-30 11:01:52 +02:00
|
|
|
RPM_SPEC_FILES := rpm_spec/core-agent.spec
|
2015-02-11 14:00:25 +01:00
|
|
|
|
|
|
|
ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
|
|
|
|
DEBIAN_BUILD_DIRS := debian
|
|
|
|
SOURCE_COPY_IN := source-debian-quilt-copy-in
|
|
|
|
endif
|
|
|
|
|
|
|
|
ARCH_BUILD_DIRS := archlinux
|
2013-03-19 15:22:58 +01:00
|
|
|
endif
|
2015-02-11 14:00:25 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
source-debian-quilt-copy-in:
|
2018-08-14 18:01:42 +02:00
|
|
|
if [ $(DIST) == bionic ] ; then \
|
2017-05-24 00:59:41 +02:00
|
|
|
sed -i /initscripts/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
|
|
|
|
fi
|
2015-02-11 14:00:25 +01:00
|
|
|
-$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
|
2015-02-20 01:56:23 +01:00
|
|
|
tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
|
2015-02-11 14:00:25 +01:00
|
|
|
|
|
|
|
# vim: filetype=make
|