anchor.diff:  SRC_URI = "\
       file://BB-BONE-ARMAZ-00A0.dtbo \
       file://BB-BONE-ARMAZ-00A0.dts \
  -    file://init \
       file://armaz-dto.sh \
       file://armaz-dto.service \
   "
   
  -inherit update-rc.d systemd
  -INITSCRIPT_NAME = "armaz-dto"
  -INITSCRIPT_PARAMS = "defaults 10"
  +inherit systemd
   
   SYSTEMD_SERVICE_${PN} = "armaz-dto.service"
   
  
positive.code:     install -d \
              ${D}/lib/firmware \
              ${D}${bindir} \
              ${D}${sysconfdir}/init.d \
              ${D}${systemd_unitdir}/system
  
      install -m 0644 ${WORKDIR}/BB-BONE-ARMAZ-00A0.dtbo ${D}/lib/firmware/
  
negative.code: 
      install -m 0755 ${WORKDIR}/armaz-dto.sh ${D}${bindir}
  
      # deal with systemd unit files
      sed -e 's,/etc,${sysconfdir},g' \
              -e 's,/usr/sbin,${sbindir},g' \
              -e 's,/var,${localstatedir},g' \
              -e 's,/usr/bin,${bindir},g' \
              -e 's,/usr,${prefix},g' ${WORKDIR}/armaz-dto.service > ${D}${systemd_unitdir}/system/armaz-dto.service
      chmod 644 ${D}${systemd_unitdir}/system/armaz-dto.service
  }
  
  FILES_${PN} = "\
      /lib/firmware/BB-BONE-ARMAZ-00A0.dtbo \
      /lib/firmware/BB-BONE-ARMAZ-00A0.dts \
      ${bindir}/armaz-dto.sh \
      ${systemd_unitdir}/system/armaz-dto.service \
  "
  