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

generator: Fixes for Android Boot environment #3192

Merged

Commits on Feb 21, 2024

  1. generator: Fixes for Android Boot environment

    In Android Boot environment we do not parse ostree= karg to determine
    what directory to boot into, alternatively we do this based on the
    androidboot.slot_suffix= karg. But we do set ostree=true karg to denote
    that we are indeed booting an ostree environment (required for some
    systemd unit files). This change accounts for this approach in the
    systemd generator. In this case androidboot.slot_suffix= points you to
    /ostree/root.[a|b] and then that points you to the directory to boot
    into in /ostree/deploy... Here is what a cmdline may look like in this
    type of environment:
    
    androidboot.slot_suffix=_a androidboot.bootdevice=*.ufshc root=PARTLABEL=system_a root=UUID=76a22bf4-f153-4541-b6c7-0332c0dfaeac rw ostree=true loglevel=4 acpi=off console=ttyAMA0 systemd.show_status=auto libahci.ignore_sss=1 slub_debug=FPZ fsck.mode=skip rcupdate.rcu_normal_after_boot=0 rcupdate.rcu_expedited=1
    
    Signed-off-by: Eric Curtin <[email protected]>
    ericcurtin committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    4a71845 View commit details
    Browse the repository at this point in the history