diff --git a/mkosi.extra/usr/bin/_kde-linux-live-setup b/mkosi.extra/usr/bin/_kde-linux-live-setup index cfd4e3c..7991d13 100755 --- a/mkosi.extra/usr/bin/_kde-linux-live-setup +++ b/mkosi.extra/usr/bin/_kde-linux-live-setup @@ -52,6 +52,12 @@ cat << EOF > /home/live/.config/kwalletrc Enabled=false EOF +# Allow sudo in the live environment for troubleshooting +mkdir -p /etc/sudoers.d +cat << EOF > /etc/sudoers.d/04_live +%wheel ALL=(ALL:ALL) NOPASSWD: ALL +EOF + cp /usr/share/applications/calamares.desktop /home/live/Desktop/ chmod +x /home/live/Desktop/calamares.desktop # without this there'd be a dialog asking if it really should execute