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

openharmony-standard: Wrapper scripts start_service and stop_service


These are used by ACTS test cases, seemingly as a workaround for problems with
hilogd stalling/hanging.

Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
parent 1458de27
No related branches found
No related tags found
1 merge request!109Systemd service integration and stability improvements
#!/bin/sh
systemctl start "$@"
#!/bin/sh
systemctl stop "$@"
......@@ -212,6 +212,8 @@ symlink_python3() {
ln -sf $(which python3) ${STAGING_BINDIR_NATIVE}/python
}
SRC_URI += "file://start_service file://stop_service"
do_install () {
OHOS_PACKAGE_OUT_DIR="${B}/packages/${OHOS_PRODUCT_PLATFORM_TYPE}"
......@@ -249,6 +251,12 @@ do_install () {
# Avoid file-conflict on /usr/bin/udevadm with //third_party/eudev and udev
# recipe
rm ${D}${bindir}/udevadm
# Wrapper scripts for systemctl, which is at least used by ACTS
mkdir -p ${D}${sbindir}
install -t ${D}${sbindir} -m 0755 \
${WORKDIR}/start_service \
${WORKDIR}/stop_service
}
PACKAGES =+ "${PN}-configs ${PN}-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