Skip to content

Commit

Permalink
Remove Debian dependencies that will not work in bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
unman committed Aug 31, 2022
1 parent a22d9c4 commit 5a0d9e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ RPM_SPEC_FILES := $(RPM_SPEC_FILES.$(PACKAGE_SET))
DEBIAN_BUILD_DIRS := $(DEBIAN_BUILD_DIRS.$(PACKAGE_SET))
ARCH_BUILD_DIRS := $(ARCH_BUILD_DIRS.$(PACKAGE_SET))

ifneq (,$(findstring $(DISTRIBUTION),qubuntu))
ifneq (,$(findstring $(DISTRIBUTION),debian qubuntu))
SOURCE_COPY_IN := source-debian-quilt-copy-in
endif

# remove Debian dependencies that will not work in Ubuntu focal
# remove Debian dependencies that will not work in Ubuntu focal and bookworm
source-debian-quilt-copy-in:
if [[ $(DIST) == focal ]] ; then \
sed -i /qubes-core-agent-dom0-updates/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
sed -i /qubes-mgmt-salt-vm-connector/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
fi
if [[ $(DIST) == bookworm ]] ; then \
sed -i /qubes-mgmt-salt-vm-connector/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
fi


# vim: filetype=make

0 comments on commit 5a0d9e5

Please sign in to comment.