mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 14:29:48 +00:00
screen: add /etc/screenrc as global config file
(From OE-Core rev: 15fdf699179038f4b636b9310bb31583a76c8a29) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -35,10 +35,11 @@ inherit autotools texinfo
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter,"
|
||||
|
||||
EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 \
|
||||
EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 --with-sys-screenrc=${sysconfdir}/screenrc \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
|
||||
|
||||
do_install_append () {
|
||||
install -D -m 644 ${S}/etc/etcscreenrc ${D}/${sysconfdir}/screenrc
|
||||
if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
|
||||
install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user