* [Buildroot] [PATCH 1/1] package/sudo: remove dist example config
@ 2019-11-04 19:26 Stephan Henningsen
2019-11-04 20:43 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Henningsen @ 2019-11-04 19:26 UTC (permalink / raw)
To: buildroot
From: Stephan Henningsen <stephan+buildroot@asklandd.dk>
Signed-off-by: Stephan Henningsen <stephan+buildroot@asklandd.dk>
---
package/sudo/sudo.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index cf8b63b1db..ab58f308ec 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -64,4 +64,10 @@ define SUDO_PERMISSIONS
/usr/bin/sudo f 4755 0 0 - - - - -
endef
+define SUDO_REMOVE_DIST_EXAMPLES
+ $(RM) $(TARGET_DIR)/etc/sudoers.dist
+ rmdir $(TARGET_DIR)/etc/sudoers.d
+endef
+SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_REMOVE_DIST_EXAMPLES
+
$(eval $(autotools-package))
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/sudo: remove dist example config
2019-11-04 19:26 [Buildroot] [PATCH 1/1] package/sudo: remove dist example config Stephan Henningsen
@ 2019-11-04 20:43 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-11-04 20:43 UTC (permalink / raw)
To: buildroot
On Mon, 4 Nov 2019 20:26:19 +0100
Stephan Henningsen <stephan@asklandd.dk> wrote:
> From: Stephan Henningsen <stephan+buildroot@asklandd.dk>
>
> Signed-off-by: Stephan Henningsen <stephan+buildroot@asklandd.dk>
> ---
> package/sudo/sudo.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-04 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 19:26 [Buildroot] [PATCH 1/1] package/sudo: remove dist example config Stephan Henningsen
2019-11-04 20:43 ` Thomas Petazzoni
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.