forked from len0rd/rockbox
nwztools/scripts: export model id in an environment variable
This is useful because there is no easy way to get it except from Sony's tool, unless one knows the npv node, but that requires to know the model already... Change-Id: I202f7cdb2f7cf924cc5bdb53c17e34600d4bf153
This commit is contained in:
parent
37f95f67fe
commit
281c8d4700
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ fi
|
|||
|
||||
# get update filename
|
||||
_UPDATE_FN_=`nvpstr ufn`
|
||||
# export model id
|
||||
export ICX_MODEL_ID=`/usr/local/bin/nvpflag -x mid`
|
||||
|
||||
# extract second file
|
||||
fwpchk -f /contents/$_UPDATE_FN_.UPG -c -1 exec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue