anchor.diff:      if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
           install -d ${D}${systemd_unitdir}/system
           install -c -m 0644 \
  -            ${WORKDIR}/mnt-boot.mount \
  -            ${WORKDIR}/mnt-state.mount \
  -            ${WORKDIR}/mnt-data.mount \
               ${WORKDIR}/etc-docker.mount \
               ${WORKDIR}/etc-dropbear.mount \
               ${WORKDIR}/etc-hostname.mount \
               ${WORKDIR}/etc-systemd-system-resin.target.wants.mount \
               ${WORKDIR}/etc-systemd-timesyncd.conf.mount \
  +            ${WORKDIR}/home-root-.docker.mount \
  +            ${WORKDIR}/home-root-.rnd.mount \
  +            ${WORKDIR}/mnt-boot.mount \
  +            ${WORKDIR}/mnt-data.mount \
  +            ${WORKDIR}/mnt-state.mount \
               ${WORKDIR}/var-lib-systemd.mount \
               ${WORKDIR}/var-log-journal.mount \
  -            ${WORKDIR}/home-root-.rnd.mount \
  -            ${WORKDIR}/home-root-.docker.mount \
               ${D}${systemd_unitdir}/system
   
           # Yocto gets confused if we use strange file names - so we rename it here
  
positive.code:         install -c -m 0644 ${WORKDIR}/etc-NetworkManager-systemx2dconnections.mount ${D}${systemd_unitdir}/system/etc-NetworkManager-system\\x2dconnections.mount
          install -c -m 0644 ${WORKDIR}/etc-resinx2dsupervisor.mount ${D}${systemd_unitdir}/system/etc-resin\\x2dsupervisor.mount
  
          ln -sf ${systemd_unitdir}/system/etc-resin\\x2dsupervisor.mount ${D}${sysconfdir}/systemd/system/resin-bind.target.wants
          ln -sf ${systemd_unitdir}/system/etc-NetworkManager-system\\x2dconnections.mount ${D}${sysconfdir}/systemd/system/resin-bind.target.wants
      fi
  }
  
negative.code: PACKAGES = "${PN}"
  
  SYSTEMD_SERVICE_${PN} = " \
      etc-docker.mount \
      etc-dropbear.mount \
      etc-hostname.mount \
      etc-systemd-system-resin.target.wants.mount \
      etc-systemd-timesyncd.conf.mount \
      home-root-.docker.mount \
      home-root-.rnd.mount \
      mnt-boot.mount \
      mnt-data.mount \
      mnt-state.mount \
      var-lib-systemd.mount \
      var-log-journal.mount \
      "
  
  FILES_${PN} += " \
      /mnt/boot \
      /mnt/data \
      /mnt/state \
      ${sysconfdir} \
      ${systemd_unitdir} \
      "
  
  do_install () {
      install -d ${D}/etc/docker
      install -d ${D}/mnt/boot
      install -d ${D}/mnt/data
      install -d ${D}/mnt/state
  
      install -d ${D}${systemd_unitdir}/system
  
  