* [Buildroot] [git commit] package/syslog-ng: don't fail if systemd service directory already exists
@ 2021-01-03 9:01 Yann E. MORIN
2021-01-05 22:08 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2021-01-03 9:01 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=d2d629ecd8041a21b6c615e221137113837a42c2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Add -p argument that ignore that specified directory already exists.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[yann.morin.1998 at free.fr:
- split to its own patch
- rewrite commit title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/syslog-ng/syslog-ng.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index 241522b704..b6b5fad7da 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -113,7 +113,7 @@ endef
# By default syslog-ng installs a .service that requires a config file at
# /etc/default, so provide one with the default values.
define SYSLOG_NG_INSTALL_INIT_SYSTEMD
- mkdir $(TARGET_DIR)/usr/lib/systemd/system/syslog-ng at .service.d
+ mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/syslog-ng at .service.d
printf '[Install]\nDefaultInstance=default\n' \
>$(TARGET_DIR)/usr/lib/systemd/system/syslog-ng at .service.d/buildroot-default-instance.conf
endef
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [git commit] package/syslog-ng: don't fail if systemd service directory already exists
2021-01-03 9:01 [Buildroot] [git commit] package/syslog-ng: don't fail if systemd service directory already exists Yann E. MORIN
@ 2021-01-05 22:08 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-01-05 22:08 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=d2d629ecd8041a21b6c615e221137113837a42c2
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Add -p argument that ignore that specified directory already exists.
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> [yann.morin.1998 at free.fr:
> - split to its own patch
> - rewrite commit title
> ]
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Committed to 2020.02.x and 2020.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-05 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 9:01 [Buildroot] [git commit] package/syslog-ng: don't fail if systemd service directory already exists Yann E. MORIN
2021-01-05 22:08 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.