Skip to content

Commit

Permalink
ensure flatpak is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonN3 authored Oct 29, 2024
1 parent 4352624 commit 03fb874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions flatpaks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ repo: script.sh

script.sh:
cat << EOF > script.sh
dnf install -y flatpak
mkdir -p /flatpak/flatpak /flatpak/triggers
mkdir /var/tmp || true
chmod -R 1777 /var/tmp
Expand Down
1 change: 1 addition & 0 deletions lorax_templates/flatpak_set_repo.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
% if int(version) >= 41:
append etc/anaconda/conf.d/anaconda.conf "[Payload]"
append etc/anaconda/conf.d/anaconda.conf "flatpak_remote = ${flatpak_remote_name} ${_flatpak_repo_url}"
#replace "fedora oci+https://registry.fedoraproject.org" "${flatpak_remote_name} ${_flatpak_repo_url}" etc/anaconda/anaconda.conf
% else:
replace "flatpak_manager\.add_remote\(\".*\", \".*\"\)" "flatpak_manager.add_remote(\"${flatpak_remote_name}\", \"${_flatpak_repo_url}\")" /usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/flatpak_installation.py
replace "flatpak_manager\.replace_installed_refs_remote\(\".*\"\)" "flatpak_manager.replace_installed_refs_remote(\"${flatpak_remote_name}\")" /usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/flatpak_installation.py
Expand Down

0 comments on commit 03fb874

Please sign in to comment.