Skip to content

Commit

Permalink
cc7
Browse files Browse the repository at this point in the history
  • Loading branch information
rett84 committed Feb 14, 2025
1 parent 75ce971 commit 8031905
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ S = "${WORKDIR}/git/server"
# TODO: Add the aesdsocket application and any other files you need to install
# See https://git.yoctoproject.org/poky/plain/meta/conf/bitbake.conf?h=kirkstone
FILES:${PN} += "${bindir}/aesdsocket"
FILES:${PN} += "${bindir}/aesdsocket-start-stop.sh"
FILES:${PN} += "${bindir}/aesdsocket-start-stop"

# to install the start script
inherit update-rc.d
# flag your package as one that uses init scripts
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME:${PN} = "aesdsocket-start-stop.sh"
INITSCRIPT_NAME:${PN} = "aesdsocket-start-stop"

# TODO: customize these as necessary for any libraries you need for your application
# (and remove comment)
Expand All @@ -51,5 +51,5 @@ do_install () {
install -m 0755 ${S}/aesdsocket ${D}${bindir}/

install -d ${D}${sysconfdir}/init.d
install -m 0755 ${S}/aesdsocket-start-stop.sh ${D}${sysconfdir}/init.d/
install -m 0755 ${S}/aesdsocket-start-stop ${D}${sysconfdir}/init.d/
}

0 comments on commit 8031905

Please sign in to comment.