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

Commit

Permalink
🐳 chore(recipe): remove unnecessary repos
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Sep 28, 2023
1 parent a52632c commit 13719cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
13 changes: 3 additions & 10 deletions config/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ image-version: 38
modules:
- type: files
files:
- usr:
/usr
# copy static configurations
#
# copies config/files/usr into your image's /usr
#
# configuration you wish to end up in /etc/ on the booted system
# should be added into /usr/etc/ as that is the proper "distro"
# config directory on ostree. Read more in the files module's README
- usr: /usr

- type: rpm-ostree
repos:
Expand All @@ -32,7 +24,7 @@ modules:
- type: bling
install:
- fonts
- dconf-update-service # a service unit that updates the dconf db on boot
- dconf-update-service

- type: systemd
system:
Expand All @@ -46,4 +38,5 @@ modules:
- type: script
scripts:
- openrazer.sh
- cleanup.sh
- signing.sh
8 changes: 8 additions & 0 deletions config/scripts/celanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

# This script removes unnecessary files from the original "silverblue-nvidia" image.

# Remove extra repos
ls -l /etc/yum.repos.d/
rm -rf /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
rm -rf /etc/yum.repos.d/google-chrome.repo

0 comments on commit 13719cf

Please sign in to comment.