From 0de730ded168343aefad10d49d70b2d2987105a2 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 22 May 2009 12:27:04 -0400 Subject: [PATCH] runit: extend fhs to create etc/sv/ --- base/runit/pkg_fhs_post.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 base/runit/pkg_fhs_post.conf diff --git a/base/runit/pkg_fhs_post.conf b/base/runit/pkg_fhs_post.conf new file mode 100644 index 000000000..d55d68430 --- /dev/null +++ b/base/runit/pkg_fhs_post.conf @@ -0,0 +1,19 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../runit/pkg_fhs_post.conf +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# 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; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +fhs_runit_create() { + mkdir -pv "$root/etc/sv" +} + +hook_add postmake 7 'fhs_runit_create'