Files
ostree-quarks/layers/build.sh
mitchejj fe22625fac Multiple changes
ng-buid
  - stop building f38
  - set f39 to stable (log overdue)
  - enable f40 (beta)

layers/build
  - stable is now 39
  - beta is now 40
  - rawhide is now 41

beaker/hyprland
  - add hypridle & lock
  - adding plugins back (-git for rawhide)

beaker/rpmfussion
  - the good intel and amd media codec drivers
  - getting the good (full) ffmpeg
  - still holding off on the additional codec's
2024-02-22 13:53:03 -05:00

65 lines
1.7 KiB
Bash
Executable File

#!/bin/env sh
set -ouex pipefail
export FEDORA_STABLE=39
export FEDORA_BETA=40
export RAWHIDE=41
# Containerfile will copy:
# override: files of packages to remove
# install: files of packages to install
# repo: scripts to add repo's and install related packages
# build.sh: this file
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-cisco-openh264.repo
########################################
# Overrides
########################################
# taking in a list of various overides, checking to see if they are installed
# if they are not ignore them
# echo out the list of items to remove
# remove them
# OVERIDE_CANIODATES=($(cat /tmp/override/**))
# OVERRIDE=($(rpm -qa --queryformat='%{NAME} ' ${OVERIDE_CANIODATES[@]}))
# echo 'Packages that where not removed'
# Should feed only what was sent thru rpm-ostree override remove to make this
# check but using the whole data set seems like a nice double check
# echo $(rpm -qa --queryformat='%{NAME} ' $(cat /tmp/override/**))
# rm -r /tmp/override/
########################################
OVERRIDE=($(rpm -qa --queryformat='%{NAME} ' $(cat /tmp/override/**)))
echo ${OVERRIDE[@]}
rpm-ostree override remove ${OVERRIDE[@]}
unset OVERRIDE
########################################
# Adding repo's & install
########################################
REPOS=($(ls /tmp/repos/))
echo ${REPOS[@]}
for s in "${REPOS[@]}" ; do
/tmp/repos/$s
done
unset REPOS
########################################
# Install
########################################
cat /tmp/install/** | xargs rpm-ostree install
rm -r /tmp/install
########################################
# Build Scrips
########################################
/tmp/build.sh.d/nerd-font.sh