package/sudo: remove dist example config
PATCH 1/1 package/sudo: remove dist example config
From: Stephan Henningsen <[email protected]>
Signed-off-by Stephan Henningsen <[email protected]>
--- package/sudo/sudo.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/sudo/sudo.mk +6 -0
@@ -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))
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/sudo: remove dist example config
Quoted 6 lines · On Mon, 4 Nov 2019 20:26:19 +0100 Stephan Henningsen <[email protected]>…
From: Stephan Henningsen <[email protected]>
Signed-off-by Stephan Henningsen <[email protected]>--- package/sudo/sudo.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com