based on what's done in bluefin & https://github.com/ublue-os/yafti#running-from-a-containerfile
13 lines
455 B
Bash
13 lines
455 B
Bash
# remove the default firefox (from fedora) in favor of the flatpak
|
|
rpm-ostree override remove firefox firefox-langpacks
|
|
|
|
echo "-- Installing RPMs defined in recipe.yml --"
|
|
rpm_packages=$(yq '.rpms[]' < /etc/ublue-recipe.yml)
|
|
for pkg in $rpm_packages; do \
|
|
echo "Installing: ${pkg}" && \
|
|
rpm-ostree install $pkg; \
|
|
done
|
|
echo "---"
|
|
|
|
# install yafti to install flatpaks on first boot, https://github.com/ublue-os/yafti
|
|
pip install --prefix=/usr yafti |