BundlePostInstall hook's rsync command needs a slash #3098
Labels
bug
Something isn't working
triage
Add this label to issues that should be triaged and prioretized in the next planning call
unconfirmed
Kairos version:
CPU architecture, OS, and Version:
Describe the bug
The source image's extensions are not properly copied over to the machine after install. Instead they all end up in
/var/lib/extensions/extensions
, causingsystemd-sysext
to treat them all as one big extension.According to the rsync man page:
Thus, I think the culprit is the
BundlePostInstall
hook'srsync
command. We should be able to solve the issue with a/
on the source (example below)To Reproduce
Define some bundles under
install.bundles
and provision a system. Notice the resulting system has/var/lib/extensions/extensions
.Expected behavior
The source image's
/var/lib/extensions
content is copied to the bind mount instead of the entireextensions
directory itself.Logs
The text was updated successfully, but these errors were encountered: