summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-20 11:12:44 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-20 11:12:44 +0100
commitdae1c9501723443c03613570961e41799f16eda1 (patch)
treef22c7035d4aced3cb454f16e16f746d88d14c584
parentacct-group/tpm: New group for tpm-emulator (diff)
downloadgentoo-dae1c9501723443c03613570961e41799f16eda1.tar.gz
gentoo-dae1c9501723443c03613570961e41799f16eda1.tar.bz2
gentoo-dae1c9501723443c03613570961e41799f16eda1.zip
acct-user/tpm: New user for tpm-emulator
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--acct-user/tpm/metadata.xml5
-rw-r--r--acct-user/tpm/tpm-0.ebuild12
2 files changed, 17 insertions, 0 deletions
diff --git a/acct-user/tpm/metadata.xml b/acct-user/tpm/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/acct-user/tpm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/acct-user/tpm/tpm-0.ebuild b/acct-user/tpm/tpm-0.ebuild
new file mode 100644
index 000000000000..6a4401d03020
--- /dev/null
+++ b/acct-user/tpm/tpm-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+ACCT_USER_ID=347
+ACCT_USER_GROUPS=( "${PN}" )
+ACCT_USER_HOME=/var/lib/${PN}
+
+acct-user_add_deps