瀏覽代碼

Fix build for trusty - locales-all not available

unman 7 年之前
父節點
當前提交
32dc1ad809
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Makefile.builder

+ 4 - 0
Makefile.builder

@@ -10,6 +10,10 @@ ifeq ($(PACKAGE_SET),vm)
   ARCH_BUILD_DIRS := archlinux
   ARCH_BUILD_DIRS := archlinux
 endif
 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: 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: