Hi, couple of trivial questions I've had for a while about sbuild...

1. Is it possible to silence apt/dpkg inside an sbuild chroot?
Sometimes I have to scroll through miles of apt/dpkg downloading and selecting packages. The log files can be too noisy when you're trying to troubleshoot or confirm specific outputs.

I tried playing around with these options in my sbuild/config.pl file, but no luck:
- during setup:
$external_commands = {
'chroot-setup-commands' => [ 'echo "quiet::NoProgress 1"; > /etc/apt/apt.conf.d/99-ak.conf' ],
};

- even creation of the chroot:
$unshare_mmdebstrap_extra_args = [
  '--aptopt="quiet::NoProgress=1"',
];

The first setup-command should have silenced apt's "Get X...", but it doesn't work inside the chroot.

Anyone found a way to make apt/dpkg a little less verbose inside the chroot?


2. Didn't sbuild quietly rebuild the tarball itself at some point?
Every few days, I get one of these...
I: Existing chroot tarball is too old (7.00 >= 7.00 days):
I: Change the maximum age by setting $unshare_mmdebstrap_max_age (in seconds)
I: in your ~/.config/sbuild/config.pl or disable it by setting it to a negative 
value.

I have "$unshare_mmdebstrap_auto_create = 1; " already set in my config.
But I vaguely recall a few months ago, that sbuild used to refresh the tarball itself.
Anyone know if I broke something or did that behaviour change?



--
Regards,
Ahmad



Reply via email to