From: Yi Zhao Date: Fri, 16 Aug 2019 08:56:21 +0000 (+0800) Subject: screen: add /etc/screenrc as global config file X-Git-Tag: uninative-2.7~193 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=15fdf699179038f4b636b9310bb31583a76c8a29;p=openembedded-core.git screen: add /etc/screenrc as global config file Signed-off-by: Yi Zhao Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/screen/screen_4.6.2.bb b/meta/recipes-extended/screen/screen_4.6.2.bb index 24ec751070..21b476ddb0 100644 --- a/meta/recipes-extended/screen/screen_4.6.2.bb +++ b/meta/recipes-extended/screen/screen_4.6.2.bb @@ -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