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

Re: Bug#524534: initramfs-tools: returns error when attempting to remove an already removed initrd



Hi,

        This problem exists because any posrtrm script is called twice
 when purging a package; first, to remove it, and second, to purge it.

        kernel-package passes along the maintainer scripts in the
 standard format proposed by Frans Pop, and the example scripts take
 care to only try to remove the initrd images  in the remove phase.

        I do not know enough of the upstram make deb-pkg to know ig the
 patches Frans had were ever accepted into the mainline kernel (since
 that would enable looking at the maintainer script arguments from
 dpkg). 

        In any case, this postinst script should probably ignore errors
 caused by trying to remove the initramfs metadata.

        manoj
-- 
This login session: $13.76, but for you $11.88.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: