Skip to content
Snippets Groups Projects
Commit 76492465 authored by Thierry Escande's avatar Thierry Escande
Browse files

openharmony-standard-3.0: Add installs service


Signed-off-by: default avatarThierry Escande <thierry.escande@huawei.com>
parent d9f0f135
No related branches found
No related tags found
1 merge request!70Add systemd units for OpenHarmony 3.0
[Unit]
Description=OpenHarmony Installs service
Requires=samgr.service
After=samgr.service
[Service]
Type=exec
# Delay execution by 2 secs after samgr.service
ExecStartPre=/bin/sleep 2
ExecStart=/usr/bin/installs
[Install]
WantedBy=multi-user.target
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
...@@ -458,6 +458,14 @@ RDEPENDS:${PN}-ptest += "${PN}-appspawn-ptest" ...@@ -458,6 +458,14 @@ RDEPENDS:${PN}-ptest += "${PN}-appspawn-ptest"
# //foundation/appexecfwk/standard component # //foundation/appexecfwk/standard component
PACKAGES =+ "${PN}-appexecfwk" PACKAGES =+ "${PN}-appexecfwk"
SYSTEMD_PACKAGES += "${PN}-appexecfwk"
SYSTEMD_SERVICE:${PN}-appexecfwk = "installs.service"
SRC_URI += "file://installs.service"
do_install:append() {
install -d ${D}/${systemd_unitdir}/system
install -m 644 ${WORKDIR}/installs.service ${D}${systemd_unitdir}/system/
rm -f ${D}${sysconfdir}/openharmony/init/installs.cfg
}
FILES:${PN}-appexecfwk = "\ FILES:${PN}-appexecfwk = "\
${bindir}/appexec \ ${bindir}/appexec \
${bindir}/bm \ ${bindir}/bm \
......
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