Skip to content

Conversation

@jonhenderson-sky
Copy link

@jonhenderson-sky jonhenderson-sky commented May 30, 2024

  • Manage mounting android partitions
  • OCI Template modifications for Android
  • Extra settings for Android specific bind mounts and devices

It is not required to modify the base dobby.bb, but a device specific addition to the Dobby config must be made as required to support running Android on a specific device.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (doesn't fit into the above categories - e.g. documentation updates)

Requires Bitbake Recipe changes?

  • The base Bitbake recipe (meta-rdk-ext/recipes-containers/dobby/dobby.bb) must be modified to support the changes in this PR (beyond updating SRC_REV)

@CLAassistant
Copy link

CLAassistant commented May 30, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ jonhenderson-sky
❌ jon-henderson-comcast
You have signed the CLA already but the status is still pending? Let us recheck it.

@jonhenderson-sky jonhenderson-sky changed the title RDK-50163Support for running Android containers RDK-50163 Support for running Android containers May 30, 2024
endif()

if(PLUGIN_ANDROIDRUNTIME)
add_subdirectory(rdkPlugins/AndroidRuntime)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the rdkPlugins/AndroidRuntime directory in this PR

@goruklu
Copy link
Contributor

goruklu commented Jun 13, 2024

@jonhenderson-sky The unit tests and builds are failing, can you please correct those ?
Also, It would be great if you can add some unit tests for the Android container use case

@goruklu goruklu linked an issue Sep 11, 2024 that may be closed by this pull request
- Manage mounting android partitions
- OCI Template modifications for Android
- Extra settings for Android specific bind mounts and devices
Signed-off-by: Jon Henderson <jon.henderson2@sky.uk>
Provide the ability to use an alternate AppArmor profile when running
android containers, i.e.

{
    "android": {
        "appArmorProfile": "aosp_default"
    }
}

If no setting is provided, the normal Dobby profile will be used.
Support single compressed system.img (sqfs or erofs)
Remove special kernel commandline handling
@jonhenderson-sky jonhenderson-sky force-pushed the android_runtime_support branch from 835afe8 to 06b0702 Compare March 26, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support Android containers

4 participants