Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUMMARY = "My Package"
- DESCRIPTION = "It does something cool"
- SECTION = "base"
- PR = "r0"
- LICENSE = "CLOSED"
- SRC_URI = "file://package_binaries.zip \
- file://package.service"
- FILESPATH_append = ":/opt/package-${PV}/images"
- S = "${WORKDIR}"
- do_compile[noexec] = "1"
- do_install() {
- install -m 755 -d ${D}${bindir} ${D}${sysconfdir}/systemd/system/multi-user.target.wants
- install -m 755 ${S}/agent ${D}${bindir}/agent
- install -m 644 ${WORKDIR}/package.service ${D}${sysconfdir}/systemd/system
- ln -s ../package.service ${D}${sysconfdir}/systemd/system/multi-user.target.wants/
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement