Bug#1019698: cdebootstrap: aid reproducible boostrapping by providing a --cleanup-logs option

Holger Levsen holger at debian.org
Tue Sep 13 16:36:40 BST 2022


Package: cdebootstrap
Version: 0.7.8
Severity: wishlist
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

using cdebootstrap 0.7.8 it's possible to reproducible bootstrap Debian,
provided one does three extra steps:

1. rm /var/log/dpkg.log /var/log/alternatives.log /var/log/bootstrap.log /var/log/apt/history.log /var/log/apt/term.log
2. rm /etc/machine-id /var/cache/ldconfig/aux-cache
3. SOURCE_DATE_EPOCH=$some_sane_value ; sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime $SUITE -cf $SUITE.tar

This bug is about the first step. It would be really nice if cdebootstrap
had an option called --cleanup-logs which would delete those logs.

Step 2 (or rather it's first part) is tracked via #1018741: "cdebootstrap:
better initialisation of /etc/machine-id".
Step 3 would be another new feature for cdebootstrap, namely to create tar archives.

Thanks for maintaining cdebootstrap!


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Homelessness exists not because the housing systemn is not working, but because
this is the way it works. - Peter Marcuse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20220913/44ae997b/attachment.sig>


More information about the Reproducible-builds mailing list