diff --git a/debian/changelog b/debian/changelog index d8c7262..f7f373e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lubuntu-installer-prompt (24.04.6) noble; urgency=medium + + * Launch Calamares in OEM mode when "oem-config/enable=true" is passed as a + boot parameter (LP: #2063291). + + -- Simon Quigley Wed, 24 Apr 2024 00:20:14 -0500 + lubuntu-installer-prompt (24.04.5) noble; urgency=medium * Reduce desktops to 1 to prevent accidental switching. (LP: #1469362) diff --git a/scripts/start-lubuntu-live-env b/scripts/start-lubuntu-live-env index 0dbe38a..943b689 100755 --- a/scripts/start-lubuntu-live-env +++ b/scripts/start-lubuntu-live-env @@ -12,7 +12,11 @@ export QT_QPA_PLATFORMTHEME="lxqt" openbox & picom & -lubuntu-installer-prompt # This is intentionally *not* backgrounded. +if [[ $(cat /proc/cmdline) =~ "oem-config/enable=true" ]]; then + sudo -E /usr/bin/calamares-launch-oem; +else + lubuntu-installer-prompt; +fi # If it exits... killall picom killall openbox