-
Notifications
You must be signed in to change notification settings - Fork 53
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 udev slice #378
base: ubuntu-24.04
Are you sure you want to change the base?
Conversation
Diff of dependencies: slices/udev.yaml@@ -7,5 +7,3 @@
libudev1
systemd
systemd-dev
-systemd-standalone-sysusers
-systemd-sysusers |
90c6064
to
4992732
Compare
…s are only valid on arm and x86
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.
Just a few nits but it LGTM
# This provides neccesary functionality to generate the hwdb | ||
# for udev. In the postinst script the following command is run | ||
# /usr/bin/systemd-hwdb --usr update. | ||
# Currently we have the same challenge in terms of emulating what | ||
# systemd-hwdb is doing, as it's writing very carefully constructed | ||
# binary data to binary files. For more info on this we can check | ||
# PR: https://github.com/canonical/chisel-releases/pull/329 where a | ||
# similar challenge is. |
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.
# This provides neccesary functionality to generate the hwdb | |
# for udev. In the postinst script the following command is run | |
# /usr/bin/systemd-hwdb --usr update. | |
# Currently we have the same challenge in terms of emulating what | |
# systemd-hwdb is doing, as it's writing very carefully constructed | |
# binary data to binary files. For more info on this we can check | |
# PR: https://github.com/canonical/chisel-releases/pull/329 where a | |
# similar challenge is. | |
# This provides the necessary functionality to generate the hwdb | |
# for udev. In the postinst script the following command is run | |
# /usr/bin/systemd-hwdb --usr update. | |
# Currently we have the same challenge in terms of emulating what | |
# systemd-hwdb is doing, as it's writing very carefully constructed | |
# binary data to binary files. For more info on this, we can check | |
# PR: https://github.com/canonical/chisel-releases/pull/329 where a | |
# similar challenge is. |
/usr/lib/udev/rules.d/81-net-dhcp.rules: | ||
/usr/lib/udev/rules.d/90-iocost.rules: | ||
|
||
systemd-udevd: |
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.
there's more than just udevd
in this slice. Is this the right name?
/usr/lib/systemd/system/udev.service: | ||
/usr/lib/systemd/systemd-udevd: | ||
|
||
sysusers-config: |
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.
Does this make sense without systemd-sysusers
? Which is a dep missing from this PR
Proposed changes
Proposing udev as its needed for Ubuntu Core. The slices is as well tested as I think make sense currently. Systemd-udevd is difficult to test as it requires a lot more system setup, and interacts with /dev devices.
Checklist