Switch to non-koji chromium

This commit is contained in:
qoijjj
2023-12-04 19:04:43 -08:00
parent dadc1ece43
commit d69f1c8a24
4 changed files with 3 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ Hardening applied:
- Replacing bubblewrap with bubblewrap-suid so flatpak can be used without unprivileged user namespaces - Replacing bubblewrap with bubblewrap-suid so flatpak can be used without unprivileged user namespaces
- Sets numerous hardening kernel parameters (Inspired by [Madaidan's Hardening Guide](https://madaidans-insecurities.github.io/guides/linux-hardening.html)) - Sets numerous hardening kernel parameters (Inspired by [Madaidan's Hardening Guide](https://madaidans-insecurities.github.io/guides/linux-hardening.html))
- Installs and enables [hardened_malloc](https://github.com/GrapheneOS/hardened_malloc) globally - Installs and enables [hardened_malloc](https://github.com/GrapheneOS/hardened_malloc) globally
- Installing Chromium from the koji updates-testing repo to always have the latest version of chromium, the stable chromium package lags behind on security patches ([Why chromium?](https://grapheneos.org/usage#web-browsing)) - Installing Chromium into the base image ([Why chromium?](https://grapheneos.org/usage#web-browsing))
## Why ## Why

View File

@@ -20,6 +20,7 @@ install:
- koji - koji
- bubblewrap-suid - bubblewrap-suid
- bubblejail - bubblejail
- chromium
remove: remove:
- firefox - firefox

View File

@@ -3,4 +3,3 @@ scripts:
# this sets up the proper policy & signing files for signed images to work # this sets up the proper policy & signing files for signed images to work
- signing.sh - signing.sh
- cron.sh - cron.sh
- chromium.sh

View File

@@ -1,12 +0,0 @@
#!/usr/bin/env bash
# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail
echo "Installing chromium from koji updates"
koji download-build --arch=x86_64 $(koji latest-build f39-updates chromium | awk 'NR==3 {print $1}')
rm chromedriver-*.rpm
rm chromium-headless-*.rpm
rpm-ostree install *.rpm