Searched refs:second_stage (Results 1 – 2 of 2) sorted by relevance
644 const std::string& second_stage) { in LoadBootableImage() argument672 if (!second_stage.empty()) { in LoadBootableImage()673 if (!ReadFileToVector(second_stage, &second_stage_data)) { in LoadBootableImage()674 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage()2473 std::string second_stage; in Main() local2474 if (!args.empty()) second_stage = next_arg(&args); in Main()2475 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()2495 std::string second_stage; in Main() local2496 if (!args.empty()) second_stage = next_arg(&args); in Main()2498 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()
1084 Lastly once that phase finishes, it execs /system/bin/init again with the "second_stage"