Boot the mate image into install-station
oem was a placeholder for the install-station work, and mate is where it
belongs, so the two merge. mate picks up install-station and
setup-station in place of gbi, and oem.sh along with its package lists
goes away.
The image boots into install-station rather than straight to the
desktop. Choosing Try quits the installer, rc carries on, and lightdm
autologins the live user into mate. That replaces the gettytab and ttys
autologin along with the .zshrc startx it relied on, so mate stops
calling community_setup_autologin. The other three desktops still use
it and are untouched, which is also why lightdm_enable is set here
rather than in build.sh.
xconfig and install_station are enabled through /etc/rc.conf.d rather
than /etc/rc.conf. cpdup carries the live root onto the target, so
pc-sysinstall has to undo this, and one file it can remove beats editing
the user's rc.conf.
[5 lines not shown]
Disable diskid and gptid GEOM labels on the live media
kern.geom.label.disk_ident and kern.geom.label.gptid default to enabled,
so GEOM tastes a raw disk twice and adaX coexists with
diskid/DISK-<serial>. When a diskid-derived provider is opened for
exclusive write, such as by an imported pool, GEOM withdraws the raw
partition geom for the whole disk. gpart(8) then fails on that disk and
its partition device nodes disappear.
kern.disks still reports the raw name, so the installer enumerates the
disk, gets nothing back from gpart, and offers a live pool as free
space. Disabling both labels on the live kernel keeps enumeration on raw
names and also lets the installer read disks that are already in this
state from an earlier install or a dual-boot setup.
Stop shipping /etc/wall_cmos_clock in the image
The file makes the kernel read the RTC as local time, so the clock is
off by one UTC offset on any machine whose RTC keeps UTC. That applied
to the live session and to every install, since the install is a cpdup
of the live system and nothing in the installer revisited the file.
pc-sysinstall now creates or removes it from the utcClock= config key,
so the image no longer has to pick a side, and the live session gets a
correct clock while the installer is running. Machines that really do
keep local time in the RTC, which in practice means dual-booting
Windows, are handled by the installer front-end instead.
Resolves: ghostbsd/issues#390
Stop shipping /etc/wall_cmos_clock in the image
The file makes the kernel read the RTC as local time, so the clock is
off by one UTC offset on any machine whose RTC keeps UTC. That applied
to the live session and to every install, since the install is a cpdup
of the live system and nothing in the installer revisited the file.
pc-sysinstall now creates or removes it from the utcClock= config key,
so the image no longer has to pick a side, and the live session gets a
correct clock while the installer is running. Machines that really do
keep local time in the RTC, which in practice means dual-booting
Windows, are handled by the installer front-end instead.
Resolves: ghostbsd/issues#390
Claude-Session: https://claude.ai/code/session_017h6mzC2bNskrWN2bHoYLzs
Remove xlibre-xf86-input-synaptics from drivers list
Only pre-2010 era laptops need this driver; modern hardware works
fine with the default input drivers.