Jooncheol Park 34acdd2534 Fix ManifestParseError when first child node is comment
If the first line of manifest.xml is a XML comment, root.childNodes[0]
is not a 'manifest' element node. The python minidom module will makes
a 'Comment' node as root.childNodes[0]. Since the original code only
checks whether the first child node is 'manifest', it couldn't do any
command including 'sync' due to the 'ManifestParseError' exception. This
patch could allow the comments between '<?xml ...?>' and '<manifest>' in
the manifest.xml file.

Change-Id: I0b81dea4f806965eca90f704c8aa7df49c579402
2012-09-07 08:38:08 -07:00
2009-06-02 00:09:07 +02:00
2009-06-02 00:09:07 +02:00
2012-08-23 12:15:26 +02:00
2008-10-21 07:00:00 -07:00
2012-04-13 09:46:00 -07:00
2012-08-23 12:15:26 +02:00
2012-08-23 12:15:26 +02:00
2011-09-19 14:52:57 -07:00
S
Description
Cryptsetup是一个基于块设备加密内核模块,用于方便地设置磁盘加密的实用工具。Cryptsetup is utility used to conveniently setup disk encryption based on DMCrypt kernel module.
15 MiB
Languages
C 60.7%
Shell 27.6%
Makefile 7.9%
M4 3.8%