Use snapshot.debian.org to build sysroots reproducibly |
|||||
Issue descriptionCurrently, an implicit input to the sysroot build scripts is the entire current state of packages.debian.org. This makes it difficult to reproduce a given sysroot--running the script again at a later date will produce a different sysroot. snapshot.debian.org is an official mirror of historical snapshots of the debian package archive. It would be possible to use the snapshot mirror to make the sysroot build process reproducible, which would be useful for embedders and other non-Chrome usages of the Chromium sysroot. In particular, Electron rebuilds Chromium's sysroot in order to add the 'libnotify' package, and we frequently run into issues where packages have been updated in Debian since the last sysroot build, and have additional dependencies. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912524 for some potential issues with using snapshot.debian.org from AWS.
,
Dec 7
Tentatively recomponentizing under Build; please update as appropriate. Thanks!
,
Dec 7
,
Dec 14
,
Dec 14
Hey Thomas, let me know if there's anything I can do to help out :)
,
Dec 14
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f4b35a257dd1d152c6ea4ee389f8d0367b992466 commit f4b35a257dd1d152c6ea4ee389f8d0367b992466 Author: Tom Anderson <thomasanderson@chromium.org> Date: Fri Dec 14 23:30:52 2018 Make sysroot builds reproducible BUG= 913061 R=thestig CC=jeremya Change-Id: I40da9ac1fea6f23ed2cc3bf8d9a121cd9ed2be5b Reviewed-on: https://chromium-review.googlesource.com/c/1378965 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Jeremy Apthorp <jeremya@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#616872} [modify] https://crrev.com/f4b35a257dd1d152c6ea4ee389f8d0367b992466/build/linux/sysroot_scripts/build_and_upload.py [modify] https://crrev.com/f4b35a257dd1d152c6ea4ee389f8d0367b992466/build/linux/sysroot_scripts/sysroot-creator-sid.sh [modify] https://crrev.com/f4b35a257dd1d152c6ea4ee389f8d0367b992466/build/linux/sysroot_scripts/sysroot-creator.sh [add] https://crrev.com/f4b35a257dd1d152c6ea4ee389f8d0367b992466/build/linux/sysroot_scripts/update-archive-timestamp.sh
,
Dec 14
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by jeremya@chromium.org
, Dec 7