mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-04 05:04:36 +02:00
qtbase_git: ensure fonts go into own subdir by creating it first
Sometimes, when ${OE_QMAKE_PATH_LIBS} is empty, "cp -a" ends up copying
font files there w/o preserving "fonts" directory, failing the following
chown command.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
baa7320066
commit
380ecfd7fb
@@ -222,7 +222,8 @@ do_install_append() {
|
||||
### TODO: FIX
|
||||
# install fonts manually if they are missing
|
||||
if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then
|
||||
cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
|
||||
mkdir -p ${D}/${OE_QMAKE_PATH_LIBS}/fonts
|
||||
cp -a ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_LIBS}/fonts
|
||||
chown -R root:root ${D}/${OE_QMAKE_PATH_LIBS}/fonts
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user