- Feb 22, 2023
-
-
Esben Haabendal authored
This simplifies and improves the hack added to libdrm to handle drivers (like virtio drm) that does not support DRM_IOCTL_WAIT_VBLANK, and tries to return at 60 Hz points in time. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Feb 20, 2023
-
-
Francesco Pham authored
regenerate patch from the ${S}/base/hiviewdfx/hilog patch directory, and apply the patch to the subdirectory. This allows `devtool modify openharmony standard` to properly apply the patch in the external workspace. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
move OH_GRALLOC_TMP_DIR into the source directory and do not remove directory. This allows devtool to properly build openharmony-standard from external workspace. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
instead of using the absolute path using the ${S} variable, use an relative subdir path to copy the display_device.c file in the source directory. This allows the correct build when using an external source directory, such as when using a devtool workspace. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Esben Haabendal authored
This recipe builds a simple Yocto SDK style bundle, initially containing hdc and xdevice tools. As such, it can be used for running ACTS testcases. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Feb 17, 2023
-
-
Francesco Pham authored
In OpenHarmony system applications HAP packages such as Launcher, SystemUI, Settings are located under /system/app directory. These packages are automatically installed and started at system initialization. These system apps are treated differently from third party applications that can be installed using `hdc install`, for example they have a different UID range and different permissions (they cannot be uninstalled). This fixes testcases ActsBundleManagerTest::getBundleInfo_1300 and ActsBundleManagerUninstallTest::uninstall_0600 Relate-to: https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/21 Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Feb 16, 2023
-
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Although there obviously is a default behaviour when parameters are not set, an error message about missing parameters are logged, so let's just set the parameters explicitly to avoid these "false" error messages. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Yes, this is still not nice, but this is what we are doing for now. We will fix it as we create systemd units for each service. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Feb 09, 2023
-
-
Francesco Pham authored
The patch was a hacky way to allow starting of demo hap applications from a root user. The proper way to start the demo apps is by running `aa start ...` from the system user. For example: ``` $ hdc shell "su system -c 'aa start -a ohos.samples.clock.MainAbility -b ohos.samples.clock'" ``` Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Feb 08, 2023
-
-
Francesco Pham authored
remove test-xts-acts-Start-tests-from-onInit.patch because now the tests are properly executed even without it. Probably after fixing a segfault problem in the graphics stack, the tests execution have been fixed. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Feb 06, 2023
-
-
Francesco Pham authored
Fix DefPermission.hap filename typo which is causing a file not found error when running ActsContextTest ACTS tests. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
START_ABILITY_TIMEOUT is 3000ms which is too short in our case, causing some testcases in ActsBmsModuleUsageRecordTest to exceed timeout. Increasing the timeout to 30 seconds. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
OpenHarmony init system, is responsible for creation of some directories, handling permissions and running services with appropriate UIDs/GIDs. Currently in meta-openharmony we have everything run as root, which causes some issues. Adding system user with UID 1000. Run system services as system user. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
The default test timeout is 5000ms which is too short, causing some testcases to exceed timeout. Increasing the timeout to 60 seconds. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Feb 02, 2023
-
-
Francesco Pham authored
OpenHarmony uses couple of UIDs/GIDs for running it's services. Currently in meta-openharmony we have everything run as root, which causes some issues in starting abilities. As a temporary workaround we are removing the Uid check. Apply to foundation/aafwk/standard Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
RenderText::PerformLayout() is causing a SIGSEGV for some reasons. The error appears to be raised in the Measure method(). This is causing hap applications to crash, including ACTS test suites. As a temporary solution we are removing the part of the code that is raising the segfault. The side effect of this is that texts are not properly rendered. Apply patch to foundation/ace/ace_engine Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
A wrong permission mode causes ActsAppdatamagrJsTest ACTS test suite to fail because it fails to open /dev/ashmem due to a "Permission denied" error. Changing permission to /dev/ashmem: "chmod 666 /dev/ashmem" because it needs to be rw for all users. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
currently /data directory has to be chmod -R 777 /data in order for services to work one of possible manifestation of this not being done is create display failed! error in the logs Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
Currently, due to some services/graphics issues onShow callback is not being called and therefore tests are not executed. For screen-less devices graphics stack should not be required and therefore moving test execution to onInit This patch allows ACTS tests output to be shown on the logs Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Signed-off-by:
Robert Drab <robert.drab@huawei.com>
-
Francesco Pham authored
Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
enable RemainAfterExit to openharmony-preinit.service to prevent the service from getting deactivated after initialization. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Sep 28, 2022
-
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Closes https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/73 Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Closes https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/75 Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
The OpenHarmony services are now started from the pre-init script. The script checks if the corresponding systemd services are enabled before running them. That way, the services startup can be controlled using systemctl. Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This change turns the OpenHarmony systemd services into dummy services that doesn't start them. Instead, the preinit script will check for these services state and start the corresponding services if their systemd unit are enabled. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
- Sep 06, 2022
-
-
Thierry Escande authored
This sets NODE_OPTIONS to pass '--openssl-legacy-provider' to node 17 and fixes the error 'digital envelope routines::unsupported'. This was resulting in ACTS hap package not contaning the manifest and js assets files. Even if NODE_OPTIONS is set in the openharmony-standard recipe, it also has to be set in the nodejs invocation environment because the recipe environment is ignored in build_js_assets.py. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This fixes the following nodejs 17 error: error:0308010C:digital envelope routines::unsupported The option '--openssl-legacy-provider' is passed to nodejs and a few OPENSSL variables are also set to point to the native sysroot ssl conf. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This test doesn't compile and is not mandatory, so remove it. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
- Sep 01, 2022
-
-
Thierry Escande authored
This adds needed REDPENDS for openharmony-standard-ptest package. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
- Aug 29, 2022
-
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben.haabendal@huawei.com>
-
Esben Haabendal authored
It is only used in two unittest testcases, and something is causing it to not be included in the generated image, although we add the necessary parts information. So making it static is a simple workaround for that. Signed-off-by:
Esben Haabendal <esben.haabendal@huawei.com>
-
Esben Haabendal authored
We are renaming the ${PN}-faultloggerd package to ${PN}-faultlogger, as it will include both client and server parts. Signed-off-by:
Esben Haabendal <esben.haabendal@huawei.com>
-