[shr-u] update shr quite safely

Davide Scaini dscaini at gmail.com
Sun Jul 26 19:49:19 CEST 2009

Hi guys,
 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

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"...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090726/f2b187fe/attachment.htm 

More information about the community mailing list