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 7, 2024
1 parent b973e3d commit 5bbd908
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 5bbd908

Please sign in to comment.