Bugzilla – Bug 1218367
kalpa-firstboot crashes after fresh install
Last modified: 2024-02-01 20:53:50 UTC
Created attachment 871540 [details] fixed kalpa-firstboot Just did a fresh install of openSUSE Kalpa and the firstboot script (for installing the flatpak packages) crashed. To fix this I applied the following changes to kalpa-firstboot, see also the attached file. I tested it by copying /usr/bin/kalpa-firstboot to my home directory, edited there as below and than ran it from the terminal. >diff kalpa-firstboot /usr/bin/kalpa-firstboot >>10c10 >< qdbus-qt5 $dbusRef setLabelText "$label" >--- >> qdbus-qt5 "$dbusRef" setLabelText "$label" >12,13c12,13 >< if eval "$@"; then >< qdbus-qt5 $dbusRef value "$step" >--- >> if "$@"; then >> qdbus-qt5 "$dbusRef" Set "" value "$step" >21c21 >< run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user >--if-not-exists flathub /usr/share/kalpa/flathub.flatpakrepo >--- >> run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user >--if-not-exists flathub /usr/share/microos-desktop/flathub.flatpakrepo >30c30 >< qdbus-qt5 $dbusRef close >--- >> qdbus-qt5 "$dbusRef" close
There is now an updated version at https://download.opensuse.org/repositories/devel:/microos:/kalpa/openSUSE_Tumbleweed/noarch/plasma-branding-Kalpa-20231227-4.1.noarch.rpm Please give it a test
The patch is still failing. Having copied the changes made by Vincent to a local file in home and running diff I get the following:- diff ./kalpa-firstboot /usr/bin/kalpa-firstboot 12c12 < if eval "$@"; then --- > if "$@"; then as soon as the eval is added in it runs without error
(In reply to Robin Shepheard from comment #2) > The patch is still failing. Having copied the changes made by Vincent to a > local file in home and running diff I get the following:- > > diff ./kalpa-firstboot /usr/bin/kalpa-firstboot > 12c12 > < if eval "$@"; then > --- > > if "$@"; then > > as soon as the eval is added in it runs without error Just pushed the changes with the eval added, please give it a try
(In reply to Shawn Dunn from comment #3) > (In reply to Robin Shepheard from comment #2) > > The patch is still failing. Having copied the changes made by Vincent to a > > local file in home and running diff I get the following:- > > > > diff ./kalpa-firstboot /usr/bin/kalpa-firstboot > > 12c12 > > < if eval "$@"; then > > --- > > > if "$@"; then > > > > as soon as the eval is added in it runs without error > > Just pushed the changes with the eval added, please give it a try Installed the 5.1 rpm (https://download.opensuse.org/repositories/devel:/microos:/kalpa/openSUSE_Tumbleweed/noarch/plasma-branding-Kalpa-20231227-5.1.noarch.rpm) in a fresh install and after that everything worked as expected!
Submitted to Factory for review: https://build.opensuse.org/request/show/1135523
Accepted into Factory a while ago, I'm just slow.