Package: pbuilder
Version: 0.228.7
Severity: normal
Tags: patch

Dear Maintainer,

The current Ubuntu development release is "artful".
I've added it to the list of recognized releases, and set it as
default DISTRIBUTION for Ubuntu-derived distros. (See the attached patch for details.)

This seems to be all that is required for pbuilder to know about
the new release, but let me know if further changes are needed. :)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  debootstrap            1.0.90
ii  dpkg-dev               1.18.24
ii  wget                   1.19.1-4

Versions of packages pbuilder recommends:
ii  devscripts  2.17.6
ii  eatmydata   105-5
ii  fakeroot    1.21-3.1
ii  iproute2    4.9.0-1
ii  net-tools   1.60+git20161116.90da8a0-1
ii  sudo        1.8.20p2-1

Versions of packages pbuilder suggests:
pn  cowdancer   <none>
pn  gdebi-core  <none>

-- debconf information excluded

--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
diff --git a/debian/rules b/debian/rules
index a50bb90..e9344d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ else
 	sed "s#http://httpredir.debian.org/debian#http://archive.ubuntu.com/ubuntu#g"; -i debian/pbuilder.templates
 	sed "s#http://httpredir.debian.org/debian#http://archive.ubuntu.com/ubuntu#g"; -i debian/pbuilder.config
 	sed "s#http://httpredir.debian.org/debian#http://archive.ubuntu.com/ubuntu#g"; -i pbuilderrc
-	sed "s/#DISTRIBUTION=sid/DISTRIBUTION=zesty/" -i pbuilderrc
+	sed "s/#DISTRIBUTION=sid/DISTRIBUTION=artful/" -i pbuilderrc
 	sed 's/COMPONENTS="main"/COMPONENTS="main universe"/' -i pbuilderrc
 endif
 	dh_clean
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 0b5668b..16b0d54 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -62,7 +62,7 @@ guess_dist_arch_archive() {
       buzz|rex|bo|hamm|slink|potato|woody|sarge|etch|lenny|squeeze|wheezy|jessie|stretch|buster)
         echo "debian-archive"
       ;;
-      precise|trusty|xenial|yakkety|zesty)
+      precise|trusty|xenial|yakkety|zesty|artful)
         case "$arch" in
           amd64|i386)
             echo "ubuntu"

Reply via email to