Skip to content

Commit d772273

Browse files
committed
Handle lack of policykit-1 in Debian Trixie base module #260
1 parent 16ccb1f commit d772273

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/modules/base/start_chroot_script

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ if [ "${BASE_DISTRO}" == "ubuntu" ]; then
3939

4040
apt_update_skip
4141
apt-get install -y net-tools wireless-tools dhcpcd5
42-
if [ $( is_in_apt policykit-1 ) -eq 1 ]; then
43-
apt-get -y install policykit-1
42+
if [ $( is_in_apt polkitd ) -eq 1 ]; then
43+
apt-get -y install polkitd
44+
fi
45+
if [ $( is_in_apt pkexec ) -eq 1 ]; then
46+
apt-get -y install pkexec
4447
fi
4548

4649
# prevent any installed services from automatically starting

0 commit comments

Comments
 (0)