Fix Ubuntu template builds
4.0 template builds use `<package>.install` files with dh_install. The differences between Debian and Ubuntu packages also need to be represented in these files.
This commit is contained in:
parent
28be709238
commit
80b5c94206
2
Makefile
2
Makefile
@ -302,6 +302,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(shell lsb_release -is), Debian)
|
ifeq ($(shell lsb_release -is), Debian)
|
||||||
install -m 0644 misc/qubesxdg.py $(DESTDIR)/$(PYTHON2_SITELIB)/
|
install -m 0644 misc/qubesxdg.py $(DESTDIR)/$(PYTHON2_SITELIB)/
|
||||||
|
else ifeq ($(shell lsb_release -is), Ubuntu)
|
||||||
|
install -m 0644 misc/qubesxdg.py $(DESTDIR)/$(PYTHON2_SITELIB)/
|
||||||
else
|
else
|
||||||
install -m 0644 misc/py2/qubesxdg.py* $(DESTDIR)/$(PYTHON2_SITELIB)/
|
install -m 0644 misc/py2/qubesxdg.py* $(DESTDIR)/$(PYTHON2_SITELIB)/
|
||||||
endif
|
endif
|
||||||
|
@ -12,6 +12,11 @@ endif
|
|||||||
source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
|
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: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
|
||||||
source-debian-quilt-copy-in:
|
source-debian-quilt-copy-in:
|
||||||
|
if [ $(DISTRIBUTION) == qubuntu ] ; then \
|
||||||
|
sed -i /avahi-daemon.service.d/d $(CHROOT_DIR)/$(DIST_SRC)/debian/qubes-core-agent.install ;\
|
||||||
|
sed -i /exim4.service.d/d $(CHROOT_DIR)/$(DIST_SRC)/debian/qubes-core-agent.install ;\
|
||||||
|
sed -i /netfilter-persistent.service.d/d $(CHROOT_DIR)/$(DIST_SRC)/debian/qubes-core-agent.install ;\
|
||||||
|
fi
|
||||||
if [ $(DIST) == trusty ] ; then \
|
if [ $(DIST) == trusty ] ; then \
|
||||||
sed -i /locales-all/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
|
sed -i /locales-all/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user