Conversation
Debian bookworm ships with PHP 8.2 but we still need 7.4. This commit can be reverted once Tatoeba supports PHP 8.
Debian ships with a composer package that depends on some PHP symphony packages that only work with PHP 8, so we need to use a different source. This commit can be reverted once Tatoeba supports PHP 8.
The debian package transifex-client no longer exists in bookworm, so we need to get it from a different source.
The Manticore version we use (3.3.0) depends on libssl1.1, which is not distributed any more on Debian bookworm. Since we need to update Manticore at some point anyway, I’ll just update it now so that it solves this dependency problem. The language packs are included in the main package. Closes #3127.
Unattended upgrades are enabled and nice, but they have the side-effect of adding a new kernel while we are building tatovm. To work around this issue, we just stop them at the beginning of build process, and they will get started again after the next reboot, that is to say when tatovm consumers will spin their instance of tatovm.
Separate installation of runtime dependencies and build dependencies, and remove build dependencies at the end. It is quite tricky to actually remove all build dependencies because "apt-get install" followed by "apt-get remove" will leave a lot of packages installed, so we rely on "dpkg --get-selections" and "dpkg --set-selections" to save and restore the entire list of installed packages.
Building external tools (sinoparserd, Tatodetect, tatowiki and tatomecab) requires quite some RAM, and sometimes the compilation process is killed by OOM killer. To work around this issue, we get some extra RAM by building external tools *before* installing Manticore, Mariadb, nginx and php-fpm. There is just tatowiki that requires nginx to be installed because it installs an nginx configuration file.
Executing "apt-get dselect-upgrade" in a9f4f01 installs the latest kernel, resulting in two kernels installed. We want to only keep one kernel to save disk space, so this commit adds an extra step to switch to the newly installed kernel by rebooting, and to remove any old kernel.
A newer version of the underlying library that generates localized dates (I guess it’s libicu) now inserts a non-breaking space (U+202F) between the time and "AM" or "PM".
There is this annoying warning everytime you run apt-get update: > N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware' > N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split I figured out tatovm does not use any non-free package, so we might as well remove it from source.list and try to keep tatovm from using proprietary components now and in the future.
Manticore automatically starts on boot, but on the very first `vagrant up` it will initially fail to read its configuration file, because the config is autogenerated by CakePHP, and CakePHP is not there yet. CakePHP is installed during initial provisioning with ./tools/codeinit.py, so we restart manticore right after that to make sure it starts.
* OS updated to Debian bookworm * Manticore updated to version 25.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work to get #3259 done.