So this is well-known. defaults-builder could drop the cleanup of the
apt lists, but that would severely increase the size of the images. I
propose this could become an option, which would make the removal of
/var/lib/apt/lists/* conditional in ubuntu-defaults-image:

# clean up files that we do not need
cat <<EOF > config/chroot_local-hooks/90_cleanup
#!/bin/sh
set -e
echo "$0: Removing unnecessary files..."
rm -vf /var/cache/apt/*cache.bin
rm -vf /var/lib/apt/lists/*_*
rm -vrf /tmp/*
EOF

The caches and /tmp/* etc. should still be cleaned.

** Changed in: ubuntu-defaults-builder (Ubuntu)
   Importance: Undecided => Low

** Changed in: ubuntu-defaults-builder (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/942180

Title:
  apport detect every package as not genuine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-defaults-it/+bug/942180/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to