On Sat, Jun 26, 2004 at 02:03:51PM +0200, Osamu Aoki wrote: > On Fri, Jun 25, 2004 at 12:41:53AM -0400, Joey Hess wrote: > > Let's get it working, and then later make it pretty. That's not hard > > to do, and I'm sure someone will eventally add a progress bar for it. > > OK: Here is one. Let me check this when I come back home later. > At least ALT-F4 will give you progress. > > --- cdrom-detect.postinst.org 1970-01-01 01:00:00.000000000 +0100 > +++ cdrom-detect.postinst 2004-06-26 13:54:47.000000000 +0200 ... > + log "Waiting 1 second and trying it again." > + sleep 1 > + if mount -t iso9660 -o ro,exec $device /cdrom
It did not wotk on sarge-i386-netinst_tc1.iso image as is. Busybox does not have "sleep" on this version. (Why?) I will put updated patch, iso-image example, syslog-commented, etc at http://people.debian.org/~osamu/pub/d-i/ It works but I think following messages after Detecting CD needs to be understood before applying. | Jun 26 19:34:27 (none) user.notice cdrom-detect: Detected CD with 'testing' distribution | Jun 26 19:34:27 (none) user.info main-menu[297]: (process:454): mount: Mounting /dev/cdroms/cdrom0 on /cdrom failed: Not a directory | Jun 26 19:34:27 (none) user.info main-menu[297]: (process:454): umount: | Jun 26 19:34:27 (none) user.info main-menu[297]: (process:454): /cdrom | Jun 26 19:34:27 (none) user.info main-menu[297]: (process:454): : Invalid argument Osamu PS: syslog-commented is my excerps from original syslog.
signature.asc
Description: Digital signature