Add Ubuntu/Debian installer and auto-detection#15
Add Ubuntu/Debian installer and auto-detection#15Neil-Lunavat wants to merge 2 commits intoBatuhan4:mainfrom
Conversation
Adds ubuntu-install.sh, a full installer for Ubuntu and Debian-based distros mirroring the Fedora installer but using apt. Tested on Ubuntu 24.04 LTS (GNOME 46) with an HP Victus 16. - install.sh now auto-detects Ubuntu/Debian via /etc/os-release and falls back to apt-get detection, routing to ubuntu-install.sh - Dependencies: meson, ninja-build, libgtk-4-dev, linux-headers-$(uname -r) - Remaining steps identical to the Fedora path: DKMS, meson build, udev rules, systemd services, GNOME extension Note: Secure Boot users must either disable Secure Boot or enroll the shim MOK key (mokutil --import /var/lib/shim-signed/mok/MOK.der) before the DKMS module will load.
|
@Neil-Lunavat I pushed a follow-up commit onto this PR branch ( Changes in that commit:
Can you please re-test on the Ubuntu 24.04 machine you used originally, ideally from a clean state, and confirm these specifically?
If you have access to another Debian-based distro as well, one extra smoke test there would help validate the broader auto-detection claim. |
|
Hi @Batuhan4 tried the fix, after u fixed the DKMS detection, and the one before, neither of them worked both resulting in the same error """
Deleting module hp-wmi-fan-and-backlight-control/0.0.2 completely from the DKMS tree. Building module(s)... done. |
Summary
ubuntu-install.sh: a full installer for Ubuntu/Debian-based distros, mirroring the Fedora installer but usingapt. Tested on Ubuntu 24.04 LTS with GNOME 46 on an HP Victus 16.install.shnow auto-detects Ubuntu/Debian via/etc/os-release(matchingubuntu,debian,linuxmint,pop) with anapt-getfallback, routing toubuntu-install.sh.What the Ubuntu installer does
Same pipeline as
fedora-install.sh:apt-get:meson,ninja-build,libgtk-4-dev,linux-headers-$(uname -r),dkms,g++,gitvictus/victus-backendgroups andvictus-backendsystem userhp-wmi-fan-and-backlight-controlDKMS modulevictus-backend.serviceHardware tested
Secure Boot note
Users with Secure Boot enabled must either:
sudo mokutil --import /var/lib/shim-signed/mok/MOK.der, then reboot and confirm in the MokManager screenTest plan
sudo ./install.shcompletes without errors on Ubuntu 24.04systemctl is-active victus-backend.servicereturnsactivegnome-extensions enable victus-control@victusenables the panel extension