17 Commits

Author SHA1 Message Date
Christopher R. Palmer
8047562c0a Properly escape the cmd_line
Previously img_info was created using double quotes and that
allows a lot of shell interpretation that can cause problems.
Switch to using ' to avoid most of the shell interpretation
(all that is left is ').  Make sure that works well by escaping
single quotes properly.

For example, the command line:

boo='ya' androidboot.selinux=permissive hi='there'

would be escaped in img_info as

cmd_line='boo='"'"'ya'"'"' androidboot.selinux=permissive hi='"'"'there'"'"''
2015-07-07 20:28:01 -04:00
xiaolu
b62e19ecbb fix error 2015-06-01 10:14:24 +08:00
xiaolu
acc9a04b5c Merge pull request #11 from crpalmer/second
Extract and repack the second image
2015-06-01 08:45:46 +08:00
xiaolu
454e4509dd fix bug. 2015-05-31 20:21:05 +08:00
Christopher R. Palmer
41b42ffb55 Extract and repack the second image 2015-05-29 16:29:29 -04:00
xiaolu
837f05efcd Add more compression formats for ramdisk. 2015-05-27 20:11:59 +08:00
xiaolu
585556ba5b fix bug. 2015-03-10 18:55:33 +08:00
xiaolu
d8e37f1161 fix mkbootfs path. 2014-10-10 09:55:07 +08:00
xiaolu
c47eca6747 update 2014/09/01 2014-09-01 18:06:43 +08:00
ma34s
0207edde90 support lzma compressed ramdisk 2014-04-17 10:18:30 +09:00
ma34s
50c0c51f04 support lz4 compressed ramdisk 2014-04-17 09:55:27 +09:00
xiaolu
82937c8f66 Update 2014/1/11. 2014-01-11 15:48:56 +08:00
xiaolu
c651542aad Add mode from the unpacked directory to create boot.img. 2013-09-21 22:25:16 +08:00
xiaolu
188e1484bc If the unpack directory exists, asking whether to delete. 2013-09-09 16:33:23 +08:00
xiaolu
08541a1255 use full path for mkbootimg 2013-09-06 17:39:06 +08:00
xiaolu
455de78d37 Add license 2013-09-05 22:41:01 +08:00
xiaolu
33c7810e41 first commit 2013-09-05 22:28:47 +08:00