Bug#880802: No documented way to pass a command into cowbuilder execute
Thorsten Glaser
tg at mirbsd.de
Sat Nov 4 21:17:39 UTC 2017
Mattia Rizzolo dixit:
>On Sat, Nov 04, 2017 at 01:45:59PM -0700, Russ Allbery wrote:
>> The cowbuilder man page claims to support an execute operation, but I
>> cannot figure out how to pass in the command and there's no example.
>
>Assuming that it is like pbuilder, what 'execute' does is getting an
Most cowbuilder commands just call the corresponding pbuilder one.
This *is* badly documented in cowbuilder, admittedly.
>executable (be it binary or script), copy it inside the chroot, and
>execute it.
So Russ probably wants this:
echo apt update | cowbuilder \
--basepath /var/cache/pbuilder/base-experimental.cow \
--login --save-after-login
In this specific case, though:
cowbuilder --basepath /var/cache/pbuilder/base-experimental.cow --update
bye,
//mirabilos
--
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (358 (380) bugs: 1 RC, 246 (262) I&N, 111 (117) M&W, 0 F&P)
‣ src:dash (111 (130) bugs: 0 RC, 62 (68) I&N, 49 (62) M&W, 0 F&P)
‣ src:mksh (0 bugs: 0 RC, 0 I&N, 0 M&W, 0 F&P)
dash has two RC bugs they just closed because they don’t care about quality…
More information about the Pbuilder-maint
mailing list