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).
Cheers, Julien
signature.asc
Description: Digital signature