Hello,
I've made a backport of mondo 2.09-3, on a sarge machine with raid1 soft.
Even if I nuke my just restored archive, initrd is not recreated despite
post-nuke.
I look at the log from mondorestore, and I found that dpkg return only a
part of my kernel name.
So I've patched post-nuke to add a export COLUMNS=200 before dpkg -l and
It seems to be OK now.
You could see this poor patch in attachement.
Cheers,
Augustin.
--- post-nuke.orig 2006-10-04 12:59:55.506481784 +0000
+++ post-nuke 2006-10-04 13:00:28.103526280 +0000
@@ -33,14 +33,14 @@
# Update configuration for installed 2.4 kernels
chroot $TARGET \
-dpkg -l kernel-image\* | grep ^ii | \
+export COLUMNS=200; dpkg -l kernel-image\* | grep ^ii | \
while read status pkg junk ; do
chroot $TARGET dpkg-reconfigure -fnoninteractive $pkg
done
# Update configuration for installed 2.6 kernels
chroot $TARGET \
-dpkg -l linux-image\* | grep ^ii | \
+export COLUMNS=200; dpkg -l linux-image\* | grep ^ii | \
while read status pkg junk ; do
chroot $TARGET dpkg-reconfigure -fnoninteractive $pkg
done