chiark / gitweb /
found wip.pbuilder-config
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2016 18:03:32 +0000 (18:03 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 18 Jul 2017 20:39:48 +0000 (21:39 +0100)
TODO.BRANCH [new file with mode: 0644]
dgit

diff --git a/TODO.BRANCH b/TODO.BRANCH
new file mode 100644 (file)
index 0000000..0cd1769
--- /dev/null
@@ -0,0 +1,23 @@
+       AUTO_DEBSIGN=no
+
+       DEBBUILDOPTS=
+              The  options  given here will be passed on to dpkg-buildpackage.
+              This can be useful e.g. for binary-only builds. The command-line
+              option --debbuildopts will be appended to any contents specified
+              here but may also be used to reset the list of options.
+
+       PBUILDERROOTCMD=sudo -E
+              This option is used on invocation of pbuilder build in pdebuild
+
+ooo
+  --configfile  (is this a shell script)
+  --dumpconfig
+
+support all after arguments
+
+dgit after arguments
+   -S et al
+
+how to find build result
+       --buildresult
+       BUILDRESULT=/var/cache/pbuilder/result/
diff --git a/dgit b/dgit
index 51a8271b8b9163ac97008b0bb56e8ceac085840e..b732c7612dfc034657560cf8d4464962309fd215 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6256,16 +6256,15 @@ sub pb_arg_val ($) {
 
 sub cmd_pbuild {
     my $ar = qr{(?:=(.*))?$};
+    my $pbuilder_distro = 
     while (@ARGV) {
        $_ = shift @ARGV;
-       if (m/^--/) {
-           if (pb_arg_val qr{basetgz|buildplace}) {
-               push @pb_opts, $pbuild_opt, $pbuild_arg;
-           } elsif (m/^--buildresult$ar/o) {
-               $buildproductsdir //= $pbuild_arg;
-           } 
+       if (pb_larg_val qr{--buildresult}) {
+           $buildproductsdir //= $pbuild_arg;
+       } els
                
     external_binbuilder {
+           push @pbuild_opts, --buildresult
        runcmd_ordryrun_local @sbuild, qw(-d), $isuite, @pbuild_opts, $dscfn;
     }, "";
 }