Skip to content

Commit

Permalink
Restore salt on bookworm, fix logic re ubuntu focal
Browse files Browse the repository at this point in the history
We do maintain own salt package for bookworm now.

For focal, salt was supposed to be excluded, but the actual code did the
opposite - included it only on focal (but not other Ubuntu versions).
Fix this too, while at it.

This reverts commit d06e436 and
5a0d9e5.

Fixes QubesOS/qubes-issues#7896
  • Loading branch information
marmarek committed Jul 7, 2023
1 parent 56799f5 commit 47a6128
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .qubesbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ vm:
- debian
source:
commands:
- 'sed -i /qubes-mgmt-salt-vm-connector/d @SOURCE_DIR@/debian/control'
- 'sed -i "s/pulseaudio-qubes,/pipewire-qubes,/" @SOURCE_DIR@/debian/control'
archlinux:
build:
Expand All @@ -21,15 +20,15 @@ vm:
build:
- debian
source:
commands:
- 'sed -i /qubes-mgmt-salt-vm-connector/d @SOURCE_DIR@/debian/control'
commands: []

vm-focal:
deb:
build:
- debian
source:
commands: []
commands:
- 'sed -i /qubes-mgmt-salt-vm-connector/d @SOURCE_DIR@/debian/control'

vm-bullseye:
deb:
Expand Down
7 changes: 2 additions & 5 deletions Makefile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ 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),debian qubuntu))
ifneq (,$(findstring $(DISTRIBUTION),qubuntu))
SOURCE_COPY_IN := source-debian-quilt-copy-in
endif

# remove Debian dependencies that will not work in Ubuntu focal and bookworm
# remove Debian dependencies that will not work in Ubuntu focal
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

# Support for new packaging
ifneq ($(filter $(DISTRIBUTION), archlinux),)
Expand Down

0 comments on commit 47a6128

Please sign in to comment.