Install bluebuild logo
This commit is contained in:
@@ -14,7 +14,7 @@ stages:
|
|||||||
build-image:
|
build-image:
|
||||||
stage: build
|
stage: build
|
||||||
interruptible: true
|
interruptible: true
|
||||||
image: ghcr.io/blue-build/cli:ci-driver
|
image: ghcr.io/blue-build/cli:finish-signing-driver
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
parallel:
|
parallel:
|
||||||
|
|||||||
BIN
config/files/bluebuild-logo/watermark.png
Normal file
BIN
config/files/bluebuild-logo/watermark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
18
config/scripts/initramfs.sh
Normal file
18
config/scripts/initramfs.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Only install cliwrap if it's not already installed
|
||||||
|
# Usually needed when doing kernel-related changes with classic Fedora tools
|
||||||
|
# so those tools are aware of ostree nature of Fedora Atomic & adapt to it
|
||||||
|
# https://coreos.github.io/rpm-ostree/cliwrap/
|
||||||
|
if [[ ! -f "/usr/libexec/rpm-ostree/wrapped/dracut" ]]; then
|
||||||
|
echo "Installing cliwrap"
|
||||||
|
rpm-ostree cliwrap install-to-root /
|
||||||
|
else
|
||||||
|
echo "Cliwrap is already installed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
|
||||||
|
/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "${QUALIFIED_KERNEL}" --reproducible -v --add ostree -f "/lib/modules/${QUALIFIED_KERNEL}/initramfs.img"
|
||||||
|
chmod 0600 "/lib/modules/${QUALIFIED_KERNEL}/initramfs.img"
|
||||||
7
recipes/common/bluebuild-logo.yml
Normal file
7
recipes/common/bluebuild-logo.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
modules:
|
||||||
|
- type: files
|
||||||
|
files:
|
||||||
|
- bluebuild-logo: /usr/share/plymouth/themes/spinner/
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- initramfs.sh
|
||||||
@@ -13,3 +13,4 @@ modules:
|
|||||||
nerd-fonts:
|
nerd-fonts:
|
||||||
- JetBrainsMono
|
- JetBrainsMono
|
||||||
- NerdFontsSymbolsOnly
|
- NerdFontsSymbolsOnly
|
||||||
|
- from-file: common/bluebuild-logo.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user