mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-25 06:25:04 +00:00
Switch to non-koji chromium
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ install:
|
|||||||
- koji
|
- koji
|
||||||
- bubblewrap-suid
|
- bubblewrap-suid
|
||||||
- bubblejail
|
- bubblejail
|
||||||
|
- chromium
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
- firefox
|
- firefox
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user