Talk:Adding flash support

From WebOS Internals
Revision as of 03:58, 8 May 2011 by Oc80z (talk | contribs) (* after extracting etc & usr from rootfs.tgz;verizon_webosdr.jar ; run this script to make your "rom")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How can you (script) extract the rootfs.tgz from the verizondoctor.jar? If you could add this to below, users can just run this script.

  1. !/bin/sh

func_list() { cat>$list_text<<EOF etc/adobe/ mms.cfg etc/adobe/ oem.cfg usr/lib/BrowserServerPlugins/ libflashplayer.so usr/lib/BrowserServerPlugins/resource/ plugin-icon-noplay.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-play-down.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-play.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-unknown.png usr/lib/BrowserServerPlugins/resource/ plugin-scrim.png usr/lib/ libFlashGraphics.so usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-noplay.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-play.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-unknown.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-scrim.png usr/lib/BrowserServerPlugins/ FlashMiniPlugin.so EOF }

  1. oc80z

local list_text="list.txt" local list_fldr="files" #do not modify func_list mkdir $list_fldr >&- 2>&- for x in $(cat $list_text) ; do touch dirs.sh copy.sh ; chmod +x *.sh echo $(awk '{print "mkdir -p","files/"$1,";"}' "$list_text") > dirs.sh echo $(awk '{print "cp",$1$2,"files/"$1,";"}' "$list_text") > copy.sh done ./dirs.sh ./copy.sh echo "Copied $(wc -l "$list_text" | awk '{print $1}') files to `pwd`/"$list_fldr" \ ($(du -sh "$list_fldr" | sed -e "s/$list_fldr/total/" | awk '{print $1,$2}'))"