meta-virtualization/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch
Bruce Ashfield 2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00

27 lines
889 B
Diff

From 89bf4b64e810e174068e7861490e6d6ab2d14854 Mon Sep 17 00:00:00 2001
From: Mark Asselstine <mark.asselstine@windriver.com>
Date: Mon, 10 Sep 2018 15:01:54 -0400
Subject: [PATCH] systemd: ensure /var/lib/lxcfs exists
If the directory doesn't exist the service will fail to start.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
config/init/systemd/lxcfs.service | 1 +
1 file changed, 1 insertion(+)
Index: lxcfs-4.0.7/config/init/systemd/lxcfs.service
===================================================================
--- lxcfs-4.0.7.orig/config/init/systemd/lxcfs.service
+++ lxcfs-4.0.7/config/init/systemd/lxcfs.service
@@ -5,6 +5,7 @@
Documentation=man:lxcfs(1)
[Service]
+ExecStartPre=-/bin/mkdir /var/lib/lxcfs
ExecStart=/usr/bin/lxcfs /usr/local/var/lib/lxcfs
KillMode=process
Restart=on-failure