Skip to content
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

bin/ubuntu-core-initramfs: Fix systemd package file paths #231

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

juergh
Copy link
Member

@juergh juergh commented Feb 6, 2024

In Noble, systemd package files moved from /lib to /usr/lib, account for that.

Copy link
Member

@alfonsosanchezbeato alfonsosanchezbeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine as preparation for future changes, but currently I do not see any matches if I run:
dpkg -L systemd systemd-sysv | grep /usr/lib/systemd/system
in noble.

Or am I missing something? (to be clear I still think this should be merged even without current matches).

Also, could you please rebase to have working tests?

@juergh
Copy link
Member Author

juergh commented Feb 7, 2024

255.2-3ubuntu2 from proposed:

snapcraft-pi-kernel-on-arm64-for-arm64-431320 ../project# dpkg -l systemd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Architecture Description
+++-==============-==============-============-=================================
ii  systemd        255.2-3ubuntu2 arm64        system and service manager
snapcraft-pi-kernel-on-arm64-for-arm64-431320 ../project# dpkg -L systemd | grep /usr/lib/systemd/system | head
/usr/lib/systemd/system
/usr/lib/systemd/system/basic.target
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/bluetooth.target
/usr/lib/systemd/system/boot-complete.target
/usr/lib/systemd/system/console-getty.service
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/cryptsetup-pre.target
/usr/lib/systemd/system/cryptsetup.target
/usr/lib/systemd/system/debug-shell.service

In Noble, systemd package files moved from /lib to /usr/lib, account
for that.

Signed-off-by: Juerg Haefliger <[email protected]>
Copy link
Member

@alfonsosanchezbeato alfonsosanchezbeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, so this is now happening in proposed. Thanks for this, approving.

@alfonsosanchezbeato alfonsosanchezbeato merged commit 1ceb81c into canonical:main Feb 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants