gnulib: Copy hidden files to staging area as well

newer gnulib-tool wrappers try to run a sibling Python
launcher file, .gnulib-tool.py, when Python 3 is available.
In current gnulib, that file is a real part of the tree,
and gnulib-tool will exec "$prog.py" in that mode

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj 2026-03-22 10:42:05 -07:00
parent 01134021ff
commit a47c3a26f3
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -20,6 +20,7 @@ SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protoco
do_install () {
install -d ${D}/${datadir}/gnulib
cp --no-preserve=ownership --recursive ${S}/* ${D}/${datadir}/gnulib/
cp --no-preserve=ownership --recursive ${S}/.gnulib-tool.py ${D}/${datadir}/gnulib/
cp --no-preserve=ownership --recursive ${S}/.git ${D}/${datadir}/gnulib/
}