On Sat, Jun 19, 2004 at 11:10:46AM +0200, Jens Schmalzing wrote: > Hi, > > Sven Luther writes: > > > > > how would mkvmlinuz act if there were no vmlinux installed, but > > > > only a vmlinuz ? > > > > > > It exits with a non-zero exit status. > > > > Which would kill dpkg, right ? > > Have you actually tried this?
Nope, but i guess it would result in a 'postinst died' kind of message, unless the kernel-package provided postinst checks for return codes, and ignores errors. > If not, please do so. If it does not work as expected, try again with > the following patch applied: > > --- mkvmlinuz.orig Mon Jun 7 15:07:35 2004 > +++ mkvmlinuz Sat Jun 19 11:08:43 2004 > @@ -86,7 +86,7 @@ > # we couldn't find a kernel, and therefore give up > if test -z "$kernel"; then > echo Could not find a kernel image file, please specify one. > - exit 1 > + exit 0 > fi > > # sanitize the location of the kernel Yeah, this would be a possible solution. Friendly, Sven Luther