mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
small fixes
This commit is contained in:
parent
af27ec8018
commit
16b7aacb50
3 changed files with 13 additions and 4 deletions
|
|
@ -2,8 +2,16 @@
|
|||
|
||||
if [[ ${VERSION} -ge 41 ]]
|
||||
then
|
||||
grep "${_FLATPAK_REPO_URL}" mnt/install/etc/anaconda/conf.d/anaconda.conf > /dev/null
|
||||
exit $?
|
||||
result=0
|
||||
grep "^[Payload]" mnt/install/etc/anaconda/conf.d/anaconda.conf > /dev/null || {
|
||||
echo "Missing [Payload] header"
|
||||
result=1
|
||||
}
|
||||
grep "^flatpak_remote = ${FLATPAK_REMOTE_NAME} ${_FLATPAK_REPO_URL}" mnt/install/etc/anaconda/conf.d/anaconda.conf > /dev/null || {
|
||||
echo "Missing flatpak_remote option"
|
||||
result=1
|
||||
}
|
||||
exit ${result}
|
||||
fi
|
||||
|
||||
add_line=$(grep flatpak_manager.add_remote mnt/install/usr/lib64/python*/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/flatpak_installation.py)
|
||||
|
|
|
|||
|
|
@ -14,4 +14,5 @@
|
|||
ansible.builtin.assert:
|
||||
that:
|
||||
- services_state['ansible_facts']['services']['flatpak-add-fedora-repos.service']['status'] == 'disabled'
|
||||
fail_msg: 'flatpak-add-fedora-repos.service is not disabled'
|
||||
fail_msg: 'flatpak-add-fedora-repos.service is not disabled'
|
||||
success_msg: 'flatpak-add-fedora-repos.service is correctly disabled'
|
||||
Loading…
Add table
Add a link
Reference in a new issue