-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake_scriptcmds
executable file
·26 lines (24 loc) · 1.2 KB
/
make_scriptcmds
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# vInstaller an Android upgrade tool.
# Copyright (C) 2012 Vincenzo Frascino <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
# this mkimage is from U-Boot, if you are not on (or compatible with) x86 linux, bring your own
mkimage -A arm -O linux -T script -C none -a 1 -e 0 -n "vInstaller script image" -d cmd scriptcmd
mkimage -A arm -O linux -T script -C none -a 1 -e 0 -n "vInstaller-x script image" -d cmd-x upgrade-x.img
mkimage -A arm -O linux -T script -C none -a 1 -e 0 -n "vInstaller-k script image" -d cmd-k upgrade-k.img
mv scriptcmd upgrade.img
mkimage -n "Android Run Script" -A arm -T script -C none -d run.txt run.img