Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

halium: allow fallbacking to an eventual system image available inside the rootfs on "halium" file layouts #25

Open
wants to merge 1 commit into
base: halium
Choose a base branch
from

Commits on Jan 19, 2021

  1. halium: allow fallbacking to an eventual system image available insid…

    …e the rootfs on "halium" file layouts
    
    Some distributions (e.g. hybris-mobian) ship the Android system image inside the
    rootfs image in userdata, thus breaking the the assumption that if rootfs.img exists,
    a matching system image in userdata is present.
    
    This commit reworks the image search inside `identify_android_image()` so that every supported
    path is tested on "halium" file layouts. ANDROID_IMAGE is determined there now too, and
    stores the real full path to the image.
    
    Note: if the system image is available both in userdata and inside the halium rootfs,
    the former is preferred.
    
    Signed-off-by: Eugenio Paolantonio (g7) <[email protected]>
    g7 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    e9660dc View commit details
    Browse the repository at this point in the history