Remove initial setup from fedora
This commit is contained in:
parent
e6b30c3e5a
commit
417c88cab8
|
@ -3,7 +3,18 @@ name="FedoraKDESpin41"
|
||||||
imgver="41-$(date '+%Y-%m-%d')"
|
imgver="41-$(date '+%Y-%m-%d')"
|
||||||
zram="y"
|
zram="y"
|
||||||
|
|
||||||
pre_install=()
|
pre_install()
|
||||||
|
{
|
||||||
|
chroot "$imageroot" /usr/bin/bash -c "rpm --noscripts -e kernel-modules-extra xl2tpd NetworkManager-l2tp plasma-nm-l2tp" || {
|
||||||
|
log "Failed to remove generic kernel and firmware" ierror
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
log "Removing initial setup" internal
|
||||||
|
chroot "$imageroot" /usr/bin/bash -c "rpm --noscripts -e anaconda-core anaconda-tui anaconda-gui anaconda-widgets initial-setup initial-setup-gui initial-setup-gui-wayland-plasma" || {
|
||||||
|
log "Failed to remove initial setup" ierror
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
base_system()
|
base_system()
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,4 +12,7 @@ base_system()
|
||||||
|
|
||||||
packages=()
|
packages=()
|
||||||
|
|
||||||
post_install=()
|
post_install()
|
||||||
|
{
|
||||||
|
chroot "$imageroot" /usr/bin/bash -c "rpm --noscripts -e gnome-initial-setup"
|
||||||
|
}
|
||||||
|
|
|
@ -12,4 +12,7 @@ base_system()
|
||||||
|
|
||||||
packages=()
|
packages=()
|
||||||
|
|
||||||
post_install=()
|
post_install()
|
||||||
|
{
|
||||||
|
chroot "$imageroot" /usr/bin/bash -c "rpm --noscripts -e gnome-initial-setup"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue