diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2019-03-19 11:15:14 +0200 |
---|---|---|
committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2020-12-15 11:38:30 +0200 |
commit | c521e675c700c3e95500b6fc0262129ebfb4387e (patch) | |
tree | 350060136dd761a37bdbaa18c17933b02ea0da48 /admin | |
parent | 5c62f84bc7088940eb20864ee3bb52f4104979a7 (diff) |
sudo: group all install dirs into a single group
Mostly a cosmetic change.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'admin')
-rw-r--r-- | admin/sudo/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/admin/sudo/Makefile b/admin/sudo/Makefile index bc30fa88c..2cd3c311b 100644 --- a/admin/sudo/Makefile +++ b/admin/sudo/Makefile @@ -75,18 +75,17 @@ endef $(eval $(call HostBuild)) define Package/sudo/install - $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_DIR) \ + $(1)/etc/{init.d,sudoers.d} \ + $(1)/usr/{bin,sbin} \ + $(1)/usr/lib/sudo + $(CP) $(PKG_INSTALL_DIR)/usr/bin/sudo $(1)/usr/bin/ chmod 4755 $(1)/usr/bin/sudo - $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/visudo $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc $(CP) $(PKG_INSTALL_DIR)/etc/sudoers $(1)/etc/ chmod 0440 $(1)/etc/sudoers - $(INSTALL_DIR) $(1)/etc/sudoers.d - $(INSTALL_DIR) $(1)/usr/lib/sudo $(CP) $(PKG_INSTALL_DIR)/usr/lib/sudo/*.so* $(1)/usr/lib/sudo/ - $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/sudo.init $(1)/etc/init.d/sudo endef |