On Fri, Sep 24, 2010 at 10:36:23AM +0200, Julien Cristau wrote: >On Thu, Sep 23, 2010 at 12:55:55 +0100, Steve McIntyre wrote: > >> tags 550584 +patch >> thanks >> >> Hiya, >> >> I'm just upgrading the kernels on the armel dev boards we're hosting >> at ARM for buildds, and I've done exactly what's suggested here. I've >> added the following script as /etc/kernel/postinst.d/zz-flash-kernel : >> >> ----------- >> #!/bin/sh >> >> version="$1" >> bootopt="" >> >> # passing the kernel version is required >> [ -z "${version}" ] && exit 0 >> >> echo "Running flash-kernel ${version}" >> flash-kernel ${version} >> --------- >> >You might want to write to stderr instead (the kernel postinst uses >debconf).
Doh, of course. -- Steve McIntyre, Cambridge, UK. st...@einval.com Who needs computer imagery when you've got Brian Blessed? -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100924101256.gc10...@einval.com