clean 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #!/bin/sh
  2. set -e
  3. lb clean noauto "${@}"
  4. rm -f config/binary
  5. rm -f config/bootstrap
  6. rm -f config/chroot
  7. rm -f config/common
  8. rm -f config/source
  9. rm -fr config/rootfs
  10. rm -fr config/packages.chroot
  11. rm -fr config/packages.binary
  12. rm -fr config/includes.source
  13. rm -fr config/includes.installer
  14. rm -fr config/includes.chroot_before_packages
  15. rm -fr config/includes.chroot_after_packages
  16. rm -fr config/includes.bootstrap
  17. rm -fr config/includes.binary
  18. rm -fr config/includes
  19. rm -fr config/debian-installer
  20. rm -fr config/apt
  21. rm -f config/package-lists/live.list.chroot
  22. rm -fr config/hooks/live
  23. rm -f config/hooks/normal/0500-reproducible-glibc.hook.chroot
  24. rm -f config/hooks/normal/0440-update-nvidia-alternative.hook.chroot
  25. rm -f config/hooks/normal/0430-update-mlocate-database.hook.chroot
  26. rm -f config/hooks/normal/0420-update-glx-alternative.hook.chroot
  27. rm -f config/hooks/normal/0410-update-apt-xapian-index.hook.chroot
  28. rm -f config/hooks/normal/0400-update-apt-file-cache.hook.chroot
  29. rm -f config/hooks/normal/0300-remove-udev-persistent-net-rules.hook.chroot
  30. rm -f config/hooks/normal/0200-remove-udev-persistent-cd-rules.hook.chroot
  31. rm -f config/hooks/normal/0195-remove-ssl-cert-snakeoil.hook.chroot
  32. rm -f config/hooks/normal/0190-remove-temporary-files.hook.chroot
  33. rm -f config/hooks/normal/0180-remove-systemd-machine-id.hook.chroot
  34. rm -f config/hooks/normal/0170-remove-python-py.hook.chroot
  35. rm -f config/hooks/normal/0160-remove-openssh-server-host-keys.hook.chroot
  36. rm -f config/hooks/normal/0150-remove-mdadm-configuration.hook.chroot
  37. rm -f config/hooks/normal/0140-remove-log-files.hook.chroot
  38. rm -f config/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot
  39. rm -f config/hooks/normal/0120-remove-dbus-machine-id.hook.chroot
  40. rm -f config/hooks/normal/0110-remove-backup-files.hook.chroot
  41. rm -f config/hooks/normal/0100-remove-adjtime-configuration.hook.chroot
  42. rm -f config/hooks/normal/0040-create-locales-files.hook.chroot
  43. rm -f config/hooks/normal/0030-enable-cryptsetup.hook.chroot
  44. rm -f config/hooks/normal/0020-create-mtab-symlink.hook.chroot
  45. rm -f build.log