gnome-initial-setup:wip/live-user-mode

Last commit made on 2024-04-17
Get this branch:
git clone -b wip/live-user-mode https://git.launchpad.net/gnome-initial-setup

Branch merges

Branch information

Name:
wip/live-user-mode
Repository:
lp:gnome-initial-setup

Recent commits

be7626a... by Michael Catanzaro <email address hidden>

Update POTFILES.in

Related: #209

ec202e9... by Michael Catanzaro <email address hidden>

Fix failure to log into user account

Currently gis_driver_get_user_permissions() is guaranteed to fail
because we call it after gis_driver_save_data(), which creates the user
account. We need to call it later at the right point.

Also, let's own the user_password that we store on the summary and
install page. Even if it's not expected to change, it doesn't seem very
safe to rely on the GisDriver not deleting it.

96ac17a... by Michael Catanzaro <email address hidden>

Never skip the summary page if available

This avoids a crash when finishing the welcome page if there are no
other pages available.

d7eb5b4... by Michael Catanzaro <email address hidden>

Don't show warnings when failing to connect to gdm

This is an expected condition. We need to log it since it might be
needed when debugging, but a warning is overkill.

1c593f6... by Michael Catanzaro <email address hidden>

summary: don't crash if there is no user account to create

c96fcb4... by Michael Catanzaro <email address hidden>

assistant: assert next page exists when switching to next page

If there is no next page, then we should crash nicely on this assert
rather than not so nicely.

da764a5... by Michael Catanzaro <email address hidden>

Fix criticals in set_localed_input()

If the default input sources do not match the current input sources,
these won't be set in set_input_settings() and we shouldn't try to use
them.

Fixes: (gnome-initial-setup:41149): GLib-CRITICAL **: 10:09:25.599: g_strjoinv: assertion 'str_array != NULL' failed

cae816e... by Ray Strode <email address hidden>

gnome-initial-setup: Read /etc/sysconfig/anaconda

Just as /var/lib/gnome-initial-setup/state may show pages the user has
already answered, on Fedora, /etc/sysconfig/anaconda shows pages the user has
already answered via Anaconda.

This commit skips those from the --new-user mode as well.

4bd3eb0... by Ray Strode <email address hidden>

polkit: Add fedora specfic rules

We should probably add some way to check vendor.conf for the policy
updates instead of a hardcoded list.

f700a87... by Ray Strode <email address hidden>

initial-setup: Don't show duplicated pages between modes

It's possible a user just got asked questions in live mode
before install that they'll then get asked again on first
boot when the initial user is created.

This commit tracks that information so it doesn't get reasked.