From 4231f25686c24f8240dd7cf05666578daa9ce1ed Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Sun, 12 Nov 2017 15:18:24 +0000 Subject: [PATCH 1/2] Fix mono-sgen paxrat problem --- debian/build-hooks/H01paxrat_mono-sgen | 7 +++++++ debian/gbp.conf | 2 ++ 2 files changed, 9 insertions(+) create mode 100755 debian/build-hooks/H01paxrat_mono-sgen diff --git a/debian/build-hooks/H01paxrat_mono-sgen b/debian/build-hooks/H01paxrat_mono-sgen new file mode 100755 index 0000000..6b482ea --- /dev/null +++ b/debian/build-hooks/H01paxrat_mono-sgen @@ -0,0 +1,7 @@ +#!/bin/sh +# paxrat /usr/bin/mono-sgen before building environment to prevent build failure + +apt-get install -y --force-yes paxrat +apt-get install -y --force-yes mono-runtime-sgen +paxrat /usr/bin/mono-sgen +apt-get install -yf diff --git a/debian/gbp.conf b/debian/gbp.conf index 0ade896..a881629 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -11,6 +11,8 @@ upstream-tag = v%(version)s overlay = True export-dir = /tmp/build-area upstream-tree = TAG +pbuilder = True +pbuilder-options = --hookdir ./debian/build-hooks [dch] debian-branch = debian From 683586adc9fd5b8033caf5bdbf0f675078c1e408 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Mon, 18 Dec 2017 20:23:36 +0000 Subject: [PATCH 2/2] Removed spurious paxrat args --- debian/build-hooks/H01paxrat_mono-sgen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/build-hooks/H01paxrat_mono-sgen b/debian/build-hooks/H01paxrat_mono-sgen index 6b482ea..f53012f 100755 --- a/debian/build-hooks/H01paxrat_mono-sgen +++ b/debian/build-hooks/H01paxrat_mono-sgen @@ -3,5 +3,5 @@ apt-get install -y --force-yes paxrat apt-get install -y --force-yes mono-runtime-sgen -paxrat /usr/bin/mono-sgen +paxrat apt-get install -yf