distro_fedora: Add support for spins

This commit is contained in:
timoxa0 2024-11-03 16:55:16 +05:00
parent c0bb7ba586
commit 374c389c84

View file

@ -83,7 +83,7 @@ prepare_system()
log "Removing generic kernel and firmware" internal log "Removing generic kernel and firmware" internal
rm -rf "$rootdir/usr/lib/kernel/install.d/10-devicetree.instal" rm -rf "$rootdir/usr/lib/kernel/install.d/10-devicetree.instal"
chroot "$rootdir" /usr/bin/bash -c "rpm --noscripts -e gnome-initial-setup qcom-firmware atheros-firmware brcmfmac-firmware amd-ucode-firmware kernel-core nvidia-gpu-firmware kernel kernel-modules kernel-modules-core intel-audio-firmware cirrus-audio-firmware nvidia-gpu-firmware linux-firmware linux-firmware-whence intel-gpu-firmware amd-gpu-firmware libertas-firmware mt7xxx-firmware nxpwireless-firmware realtek-firmware tiwilink-firmware" || { chroot "$rootdir" /usr/bin/bash -c "rpm --noscripts -e qcom-firmware atheros-firmware brcmfmac-firmware amd-ucode-firmware kernel-core nvidia-gpu-firmware kernel kernel-modules kernel-modules-core intel-audio-firmware cirrus-audio-firmware nvidia-gpu-firmware linux-firmware linux-firmware-whence intel-gpu-firmware amd-gpu-firmware libertas-firmware mt7xxx-firmware nxpwireless-firmware realtek-firmware tiwilink-firmware" || {
log "Failed to remove generic kernel and firmware" ierror log "Failed to remove generic kernel and firmware" ierror
return 1 return 1
} }