]> code.ossystems Code Review - openembedded-core.git/commitdiff
screen: add /etc/screenrc as global config file
authorYi Zhao <yi.zhao@windriver.com>
Fri, 16 Aug 2019 08:56:21 +0000 (16:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Sep 2019 16:49:47 +0000 (17:49 +0100)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/screen/screen_4.6.2.bb

index 24ec751070b894d3a9500653d985acd4ede5eb16..21b476ddb09f54d6d31537380437fa11a687687c 100644 (file)
@@ -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