Re: install from full CD

2004-05-07 Thread Joey Hess
Joey Hess wrote:
> If it's not in discover2, then d-i should not rely on it anyway. I have
> considered making cdrom-detect add the symlink (in its prebaseconfig
> script), which would ensure that the same CD is use by base-config as
> was used for the initial install, if the system has more than one CD
> drive. But I thought discover might mess with it. Apparently several
> programs use the link so we cannot drop it entirely.

I'm uploading a prebaseconfig that will take care of this. I didn't put
it in cdrom-detect, so it will work for installs that did not happen
from CD, but did find the CD drive.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: install from full CD

2004-05-07 Thread Joey Hess
Gaudenz Steinlin wrote:
> While preparing a fix for the /media issue in discover1 I thought about
> removing this feature from discover1. IMO there are 2 good reasons to do this:
> 
> 1) discover (Version 2) does not have this feature, so it will go away in
> the long run.
> 2) I doubt that it is really usefull because it does not add entries to the
> fstab and if you have an external cdrom the device names can change if you
> plug/unplug this device.
> 
> However I don't know if there are some parts of the system that rely on
> discover1 setting up these links. What do others think about it?

If it's not in discover2, then d-i should not rely on it anyway. I have
considered making cdrom-detect add the symlink (in its prebaseconfig
script), which would ensure that the same CD is use by base-config as
was used for the initial install, if the system has more than one CD
drive. But I thought discover might mess with it. Apparently several
programs use the link so we cannot drop it entirely.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: install from full CD

2004-05-07 Thread David Nusinow
On Fri, May 07, 2004 at 11:49:09AM +0200, Gaudenz Steinlin wrote:
> While preparing a fix for the /media issue in discover1 I thought about
> removing this feature from discover1. IMO there are 2 good reasons to do this:
> 
> 1) discover (Version 2) does not have this feature, so it will go away in
> the long run.
> 2) I doubt that it is really usefull because it does not add entries to the
> fstab and if you have an external cdrom the device names can change if you
> plug/unplug this device.
> 
> However I don't know if there are some parts of the system that rely on
> discover1 setting up these links. What do others think about it?

I've seriously considered getting rid of it as well, or at least setting
the debconf priority to low and setting the default be to not having the
mount points. While it's valuable to have the feature, I think only a
very small number of people need it. However, I didn't want to break d-i
by removing it at this late a stage, and I figured it would go away
during the transition later on. If we can switch the default and not
break d-i though, I say go for it since it's causing problems.

 - David Nusinow


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: install from full CD

2004-05-07 Thread Gaudenz Steinlin
On Thu, May 06, 2004 at 11:49:17PM -0400, Joey Hess wrote:

> Ah, got it -- the netinst CD includes discover1, but this is not on the
> full CD (which does include discover), and its postinst is what creates
> the link. I've put a workaround for this kind of thing in base-config,
> but not installing discover is also a large problem. So once again the
> discover "transition" bites us. We need both discovers on the full CD,
> and if there is anything else on the netinst but not on the full CD, it
> probably needs to be added to it. Someone should check.

While preparing a fix for the /media issue in discover1 I thought about
removing this feature from discover1. IMO there are 2 good reasons to do this:

1) discover (Version 2) does not have this feature, so it will go away in
the long run.
2) I doubt that it is really usefull because it does not add entries to the
fstab and if you have an external cdrom the device names can change if you
plug/unplug this device.

However I don't know if there are some parts of the system that rely on
discover1 setting up these links. What do others think about it?

Gaudenz


signature.asc
Description: Digital signature