From 0db469879630e510f05a9b5e870ed32242510ce3 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Tue, 13 Dec 2016 10:57:34 +0100
Subject: [PATCH] Create /opt/sysroot via tmpfiles

Add a tmpfile snippet to create the /opt/sysroot directory. Owned by
root:staff and group writable such that the default user can write to
it, making ade sysroot install usable as a user directly without
requiring sudo.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D5248
---
 debian/apertis-dev-tools.tmpfile | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 debian/apertis-dev-tools.tmpfile

diff --git a/debian/apertis-dev-tools.tmpfile b/debian/apertis-dev-tools.tmpfile
new file mode 100644
index 0000000..af3fb6d
--- /dev/null
+++ b/debian/apertis-dev-tools.tmpfile
@@ -0,0 +1,2 @@
+# Directory to place the sysroots in, writable by all users in group staff
+d /opt/sysroot 0775 root staff - -
-- 
GitLab