From b63ab9dacb2a9ce84c1e5cd01d749c2d3826c685 Mon Sep 17 00:00:00 2001 From: Laurent Declercq Date: Mon, 12 Nov 2018 14:18:14 +0100 Subject: [PATCH 1/2] Typo in NOTES.org --- NOTES.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NOTES.org b/NOTES.org index bea0288..6a06071 100644 --- a/NOTES.org +++ b/NOTES.org @@ -1,6 +1,6 @@ * Misc Notes related to Jenkins -This document provides some notes you might consider useful, but aren't necessarily releated to jenkins-debian-glue itself. +This document provides some notes you might consider useful, but aren't necessarily related to jenkins-debian-glue itself. ** Install jenkins.rb on Debian From 7639edb4c97f6c9f76beb6dbd72c9df41b52baf9 Mon Sep 17 00:00:00 2001 From: Laurent Declercq Date: Mon, 12 Nov 2018 14:35:17 +0100 Subject: [PATCH 2/2] Added pbuilder hook to force DPKG unsafe IO (unpack) --- pbuilder-hookdir/D10aptspeedup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 pbuilder-hookdir/D10aptspeedup diff --git a/pbuilder-hookdir/D10aptspeedup b/pbuilder-hookdir/D10aptspeedup new file mode 100755 index 0000000..9cd7898 --- /dev/null +++ b/pbuilder-hookdir/D10aptspeedup @@ -0,0 +1,9 @@ +#!/bin/sh +# Force DPKG unsafe IO + +set -ex + +if dpkg --compare-versions "$(dpkg-query -f "\${Version}\n" -W dpkg 2>/dev/null)" ge '1.15.8.6' 2>/dev/null ; then + echo "I: Force DPKG unsafe IO" + echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup +fi