[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Crush and maintainer scripts - Emdebian BAKED



On Tue, 13 Apr 2010 10:10:07 +0100
Neil Williams <codehelp@debian.org> wrote:

Further idea for Baked:

Instead of doing a brute-force 'rm -rf' of the dpkg and apt metadata
after a multistrap install, it's as easy to do 'rm' as it is to do 'mv'
from the rootfs to somewhere outside the rootfs. That can then be
stored, compressed, archived, whatever, kept for future reference and
other purposes (like restoring in order to fix critical bugs without
reinstalling) etc.etc. One particular file to consider for this
is /var/lib/dpkg/status - there could be an argument for retaining this
file inside the rootfs (compressed) even if dpkg itself is removed as
the status file expresses all of the dpkg metadata for that device and
as a version of debian/control data it will compress extremely well.

This support might allow users to have their Baked cake and eat it...
(Credit to Nick Bane for that enhancement)

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgphe_MMCiVfv.pgp
Description: PGP signature


Reply to: