Problem with kernel pkg postinstall

Andy Green andy at
Fri Jan 18 11:25:25 CET 2008

Hash: SHA1

Hi folks -

While examining initscripts for why resume gets busted, I noticed this

$ ../init.d/ipkg-configure start
Starting to configure packages...
Configuring kernel-image-
Upgrading Kernel in Flash
DO NOT stop this process
Erasing 128 Kibyte @ 0 --  0 % complete.Erasing 128 Kibyte @ 20000 -- 50
% complete.
Image 1539424 bytes, NAND page 2048 bytes, OOB area 2048 bytes, device
size 262144 bytes
Input file does not fit into device: Success
Data was only partially written due to error
: Success
postinst script returned status 1
ERROR: kernel-image- returned 1
Nothing to be done
An error ocurred, return value: 1.
Finished to configure packages.

The postinstall script has chosen the wrong partition on my system,
which has the NOR stuff enabled.  It erases my U-Boot config every boot :-)

The kernel package postinstall script needs to grep /proc/mtd to find
out the device node it wants to nuke.

Maybe this is already done, I only saw this on the modified rootfs image
that Werner sent out yesterday, if so: great.  Otherwise it needs doing
to avoid havoc when the partitioning is changed.

- -Andy
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora -


More information about the distro-devel mailing list