Fixes for installer and Software app
- Added PackageKit/pkcon refresh to build process - Software app should come pre-cached - Dropped kdump plugin Anaconda package - Added end-user Anaconda storage simplified defaults - Increased default setting+requirements for /boot partition in Anaconda
This commit is contained in:
parent
ac7a4a70da
commit
388198daf4
@ -60,6 +60,7 @@ kernel-lt-tools
|
|||||||
-kernel-modules-extra
|
-kernel-modules-extra
|
||||||
-vdo
|
-vdo
|
||||||
-kmod-kvdo
|
-kmod-kvdo
|
||||||
|
-kdump-anaconda-addon
|
||||||
|
|
||||||
# Nvidia + gfx:
|
# Nvidia + gfx:
|
||||||
kmod-nvidia-latest-dkms
|
kmod-nvidia-latest-dkms
|
||||||
|
@ -5,4 +5,4 @@ zerombr
|
|||||||
# Partition clearing information
|
# Partition clearing information
|
||||||
clearpart --all
|
clearpart --all
|
||||||
# Disk partitioning information
|
# Disk partitioning information
|
||||||
part / --fstype="ext4" --size=15000
|
part / --fstype="ext4" --size=30000
|
||||||
|
@ -35,6 +35,7 @@ flatpak remote-ls &> /dev/null
|
|||||||
flatpak update
|
flatpak update
|
||||||
dnf -y makecache
|
dnf -y makecache
|
||||||
|
|
||||||
|
pkcon refresh force -c -1 -v
|
||||||
|
|
||||||
# Enable dkms service:
|
# Enable dkms service:
|
||||||
systemctl enable dkms
|
systemctl enable dkms
|
||||||
@ -47,10 +48,39 @@ echo "Defaults pwfeedback" > /etc/sudoers.d/50_feedback
|
|||||||
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/anaconda.desktop
|
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/anaconda.desktop
|
||||||
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/liveinst.desktop
|
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/liveinst.desktop
|
||||||
|
|
||||||
|
|
||||||
# Nvidia: double-check we have the latest dkms driver enabled and fully installed
|
# Nvidia: double-check we have the latest dkms driver enabled and fully installed
|
||||||
dnf -y module install nvidia-driver:latest-dkms
|
dnf -y module install nvidia-driver:latest-dkms
|
||||||
|
|
||||||
|
# Anaconda config: tweak default partition options
|
||||||
|
|
||||||
|
cat <<'EOF' >> /etc/anaconda/conf.d/05-desktop-storage-default.conf
|
||||||
|
# Make default storage more basic for desktop use
|
||||||
|
# Advanced users can obviously customize if they wish
|
||||||
|
[Storage]
|
||||||
|
|
||||||
|
default_partitioning =
|
||||||
|
/ (min 12 GiB)
|
||||||
|
swap (min 2 GiB, max 4 GiB)
|
||||||
|
|
||||||
|
default_scheme = PLAIN
|
||||||
|
|
||||||
|
file_system_type = ext4
|
||||||
|
|
||||||
|
[Storage Constraints]
|
||||||
|
min_partition_sizes =
|
||||||
|
/ 12 GiB
|
||||||
|
/boot 2 GiB
|
||||||
|
|
||||||
|
req_partition_sizes =
|
||||||
|
/ 12 GiB
|
||||||
|
/boot 2 GiB
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Tweak the Anaconda /boot partition default size - may need bigger /boot to support multiple upstream kernels
|
||||||
|
# Fun fact: /boot default is hard-coded in the python sources. Aint Anaconda great?
|
||||||
|
sed --in-place=".orig" 's/Size("1GiB")/Size("2GiB")/g' /usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/platform.py
|
||||||
|
|
||||||
|
|
||||||
# Inside-the-ISO postinstall script
|
# Inside-the-ISO postinstall script
|
||||||
# Anything put in /usr/shar/anaconda/post-scripts/*.ks will be run as a %post
|
# Anything put in /usr/shar/anaconda/post-scripts/*.ks will be run as a %post
|
||||||
# after the user installs on their system from the booted live ISO. We need to do grub boot modification
|
# after the user installs on their system from the booted live ISO. We need to do grub boot modification
|
||||||
|
Loading…
Reference in New Issue
Block a user