Merge lp:~pjdc/launchpad-buildd/chroot-scripts into lp:~lamont/launchpad-buildd/chroot-scripts

Proposed by Paul Collins
Status: Merged
Merged at revision: 55
Proposed branch: lp:~pjdc/launchpad-buildd/chroot-scripts
Merge into: lp:~lamont/launchpad-buildd/chroot-scripts
Diff against target: 33 lines (+9/-0)
1 file modified
make-chroot.sh (+9/-0)
To merge this branch: bzr merge lp:~pjdc/launchpad-buildd/chroot-scripts
Reviewer Review Type Date Requested Status
LaMont Jones Pending
Review via email: mp+241026@code.launchpad.net

This proposal supersedes a proposal from 2014-11-07.

Description of the change

Add --ubuntu-porter to replace IS use of "--dchroot --rapt", and also enable -proposed for Ubuntu porter chroots (cf. RT#76483).

{Resubmit: rebase and, importantly, fix the indentation of the here document.]

To post a comment you must log in.
55. By LaMont Jones

merging add --ubuntu-porter to replace IS use of --dchroot --rapt, and also enable -proposed when --ubuntu-porter is specified, also adding --proposed for completness.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'make-chroot.sh'
--- make-chroot.sh 2013-06-20 16:11:43 +0000
+++ make-chroot.sh 2014-11-07 00:35:50 +0000
@@ -104,6 +104,7 @@
104schroot=yes104schroot=yes
105schroot_used=""105schroot_used=""
106home=""106home=""
107proposed=""
107108
108while [ $# -gt 0 ]109while [ $# -gt 0 ]
109do110do
@@ -127,6 +128,7 @@
127 --nomangle) pkgmangle=""; shift;;128 --nomangle) pkgmangle=""; shift;;
128 --debian) debian=yes; shift;; # building a debian chroot129 --debian) debian=yes; shift;; # building a debian chroot
129 --xdebian) debian=yes; xdebian=yes; shift;; # cross-built debian130 --xdebian) debian=yes; xdebian=yes; shift;; # cross-built debian
131 --ubuntu-porter) dchroot=yes; home=yes; proposed=yes; rapt=yes; shift;;
130 --user) buildduser=$2; shift; shift;;132 --user) buildduser=$2; shift; shift;;
131 --noarchuser) noarchuser=yes; shift;;133 --noarchuser) noarchuser=yes; shift;;
132 --group) builddgroup=$2; shift; shift;;134 --group) builddgroup=$2; shift; shift;;
@@ -393,6 +395,13 @@
393 deb-src $srcurl $distro-updates main restricted universe multiverse395 deb-src $srcurl $distro-updates main restricted universe multiverse
394 deb-src $srcurl $distro-security main restricted universe multiverse396 deb-src $srcurl $distro-security main restricted universe multiverse
395 EOF397 EOF
398 if test -n "$proposed"; then
399 cat <<- EOF >&6
400
401 deb $deburl $distro-proposed main restricted universe multiverse
402 deb-src $srcurl $distro-proposed main restricted universe multiverse
403 EOF
404 fi
396 else405 else
397 cat <<- EOF >&6406 cat <<- EOF >&6
398 deb $deburl $distro main407 deb $deburl $distro main

Subscribers

People subscribed via source and target branches

to all changes: