You've already forked fedora-bootc
Further reduce. Re-remove system-installed Firefox
Some checks failed
Build container image / Build and push image (push) Failing after 3m52s
Some checks failed
Build container image / Build and push image (push) Failing after 3m52s
This commit is contained in:
@@ -33,7 +33,7 @@ dnf5 config-manager setopt fedora-multimedia.priority=90
|
|||||||
|
|
||||||
# Remove Fedora's package that enforces their own (filtered) version of the
|
# Remove Fedora's package that enforces their own (filtered) version of the
|
||||||
# flathub repo is present, as-well as the system-installed Firefox as I prefer to use the Flatpak version
|
# flathub repo is present, as-well as the system-installed Firefox as I prefer to use the Flatpak version
|
||||||
dnf5 remove -y fedora-flathub-remote # firefox firefox-langpacks
|
dnf5 remove -y fedora-flathub-remote firefox firefox-langpacks
|
||||||
|
|
||||||
# Add Flathub to the image for eventual application
|
# Add Flathub to the image for eventual application
|
||||||
mkdir -p /etc/flatpak/remotes.d/
|
mkdir -p /etc/flatpak/remotes.d/
|
||||||
@@ -144,14 +144,14 @@ if [ -f /etc/passwd ] || [ -f /etc/group ]; then
|
|||||||
echo "Warning: Make sure processed users and groups are from installed programs!"
|
echo "Warning: Make sure processed users and groups are from installed programs!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create defaults for /etc/passwd, /etc/group
|
# # Create defaults for /etc/passwd, /etc/group
|
||||||
cat <<EOT >/etc/passwd
|
# cat <<EOT >/etc/passwd
|
||||||
root:x:0:0:root:/root:/bin/bash
|
# root:x:0:0:root:/root:/bin/bash
|
||||||
EOT
|
# EOT
|
||||||
cat <<EOT >/etc/group
|
# cat <<EOT >/etc/group
|
||||||
root:x:0:
|
# root:x:0:
|
||||||
wheel:x:10:
|
# wheel:x:10:
|
||||||
EOT
|
# EOT
|
||||||
|
|
||||||
# Extra lock files created by container processes that might cause issues
|
# Extra lock files created by container processes that might cause issues
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
|||||||
Reference in New Issue
Block a user