mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/screen: install screenrc without executable rights
There is no reason to install a configuration file in /etc with executable rights. Fixes: https://gitlab.com/buildroot.org/buildroot/-/work_items/174 Fixes:98873717c2("screen: enable terminfo and install screenrc") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit318d4ce4e5) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
79c0acaa2d
commit
18f78bdd52
@@ -28,7 +28,7 @@ SCREEN_CONF_OPTS += --disable-pam
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define SCREEN_INSTALL_SCREENRC
|
define SCREEN_INSTALL_SCREENRC
|
||||||
$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
|
$(INSTALL) -m 0644 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
|
||||||
endef
|
endef
|
||||||
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user