Commit 9c8a0553 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

systemd related things commented out

parent e1d96009
...@@ -18,11 +18,15 @@ SRC_URI = "file://overlay_sync \ ...@@ -18,11 +18,15 @@ SRC_URI = "file://overlay_sync \
file://overlay_syncd \ file://overlay_syncd \
" "
#file://overlay_syncd.service
S = "${WORKDIR}/" S = "${WORKDIR}/"
INITSCRIPT_NAME = "overlay_syncd" INITSCRIPT_NAME = "overlay_syncd"
INITSCRIPT_PARAMS = "start 89 2 3 4 5 . stop 89 0 1 6 ." INITSCRIPT_PARAMS = "start 89 2 3 4 5 . stop 89 0 1 6 ."
#SYSTEMD_SERVICE_${PN} = "overlay_syncd.service"
FILES_${PN} = "\ FILES_${PN} = "\
/etc/* \ /etc/* \
/sbin/* \ /sbin/* \
...@@ -39,6 +43,13 @@ do_install_append() { ...@@ -39,6 +43,13 @@ do_install_append() {
install -d ${D}${base_sbindir} install -d ${D}${base_sbindir}
install -m 0755 ${WORKDIR}/overlay_sync ${D}${base_sbindir} install -m 0755 ${WORKDIR}/overlay_sync ${D}${base_sbindir}
# Install systemd related files
#install -d ${D}${localstatedir}/cache/bind
#install -d ${D}${sbindir}
#install -m 0644 ${WORKDIR}/overlay_synced.service ${D}${systemd_unitdir}/system
#sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
# -e 's,@SBINDIR@,${sbindir},g' \
# ${D}${systemd_unitdir}/system/overlay_synced.service
} }
PACKAGES = " overlay-sync" PACKAGES = " overlay-sync"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment