deleting stale binaries deletes too much!! added by klm` on Tue Jul 1 17:22:35 2014


this doesn't happen on normal chicken-install -s, but with a cross-chicken, things get ugly:

[klm@kth TMP]$ ls
[klm@kth TMP]$ touch foo.so
[klm@kth TMP]$ touch egg.setup
[klm@kth TMP]$ echo "()" > egg.meta
[klm@kth TMP]$ /home/klm/cube/aosp.new/out/host/linux-x86/chicken/bin/aosp-chicken-install -s -debug
retrieving ...
checking platform for `egg' ...
checking dependencies for `egg' ...
install order:
("egg")
installing egg: ...
copying sources for target installation
  cp -r ./* /tmp/temp4d89.3847
changing current directory to .
deleting stale binaries ... ./foo.so
  '/home/klm/cube/aosp.new/out/host/linux-x86/chicken/bin/aosp-csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"egg\" \"\"))" -e "(sudo-install #t)" -e "(host-extension #t)" 'egg.setup'
installing for target ...
changing current directory to /tmp/temp4d89.3847
deleting stale binaries ... ./foo.so
  '/home/klm/cube/aosp.new/out/host/linux-x86/chicken/bin/aosp-csi' -bnq -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"egg\" \"\"))" -e "(sudo-install #t)" -e "(destination-prefix \"/home/klm/cube/aosp.new/out/target/product/tr1imx6/system/\")" -e "(runtime-prefix \"/home/klm/cube/aosp.new/out/target/product/tr1imx6/system/\")" 'egg.setup'