Android-cuttlefish cvd tool
Namespaces | Functions
boot_image_utils.h File Reference
#include <optional>
#include <string>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/commands/assemble_cvd/disk/generate_persistent_bootconfig.h"
#include "cuttlefish/host/libs/avb/avb.h"
Include dependency graph for boot_image_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

Result< void > cuttlefish::RepackBootImage (const Avb &avb, const std::string &new_kernel_path, const std::string &boot_image_path, const std::string &new_boot_image_path, const std::string &build_dir)
 
bool cuttlefish::RepackVendorBootImage (const std::string &new_ramdisk, const std::string &vendor_boot_image_path, const std::string &new_vendor_boot_image_path, const std::string &unpack_dir, bool bootconfig_supported)
 
bool cuttlefish::RepackVendorBootImageWithEmptyRamdisk (const std::string &vendor_boot_image_path, const std::string &new_vendor_boot_image_path, const std::string &unpack_dir, bool bootconfig_supported)
 
Result< std::string > cuttlefish::UnpackBootImage (const std::string &boot_image_path, const std::string &unpack_dir)
 
bool cuttlefish::UnpackVendorBootImageIfNotUnpacked (const std::string &vendor_boot_image_path, const std::string &unpack_dir)
 
void cuttlefish::RepackGem5BootImage (const std::string &initrd_path, const std::optional< BootConfigPartition > &bootconfig_partition, const std::string &unpack_dir, const std::string &input_ramdisk_path)
 
Result< std::string > cuttlefish::ReadAndroidVersionFromBootImage (const std::string &boot_image_path)
 
void cuttlefish::UnpackRamdisk (const std::string &original_ramdisk_path, const std::string &ramdisk_stage_dir)
 
void cuttlefish::PackRamdisk (const std::string &ramdisk_stage_dir, const std::string &output_ramdisk)