[shr-u] update shr quite safely

Rui Miguel Silva Seabra rms at 1407.org
Sun Jul 26 20:18:07 CEST 2009

On Sun, Jul 26, 2009 at 07:49:19PM +0200, Davide Scaini wrote:
>  I want to share my little bash script to update shr without distroying my
> existing kernel (a true 2.6.28).
> It's really stupid, but maybe someone could find it interesting.
> opkg list_upgradable > upgradable
> cat upgradable | awk '{print $1}' | grep -v kernel | grep -v Multiple |
> while read line
> do echo "installing pack $line"
> opkg install $line
> done
> I have a script called upgrade.sh and I run that one. If you don't want to
> update for example tangogps (or wathever) just add
> grep -v tangogps |
> just before "while read line"...

Nice. But a little heavy on the little Neos :) May I suggest a possible

opkg list_upgradable | awk '!/(kernel|Multiple)/ {print $1}' upgradable | \
	while read line; do
		echo "installing pack $line"
		opkg install $line


More information about the community mailing list