Avoid running update-initramfs more than once during installation

2006-08-08 Thread Petter Reinholdtsen
When installing debian-edu-artwork-usplash, the initrd is updated twice, once in the usplash postinst, and once in the debian-edu-artwork-usplash postinst. This seem like a waste of time to me. Could it be possible to rewrite initramfs-tools to make sure the initrd is only generated once, at

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread maximilian attems
hello Petter, On Tue, Aug 08, 2006 at 11:37:02AM +0200, Petter Reinholdtsen wrote: When installing debian-edu-artwork-usplash, the initrd is updated twice, once in the usplash postinst, and once in the debian-edu-artwork-usplash postinst. This seem like a waste of time to me. Could it be

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Jonas Smedegaard
On Tue, 08 Aug 2006 11:37:02 +0200 Petter Reinholdtsen wrote: The existing packages will continue to work, while packages moving to this new approach need to add update-initramfs-intent packagename to their config script, and replace update-initramfs with update-initramfs-intent

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Petter Reinholdtsen
[Maximilian Attems] agreed, but that is an dpkg bug not having a do this last and once hook. I know there is a long-term request for dpkg to get such support. But I've seen no indication that such support is approaching soon, so I believe it is best to solve this problem for update-initramfs

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Frans Pop
On Tuesday 08 August 2006 12:37, Petter Reinholdtsen wrote: Perhaps there is something to learn from the dictionaries-common package? I have not checked how they do it, but know the dictionary packages only ask the user once to select language, after all the language packages are installed.

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Jonas Smedegaard
On Tue, 08 Aug 2006 13:04:38 +0200 Frans Pop wrote: On Tuesday 08 August 2006 12:37, Petter Reinholdtsen wrote: Perhaps there is something to learn from the dictionaries-common package? I have not checked how they do it, but know the dictionary packages only ask the user once to select

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Frans Pop
On Tuesday 08 August 2006 14:18, Jonas Smedegaard wrote: It is no bug: The logic is to ask again when new possible better options comes around, or if your choice disappears. But Petter's claim was that you would not be asked twice during the same installation. And my comments were only meant

Re: Avoid running update-initramfs more than once during installation

2006-08-08 Thread Jonas Smedegaard
On Tue, 08 Aug 2006 15:02:54 +0200 Frans Pop wrote: On Tuesday 08 August 2006 14:18, Jonas Smedegaard wrote: It is no bug: The logic is to ask again when new possible better options comes around, or if your choice disappears. But Petter's claim was that you would not be asked twice during