am 38868b9b
: Merge "BuildBootImage: Add secondstage image support"
* commit '38868b9bedf63578ed8ec8d426064e94f81ad862': BuildBootImage: Add secondstage image support
This commit is contained in:
@@ -292,6 +292,11 @@ def BuildBootableImage(sourcedir, fs_config_file, info_dict=None):
|
||||
|
||||
cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
|
||||
|
||||
fn = os.path.join(sourcedir, "second")
|
||||
if os.access(fn, os.F_OK):
|
||||
cmd.append("--second")
|
||||
cmd.append(fn)
|
||||
|
||||
fn = os.path.join(sourcedir, "cmdline")
|
||||
if os.access(fn, os.F_OK):
|
||||
cmd.append("--cmdline")
|
||||
|
Reference in New Issue
Block a user