Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Merge branch 'live' into blue-build
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Feb 4, 2024
2 parents 1b509a9 + efbc473 commit a58b85b
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 49 deletions.
3 changes: 2 additions & 1 deletion config/common_modules/scripts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
type: script
scripts:
- fix-signing.sh
- file-permissions.sh
- printer-drivers.sh
- power-scheduler.sh
- systemwide-themes.sh
- signing.sh
12 changes: 10 additions & 2 deletions config/files/usr/share/ublue-os/firstboot/yafti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ screens:
description: Other uncategorized applications.
default: false
packages:
- ZapZap: com.rtosta.zapzap
- Caprine: com.sindresorhus.Caprine
- Materialgram: io.github.kukuruzka165.materialgram
- Telegram: org.telegram.desktop
- Upscaler: io.gitlab.theevilskeleton.Upscaler

can-we-harden-your-kargs:
Expand All @@ -91,6 +90,15 @@ screens:
actions:
- run: pkexec ujust configure-grub hide

can-we-append-kargs-nvidia:
source: yafti.screen.consent
values:
title: NVIDIA Kernel Parameters
description: |
This step will append needed kernel parameters for NVIDIA drivers. If you have an NVIDIA GPU, you should run this.
actions:
- run: pkexec ujust configure-nvidia kargs

final-screen:
source: yafti.screen.title
values:
Expand Down
6 changes: 6 additions & 0 deletions config/scripts/fix-signing.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

# Tell build process to exit if there are any errors.
set -euo pipefail

cp "/usr/etc/containers/$IMAGE_NAME.pub" "/usr/etc/pki/containers/$IMAGE_NAME.pub"
13 changes: 13 additions & 0 deletions config/scripts/printer-drivers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Tell build process to exit if there are any errors.
set -euo pipefail

RPM_ROOT="/tmp/rpms"

wget -O "${RPM_ROOT}/brother-hl-1112E-CUPS.rpm" https://support.brother.com/g/b/files/dlf/dlf007073/hl1110cupswrapper-3.0.1-1.i386.rpm
wget -O "${RPM_ROOT}/brother-hl-1112E-LPR.rpm" https://support.brother.com/g/b/files/dlf/dlf007071/hl1110lpr-3.0.1-1.i386.rpm

cd "${RPM_ROOT}" || exit

rpm-ostree install brother-hl-1112E-CUPS.rpm brother-hl-1112E-LPR.rpm
46 changes: 0 additions & 46 deletions config/scripts/signing.sh

This file was deleted.

3 changes: 3 additions & 0 deletions config/silverflow-nvidia-39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ modules:
- from-file: common_modules/bling.yml
- from-file: common_modules/systemd.yml
- from-file: common_modules/image-cleaner.yml

- type: signing

- from-file: common_modules/scripts.yml
3 changes: 3 additions & 0 deletions config/silverflow-nvidia-gts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ modules:
- from-file: common_modules/bling.yml
- from-file: common_modules/systemd.yml
- from-file: common_modules/image-cleaner.yml

- type: signing

- from-file: common_modules/scripts.yml

0 comments on commit a58b85b

Please sign in to comment.