From 24a5ec38a51304737104586c1e1973c07dfd313f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 12 Jul 2013 20:34:14 +0200 Subject: [PATCH] systemd: add applet 'systemd-tmpfiles Signed-off-by: Stephan Raue --- packages/sysutils/systemd/init.d/02_tmpfiles | 27 ++++++++++++++++++++ packages/sysutils/systemd/install | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 packages/sysutils/systemd/init.d/02_tmpfiles diff --git a/packages/sysutils/systemd/init.d/02_tmpfiles b/packages/sysutils/systemd/init.d/02_tmpfiles new file mode 100644 index 0000000000..4c30605ac1 --- /dev/null +++ b/packages/sysutils/systemd/init.d/02_tmpfiles @@ -0,0 +1,27 @@ +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +# +# creating tmpfiles +# +# runlevels: openelec, installer, textmode + +progress "creating tmpfiles" + systemd-tmpfiles --create \ No newline at end of file diff --git a/packages/sysutils/systemd/install b/packages/sysutils/systemd/install index f49cac4f6c..3d11752b74 100755 --- a/packages/sysutils/systemd/install +++ b/packages/sysutils/systemd/install @@ -81,3 +81,5 @@ mkdir -p $INSTALL/usr/config # reserved for installing systemd +mkdir -p $INSTALL/bin + cp $PKG_BUILD/systemd-tmpfiles $INSTALL/bin