mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
adduser: use get_perl_version instead of PERLVERSION
Immediate expansion for PERLVERSION(in perl-version.bbclass) is too early, it will result in 'None' before perl is built, then the module file is installed incorrectly: $ rpm -ql adduser|grep Common /usr/lib/perl/None/Debian/AdduserCommon.pm So use get_perl_version directly instead of PERLVERSION. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
a7ec955470
commit
e55e74cfc4
|
|
@ -22,8 +22,7 @@ do_install() {
|
|||
install -m 0755 ${S}/adduser ${D}${sbindir}
|
||||
install -m 0755 ${S}/deluser ${D}${sbindir}
|
||||
|
||||
install -d ${D}${libdir}/perl/${PERLVERSION}/Debian
|
||||
install -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${PERLVERSION}/Debian
|
||||
install -D -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${@get_perl_version(d)}/Debian/AdduserCommon.pm
|
||||
sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/*
|
||||
|
||||
install -d ${D}/${sysconfdir}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user