aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio <sergiotarxz@posteo.net>2026-08-24 15:35:24 +0200
committerSergio <sergiotarxz@posteo.net>2026-08-24 15:35:24 +0200
commit26ce6ab9a96d08b4fa8ce4a59c4c688f02c12f73 (patch)
tree444f122990e207315551025cc71d7b676f40cd52
parent610c74f23812063097d4af0695dd1d91b21263a4 (diff)
hotfix 2
-rw-r--r--lib/AlgaOS/Installer/GUI.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/AlgaOS/Installer/GUI.pm b/lib/AlgaOS/Installer/GUI.pm
index e1ca51d..abe7217 100644
--- a/lib/AlgaOS/Installer/GUI.pm
+++ b/lib/AlgaOS/Installer/GUI.pm
@@ -643,6 +643,7 @@ EOF
excfailexit qw{systemctl enable cronie};
excfailexit qw{systemctl enable bluetooth};
excfailexit qw{systemctl enable chronyd};
+ excfailexit qw{systemctl --global enable pipewire.socket pipewire-pulse.socket wireplumber.service};
if ($timezone) {
excfailexit qw{ln -svf}, "../usr/share/zoneinfo/$timezone",
'/etc/localtime';
@@ -665,9 +666,11 @@ EOF
}
my $sudoers_dir = '/etc/sudoers.d';
excfailexit qw{mkdir -pv}, $sudoers_dir;
- open $fh, '>', "$sudoers_dir/algaos";
- say $fh "user ALL=(ALL) NOPASSWD: ALL";
- close $fh;
+ if ($username) {
+ open $fh, '>', "$sudoers_dir/algaos";
+ say $fh "$username ALL=(ALL) NOPASSWD: ALL";
+ close $fh;
+ }
excfailexit
"rsync -a --mkpath /boot/kernel* /boot/initramfs* /boot/recovery/";
my $grub_dir = "/boot/grub";