Skip to content

Commit

Permalink
bin/ubuntu-core-initramfs: Fix systemd package file paths
Browse files Browse the repository at this point in the history
In Noble, systemd package files moved from /lib to /usr/lib, account
for that.

Signed-off-by: Juerg Haefliger <[email protected]>
  • Loading branch information
juergh committed Feb 6, 2024
1 parent dc9e042 commit 95c187f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ubuntu-core-initramfs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def install_systemd_files(dest_dir):
# * udev rules
# * Configuration for systemd-tmpfiles
# TODO: some of this can be cleaned up
to_include = re.compile(r"^/lib/systemd/system|"
to_include = re.compile(r"^(/usr)?/lib/systemd/system|"
r".*/modprobe\.d/|"
r".*/sysctl\.d/|"
r".*/rules\.d/|"
Expand Down

0 comments on commit 95c187f

Please sign in to comment.