From 38f44417d62326a8c1e9e7c14f2f6837dfd1f197 Mon Sep 17 00:00:00 2001 From: unman Date: Mon, 13 Feb 2017 22:25:47 +0000 Subject: [PATCH] Move trusty check and locales-all fix inside source-debian-quilt-copy-in --- Makefile.builder | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.builder b/Makefile.builder index 54db8c2..193af89 100644 --- a/Makefile.builder +++ b/Makefile.builder @@ -10,13 +10,12 @@ ifeq ($(PACKAGE_SET),vm) ARCH_BUILD_DIRS := archlinux endif -ifeq ($(DIST),trusty) - $(shell sed -i /locales-all,/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control) -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" source-debian-quilt-copy-in: + if [ $(DIST) == trusty ] ; then \ + sed -i /locales-all/d $(CHROOT_DIR)/$(DIST_SRC)/debian/control ;\ + fi -$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches) tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .