- Feb 16, 2023
-
-
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>
-
Signed-off-by:
Kristijonas Ciulcinskas <kristijonas.ciulcinskas@huawei.com>
-
- Aug 25, 2022
-
-
Bernhard Rosenkränzer authored
Add support for qemuarm-efi, qemuarm64-efi, qemuarm64 and raspberrypi4-64 target machines Signed-off-by:
Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Aug 22, 2022
-
-
Esben Haabendal authored
This fixes the problem that have caused us to always rebuilding openharmony-standard recipe in CI, even if no changes would seem to require it. The fix is to rewrite the SRC_URI variable to not include git revisions but use SRCREV_* variables for that instead, and then setting up SRCREV_FORMAT appropriately to allow expansion of SRCPV with a meaningful and correct value. Signed-off-by:
Esben Haabendal <esben.haabendal@huawei.com>
-
- Aug 10, 2022
-
-
Thierry Escande authored
These are services using the System Ability framework through the executable sa_main. These services depend on and are started after the System Ability Manager service (samgr). Most of them are noop for now. No process is created after sa_main exits for all of these services. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This enables the samgr service and sets it to start after the param service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com> Merge me with 600b3ba
-
Thierry Escande authored
This mofifies the appspawn service to start after the samgr one with a 2 seconds delay. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
With this change, the hilogd service depends on and starts after the OpenHarmony param service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This service starts the param_service server, used to access the OpenHarmony param, a kind of registry accessible through the network. The service requires and starts after the openharmony-preinit systemd service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This oneshot service creates the folder architecture needed by the OpenHarmony services and components. All other OpenHarmony services will be started after this one. These folders are intended to be created by their own systemd service units, but since they are not all in place yet, this service acts as a generic placeholder in the meantime. The service also change /dev/binder file mode to 0666. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-