anchor.diff:  	${STRIP} ${IMAGE_ROOTFS}/lib/libgcc_s.so.1
   	chmod ugo+x ${IMAGE_ROOTFS}/lib/libgcc_s.so.1
   
  -	# We need cpio and find, but we don't need any of the other stuff in the
  -	# packages (users can install the full package with ipkg after unsling).
  -	# (make sure that if the package is not included (i.e. using slingbox
  -	# instead) that the files are not deleted; they might be part of slingbox)
  +	# We need cpio and find, but we don't need any of the other stuff in
  +	# the packages (users can install the full package with ipkg after
  +	# unsling).  Remove the extra files and executables, and clean up
  +	# the entries from the ipkg database manually.
   
   	#-- these are for cpio:
   	rm -f ${IMAGE_ROOTFS}/usr/bin/mt
   	rm -rf ${IMAGE_ROOTFS}/usr/libexec
  +	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/cpio.*
  +	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/alternatives/rmt
  +	sed -i -e '/^Package: cpio/,/^$/d' ${IMAGE_ROOTFS}${libdir}/ipkg/status
   
   	#-- and these for find:
   	rm -f ${IMAGE_ROOTFS}/usr/bin/locate
   	rm -f ${IMAGE_ROOTFS}/usr/bin/updatedb
   	rm -f ${IMAGE_ROOTFS}/usr/bin/xargs
  +	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/findutils.*
  +	sed -i -e '/^Package: findutils/,/^$/d' ${IMAGE_ROOTFS}${libdir}/ipkg/status
   
   	# FIXME: change made 24 Jul 2006 by the OE folks changes the "strip"
   	# behavior to create an extra file named .debug/<filename> containing
  
positive.code: LICENSE = MIT
  PR = "r19"
  
  IMAGE_BASENAME = "unslung"
  
  
negative.code: 
  	# Remove the kernel image
  	rm -rf ${IMAGE_ROOTFS}/boot
  	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/alternatives/zImage
  	# And remove the post and pre scripts for the kernel; saves flash space
  	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/kernel.postinst
  	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/kernel.postrm
  
  	# Remove all the postinst scripts; don't need them.  But keep the
  	# postrm scripts just in case we need to remove something.
  	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/info/*.postinst
  
  	# Remove info from the local feed used to build the image
  	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/lists/*
  