diff --git a/debian/build-hooks/H01paxrat_mono-sgen b/debian/build-hooks/H01paxrat_mono-sgen new file mode 100755 index 0000000..f53012f --- /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 +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