connman-conf.bb 952 B

1234567891011121314151617181920212223242526
  1. SUMMARY = "Connman config to setup wired interface on qemu machines"
  2. DESCRIPTION = "This is the ConnMan configuration to set up a Wired \
  3. network interface for a qemu machine."
  4. LICENSE = "GPLv2"
  5. LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
  6. SRC_URI_append_qemuall = "file://wired.config \
  7. file://wired-setup \
  8. "
  9. PR = "r2"
  10. S = "${WORKDIR}"
  11. PACKAGE_ARCH = "${MACHINE_ARCH}"
  12. FILES_${PN} = "${localstatedir}/* ${libdir}/*"
  13. do_install() {
  14. #Configure Wired network interface in case of qemu* machines
  15. if test -e ${WORKDIR}/wired.config && test -e ${WORKDIR}/wired-setup; then
  16. install -d ${D}${localstatedir}/lib/connman
  17. install -m 0644 ${WORKDIR}/wired.config ${D}${localstatedir}/lib/connman
  18. install -d ${D}${libdir}/connman
  19. install -m 0755 ${WORKDIR}/wired-setup ${D}${libdir}/connman
  20. fi
  21. }