- 19 May, 2019 5 commits
-
-
intrigeri authored
- isohybrid is available in our Vagrant build VMs. The manual build documentation is totally outdated and broken, nobody complained about it, which suggests nobody tried to follow it since 1+ years. And anyway, if isohybrid is not installed, the build will fail loudly later on. - $LB_BINARY_IMAGES is correctly set because auto/config passes "--binary-images iso" to "lb config". Checking it here brings no value and just makes things harder for anyone who would want to add support for other kinds of images. - It's been a while since we've stopped releasing source tarballs :) One can't reach auto/config via "rake build" if one is not building from Git, and building without rake is unsupported (good luck with that).
-
intrigeri authored
This version requirement is satisfied by Jessie and I doubt Tails would build in anything older. And anyway, we now only support building in Vagrant, which guarantees us we have a recent enough syslinux installed.
-
intrigeri authored
Previously we would start cloning the output later in auto/build, because we needed to do a bunch of things first, until we could figure out what the name of the build log file was. This is not the case anymore and we can thus generate a more complete build log. A future improvement would be to move this to the Rakefile or to build-tails, but that's more involved and I'm after low-risk, easy incremental improvements at the moment.
-
intrigeri authored
Our Vagrant build boxes are all Stretch nowadays.
-
intrigeri authored
This will help understand, while looking at a build failure log, what's an informational message we've intentionally printed vs. what's additional info (or noise) produced by tools we call. This convention is used in many Debian things and in some of our own source code already.
-
- 11 Feb, 2019 1 commit
-
-
intrigeri authored
By default mksquashfs will use 25% of the physical memory. So when we use the "ram" build option, build in a VM with 13GB of RAM, of which up to 12G is supposed to be used by the build tmpfs, mksquashfs will try using 13/4 = 3.25G of memory. And then it will get reaped by the OOM killer more or less occasionally depending on how much space is really used in the build tmpfs and how much memory the rest of the system is using. So let's limit the memory used by mksquashfs to 50% of the memory we allocate to the build VM, excluding the part of it that we expect tmpfs data to fill. In passing, the fact mksquashfs does not get killed every time suggests that our current BUILD_SPACE_REQUIREMENT value exceeds the real needs of a build: a value around 10 or 11G should be enough. But that will be for another commit.
-
- 15 Dec, 2018 1 commit
-
- 27 Nov, 2018 9 commits
- 14 Aug, 2018 1 commit
-
-
intrigeri authored
The project was renamed, what, 8 years ago?
-
- 27 Feb, 2018 2 commits
-
-
segfault authored
-
- 10 Nov, 2017 2 commits
-
-
intrigeri authored
The copy of the website included in the ISO image has "Posted" timestamps that apparently match when we cloned the Git repository. This is expected since we build the website with the rcs setting disabled. Normalizing timestamps before building should fix this. What's surprising though is that only a few pages seem to be affected, while I would expect that all inlined pages without an explicit meta date should trigger the exact same problem. But anyway, normalizing mtime should fix it everywhere, so if it works, let's not bother investigating this further. One potential drawback of this commit is that it may make it harder to refresh an older, cached build of the website when we reintroduce this option in the future: ikiwiki will have a hard time knowing which pages it should refresh. We'll see.
-
intrigeri authored
This should be a no-op change.
-
- 20 Oct, 2017 1 commit
-
-
anonym authored
-
- 04 Sep, 2017 1 commit
-
-
intrigeri authored
In most cases, $BUILD_BASENAME contains a timestamp, so when building twice in a row from the same commit, we could not have got the same ISO anymore.
-
- 02 Sep, 2017 1 commit
-
-
intrigeri authored
Previously, a given build from a topic branch would mix inconsistent versions of things. Most changes done in $topic_branch..$base_branch would be taken into account, but some would not, e.g. changes that affect: * everything we set up in auto/config, such as - copying tails-transform-mirror-url, gnome-shell-extension-florence-indicator - APT snapshots - debian/changelog, used by `apt-snapshots-serials prepare-build' * auto/build In practice, we've been suffering from some consequences of this problem e.g.: * ISO build failed on documentation branches based on master; * topic branches fail to build building once the APT snapshots they encode disappears, even though their base branch encodes newer & valid APT snapshots. This commit implements a cheap and partial fix: as stated on https://labs.riseup.net/code/issues/14459, the base branch merge still happens too late e.g. to take into account auto/config changes done in $topic_branch..$base_branch. Ideally we should do the base branch merge first thing in the build process, in a manner that's isolated from other build steps, so that *all* build code except the tiny script that performs the merge will be in the correct state.
-
- 22 May, 2017 1 commit
-
-
intrigeri authored
-
- 17 May, 2017 1 commit
-
- 17 Apr, 2017 1 commit
-
- 16 Apr, 2017 1 commit
-
-
intrigeri authored
-
- 16 Mar, 2017 5 commits
- 15 Mar, 2017 3 commits
- 14 Mar, 2017 3 commits
-
-
intrigeri authored
lb_chroot_resolv will "cp -a" it from the source tree, so it inherits its ownership from the whoever cloned the Git repository. This has two problems. First, this results in unsafe permissions on this file (e.g. a Vagrant build results in the 'amnesia' user having write access to it). Second, building with a different user results in a non-deterministic SquashFS. refs: #5630
-
- 20 Dec, 2016 1 commit
-
-
intrigeri authored
In current Stretch, debootstrap fails if we use eatmydata + the operation mode picked by live-build when caching is enabled.
-