Skip to content
Snippets Groups Projects
Commit fd8f4660 authored by Esben Haabendal's avatar Esben Haabendal
Browse files

openharmony-standard: Install /system/usr files as well


In OpenHarmony 3.1, we now also have files in /system/usr, so we need to include
them as well.

Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent c93b2d9c
No related branches found
No related tags found
1 merge request!15Various improvements in preparation for splitting components into packages
......@@ -154,6 +154,11 @@ do_install () {
cp -r ${OHOS_PACKAGE_OUT_DIR}/system/profile/* ${D}${libdir}/openharmony/profile
ln -sfT ..${libdir}/openharmony/profile ${D}/system/profile
# odd files in /system/usr
mkdir -p ${D}${libdir}/openharmony/usr
cp -r ${OHOS_PACKAGE_OUT_DIR}/system/usr/* ${D}${libdir}/openharmony/usr
ln -sfT ..${libdir}/openharmony/usr ${D}/system/usr
# OpenHarmony etc (configuration) files
mkdir -p ${D}${sysconfdir}/openharmony
cp -r ${OHOS_PACKAGE_OUT_DIR}/system/etc/* ${D}${sysconfdir}/openharmony
......@@ -201,7 +206,7 @@ FILES:${PN} += "${libdir}/media ${libdir}/module ${libdir}/ark ${libdir}/openhar
FILES:${PN}-configs = "${sysconfdir}"
FILES:${PN}-fonts = "${datadir}/fonts"
FILES:${PN} += "/system/bin /system/lib /system/profile /vendor/bin /vendor/lib"
FILES:${PN} += "/system/bin /system/lib /system/profile /system/usr /vendor/bin /vendor/lib"
FILES:${PN}-configs += "/system/etc /vendor/etc"
FILES:${PN}-fonts += "/system/fonts"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment