OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
fad9b7e
)
Merge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 18 Jan 2016 17:08:54 +0000
(
01:08
+0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 18 Jan 2016 17:08:54 +0000
(
01:08
+0800)
install/scripts/1-install
patch
|
blob
|
history
diff --git
a/install/scripts/1-install
b/install/scripts/1-install
index
411a768
..
080a965
100644
(file)
--- a/
install/scripts/1-install
+++ b/
install/scripts/1-install
@@
-194,9
+194,9
@@
create_img()
rm -f $2
fi
dialog --title " Question " --nook --nocancel --inputbox \
- "\nPlease input the size of the $bname in MB
(max 2047)
:" 8 63 $1 2> $tempfile
+ "\nPlease input the size of the $bname in MB:" 8 63 $1 2> $tempfile
size=`cat $tempfile`
- [ 0$size -le 0
-o 0$size -gt 2047 ] && size=2047
+ [ 0$size -le 0
] && size=1024
( dd bs=1M count=$size if=/dev/zero | pv -ns ${size}m | dd of=$2 ) 2>&1 \
| progress_bar "Creating $bname" "Expect to write $size MB..."
}