Re: Clues on partman hooks?

2009-12-14 Thread Petter Reinholdtsen
[Colin Watson]
 I wonder if this really ought to be a hook, or if partman-auto
 should just behave differently as standard? After all, in general if
 automation fails we stop and present a dialog. Adding a hook for
 this seems like overengineering; if the expert recipe fails, an
 error dialog seems appropriate in general.

Sure, but Debian Edu need a fix for this in Lenny, and I guess it is
unlikely to get a fix into Lenny any time soon.

 If you want to also prevent use of the standard recipes (since it
 does still seem natural for partman-auto to fall back to them), you
 could simply remove them; is this possible for you?

That might be an option for us.  What is the correct way to use to
remove them?  What need to be removed?

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Clues on partman hooks?

2009-12-13 Thread Colin Watson
[CC: debian-b...@]

On Sun, Dec 13, 2009 at 10:02:32AM +0100, Petter Reinholdtsen wrote:
 Hi, Colin.  Do you have time to have a look at a partman issue for
 Debian Edu.  Our bug is
 URL:http://bugs.skolelinux.org/show_bug.cgi?id=1402.  The question I
 would like to ask is if there is a partman hook to use that will
 expose that the requested recipe was rejected and run before the
 partition table is touched.  I would like to show a dialog to the user
 stating that the disk was too small, instead of allowing partman to
 pick a different recipe and continue the installation.

I wonder if this really ought to be a hook, or if partman-auto should
just behave differently as standard? After all, in general if automation
fails we stop and present a dialog. Adding a hook for this seems like
overengineering; if the expert recipe fails, an error dialog seems
appropriate in general.

If you want to also prevent use of the standard recipes (since it does
still seem natural for partman-auto to fall back to them), you could
simply remove them; is this possible for you?

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org