On Jul 04, Michael Prokop <m...@debian.org> wrote:

> | /var/lib/dpkg/tmp.ci/preinst: 259: udevd: not found
I do not understand how udevd could not exist in the chroot, do you?

> Besides the wrong version number (2.6.27 vs 2.6.32) and executing
> the non-present udevd binary I noticed that udev.preinst doesn't
> seem to support preseeding the according debconf question. Therefore
You can create /etc/udev/kernel-upgrade (and no, I will not document it).
I will be happy to accept patches to support preseeding as well.

> Maybe the chroot check (which exists and works) could also be
> extended to this "requires a kernel >= 2.6.{27,32}" check so it's
> possible but not necessary to preseed the values for chroots.
All these preinst checks must be skipped when upgrading a chroot, and
indeed they are as long as you do not have the external /dev mounted
inside it. I added an explicit check.
OTOH, this way you will easily be able to upgrade udev on a chrooted
system without an acceptable kernel, but I see no good solution to this
problem.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to