From aca8ed4af19192b09e85be414d207132ae585032 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 13 Feb 2026 10:24:11 +0100 Subject: [PATCH] portable: /run/systemd/portables => /run/portables --- man/portablectl.xml | 4 ++-- src/portable/portabled.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/portablectl.xml b/man/portablectl.xml index 531bc2dbfe..76cae3a374 100644 --- a/man/portablectl.xml +++ b/man/portablectl.xml @@ -459,10 +459,10 @@ Files and Directories Portable service images are preferably stored in /var/lib/portables/, but are also - searched for in /etc/portables/, /run/systemd/portables/, + searched for in /etc/portables/, /run/portables/, /usr/local/lib/portables/ and /usr/lib/portables/. It's recommended not to place image files directly in /etc/portables/ or - /run/systemd/portables/ (as these are generally not suitable for storing large or non-textual + /run/portables/ (as these are generally not suitable for storing large or non-textual data), but use these directories only for linking images located elsewhere into the image search path. When a portable service image is attached, matching unit files are copied onto the host into the diff --git a/src/portable/portabled.c b/src/portable/portabled.c index 15e9482205..23982c6ede 100644 --- a/src/portable/portabled.c +++ b/src/portable/portabled.c @@ -37,7 +37,7 @@ static int manager_new(RuntimeScope scope, Manager **ret) { .runtime_scope = scope, }; - r = runtime_directory_generic(scope, "systemd/portables", &m->state_dir); + r = runtime_directory_generic(scope, "portables", &m->state_dir); if (r < 0) return r;