Searched refs:second_stage (Results 1 – 2 of 2) sorted by relevance
447 const std::string& second_stage) { in LoadBootableImage() argument475 if (!second_stage.empty()) { in LoadBootableImage()476 if (!ReadFileToVector(second_stage, &second_stage_data)) { in LoadBootableImage()477 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage()1854 std::string second_stage; in Main() local1855 if (!args.empty()) second_stage = next_arg(&args); in Main()1856 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()1889 std::string second_stage; in Main() local1890 if (!args.empty()) second_stage = next_arg(&args); in Main()1892 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main()
873 Lastly once that phase finishes, it execs /system/bin/init again with the "second_stage"