-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(24.04): add polkitd and dependencies #325
base: ubuntu-24.04
Are you sure you want to change the base?
Conversation
Diff of dependencies: slices/polkitd.yaml@@ -1,7 +1,4 @@
-adduser
-dbus-system-bus
-default-dbus-system-bus
-default-logind
+dbus-broker
libc6
libduktape207
libexpat1
@@ -10,6 +7,6 @@
libpolkit-agent-1-0
libpolkit-gobject-1-0
libsystemd0
-logind
-systemd-sysusers
+login
+opensysusers
xml-core slices/sgml-base.yaml@@ -1 +0,0 @@
-dpkg slices/xml-core.yaml@@ -1,2 +1 @@
-sed
sgml-base |
82afcf4
to
ae76352
Compare
ec4d62c
to
d73a648
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dep diff change: you seem to be using alternative dependencies (e.g. login
instead of logind
), dropping a few (e.g. sed
) and adding some new ones as well. Is this all intentional? If so, can you please add comments where they are being listed, explaining the rationale?
There are also some tests missing. We should aim to test at least every single executable being proposed.
@@ -0,0 +1,38 @@ | |||
package: dbus-broker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also test these slices pls?
@@ -4,6 +4,14 @@ essential: | |||
- libglib2.0-0t64_copyright | |||
|
|||
slices: | |||
bins: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you test this pls?
@@ -0,0 +1,31 @@ | |||
package: login |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please test this?
/bin/systemd-sysusers: | ||
/etc/init.d/opensysusers: | ||
/usr/bin/opensysusers-sysusers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, can you pls test them?
/usr/lib/policykit-1/polkit-agent-helper-1: | ||
/usr/lib/polkit-1/polkit-agent-helper-1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these helpers needed? Or could they belong to an additional slice?
/usr/sbin/halt: | ||
/usr/sbin/init: | ||
/usr/sbin/poweroff: | ||
/usr/sbin/reboot: | ||
/usr/sbin/runlevel: | ||
/usr/sbin/shutdown: | ||
/usr/sbin/telinit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you test these pls?
Proposed changes
Polkitd and it's dependencies are required for Ubuntu Core 24. Add the slices, and mutation scripts required to imitate what happens by postinst or perl scripts that are carried by included packages.
Two mutation scripts are added:
xml-core
which handles updating the xml catalogsgml-base
which handles updating the sgml catalogRelated issues/PRs
Requires #293 and #274 to land
Forward porting
Once this is approved I'll forward port this to 24.10
Checklist