Searched refs:second_stage (Results 1 – 2 of 2) sorted by relevance
649 const std::string& second_stage) { in LoadBootableImage() argument677 if (!second_stage.empty()) { in LoadBootableImage()678 if (!ReadFileToVector(second_stage, &second_stage_data)) { in LoadBootableImage()679 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage()2480 std::string second_stage; in Main() local2481 if (!args.empty()) second_stage = next_arg(&args); in Main()2482 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()2502 std::string second_stage; in Main() local2503 if (!args.empty()) second_stage = next_arg(&args); in Main()2505 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()
1088 Lastly once that phase finishes, it execs /system/bin/init again with the "second_stage"