From a91e99569386a3bfbb9c90bb0cd5170e68c2c1d2 Mon Sep 17 00:00:00 2001 From: Dimitris Karakasilis Date: Fri, 15 Sep 2023 12:10:18 +0300 Subject: [PATCH] Change where systemd-sysext extensions are installed Part of: https://github.com/kairos-io/kairos/issues/1821 Needs this: https://github.com/kairos-io/packages/pull/437 TODO: Documentation update. E.g. https://kairos.io/docs/advanced/livelayering/#installing-extensions Signed-off-by: Dimitris Karakasilis --- tests/assets/live-overlay.tmpl | 2 +- tests/bundles_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/assets/live-overlay.tmpl b/tests/assets/live-overlay.tmpl index 0f03e76b3..d919da2eb 100644 --- a/tests/assets/live-overlay.tmpl +++ b/tests/assets/live-overlay.tmpl @@ -6,6 +6,6 @@ install: grub_options: extra_cmdline: foobarzz bundles: - - rootfs_path: /usr/local/lib/extensions/kubo + - rootfs_path: /var/lib/extensions/kubo targets: - container://${BUNDLE_IMAGE} diff --git a/tests/bundles_test.go b/tests/bundles_test.go index 9f7535502..2c084c4b0 100644 --- a/tests/bundles_test.go +++ b/tests/bundles_test.go @@ -70,7 +70,7 @@ var _ = Describe("kairos bundles test", Label("bundles-test"), func() { out, _ = vm.Sudo("cat /oem/90_custom.yaml") result = result + fmt.Sprintf("90_custom.yaml:\n%s\n", out) - out, _ = vm.Sudo("cat /usr/local/lib/extensions/kubo/usr/lib/extension-release.d/extension-release.kubo") + out, _ = vm.Sudo("cat /var/lib/extensions/kubo/usr/lib/extension-release.d/extension-release.kubo") result = result + fmt.Sprintf("extension-release.kubo:\n%s\n", out) out, _ = vm.Sudo("systemd-sysext status")