From e86b934f7b3b8e37a7653702a10f2506e7d642b4 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 10 Jan 2019 15:38:05 -0200 Subject: [PATCH] chrony: don't use make_dirs= to create directory on temporary filesystem --- srcpkgs/chrony/files/chronyd/run | 1 + srcpkgs/chrony/template | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/chrony/files/chronyd/run b/srcpkgs/chrony/files/chronyd/run index 96d9c3ba9b3..75ee6102a3f 100644 --- a/srcpkgs/chrony/files/chronyd/run +++ b/srcpkgs/chrony/files/chronyd/run @@ -1,2 +1,3 @@ #!/bin/sh +install -d -m750 -o chrony -g chrony /var/run/chrony exec chronyd -n -u chrony diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index cace9481ae4..93853ec0bb2 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -2,7 +2,7 @@ # When Updating: Please confirm the upstream config still refers to make_dirs pkgname=chrony version=3.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail" @@ -20,8 +20,7 @@ checksum=af77e47c2610a7e55c8af5b89a8aeff52d9a867dd5983d848b52d374bc0e6b9f make_dirs=" /var/log/chrony 0755 chrony chrony - /var/lib/chrony 0755 chrony chrony - /var/run/chrony 0750 chrony chrony" + /var/lib/chrony 0755 chrony chrony" provides="ntp-daemon-0_1" alternatives="