summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-02-20 08:57:12 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-02-20 08:57:24 +0100
commitee09b60d21a7950cc42135247d2840a3287f6c10 (patch)
tree95c8407ae7aa3897bad7be2fe6f6f3a6d5e995f4
parentapp-misc/skim: bump to 0.5.4 (diff)
downloadgentoo-ee09b60d21a7950cc42135247d2840a3287f6c10.tar.gz
gentoo-ee09b60d21a7950cc42135247d2840a3287f6c10.tar.bz2
gentoo-ee09b60d21a7950cc42135247d2840a3287f6c10.zip
sys-cluster/util-vserver: add missing patch.
Bug: https://bugs.gentoo.org/632586 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--sys-cluster/util-vserver/files/util-vserver-0.30.216_pre3120-vserver-init-functions.patch11
-rw-r--r--sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild4
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-cluster/util-vserver/files/util-vserver-0.30.216_pre3120-vserver-init-functions.patch b/sys-cluster/util-vserver/files/util-vserver-0.30.216_pre3120-vserver-init-functions.patch
new file mode 100644
index 00000000000..9026ba07c96
--- /dev/null
+++ b/sys-cluster/util-vserver/files/util-vserver-0.30.216_pre3120-vserver-init-functions.patch
@@ -0,0 +1,11 @@
+--- a/scripts/vserver-init.functions 2019-02-20 07:54:16.747585681 +0000
++++ b/scripts/vserver-init.functions 2019-02-20 07:54:31.457661349 +0000
+@@ -80,7 +80,7 @@
+
+ function create_dirs()
+ {
+- $_MKDIR -p "$__RUNDIR" && $_MKDIR -p "$__VSHELPERSTATEDIR" && $_MKDIR -p `$_READLINK "$__PKGSTATEREVDIR"`
++ $_MKDIR -p "$__RUNDIR" && $_MKDIR -p "$__VSHELPERSTATEDIR" && $_MKDIR -p "$__PKGCACHEDIR" && $_MKDIR -p `$_READLINK "$__PKGSTATEREVDIR"`
+ }
+
+ function mount_cgroup()
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild
index b4195e8a8d9..d9776666cc1 100644
--- a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild
+++ b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild
@@ -30,6 +30,10 @@ RDEPEND="
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}/${P}-vserver-init-functions.patch"
+)
+
DOCS=( README ChangeLog NEWS AUTHORS THANKS util-vserver.spec )
pkg_setup() {