anchor.diff:      d.setVar('PV', "%s+%s" % (version_output, image_id_output.split(':',1)[-1]))
   }
   
  -do_compile_prepend () {
  -    if [ -z "${TARGET_REPOSITORY}" ]; then
  -        bbfatal "resin-supervisor-disk: One or more needed variables are not available in resin-supervisor-disk. Usually these are provided with a bbappend."
  -    fi
  -}
  +do_compile[vardeps] += "SUPERVISOR_NO_PRELOAD"
   
   do_install () {
       # Generate supervisor conf
  
positive.code:     import subprocess
  
      target_repository = d.getVar('TARGET_REPOSITORY', True)
      tag_repository = d.getVar('SUPERVISOR_TAG', True)
  
      if not target_repository:
          bb.fatal("resin-supervisor-disk: One or more needed variables are not available in resin-supervisor-disk. Usually these are provided with a bbappend.")
  
      # Only pull if connectivity - to avoid warnings and delay
      if connected(d) == "yes":
  
negative.code: # as it is arch specific
  TARGET_TAG = "${SUPERVISOR_TAG}"
  LED_FILE ?= "/dev/null"
  
  # By default preload supervisor image
  SUPERVISOR_NO_PRELOAD ?= "0"
  
  inherit systemd
  
  