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

build: entirely use hybris-boot to generate bootimage. #5

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

Conversation

peat-psuwit
Copy link

This commit remove remaining Ubuntu Touch codes regarding ramdisk and
boot image handling, and entirely offload this work to hybris-boot
package.

With this commit, both bootimage and systemimage can be built
successfully for Fairphone 2.


Three things to bear in mind:

  1. The code for bootimage is entirely removed out of this file.
  2. Calling make bootimage will produce $(OUT)/hybris-boot.img instead of $(OUT)/boot.img.
  3. This commit doesn't handle recoveryimage. So, calling make recoveryimage will still produce Android-style recovery boot image as before. (BTW is it working in Halium at all?)

This is quite an intrusive change. Test thoroughly on a few different devices before merging this in.

This commit remove remaining Ubuntu Touch codes regarding ramdisk and
boot image handling, and entirely offload this work to hybris-boot
package.

With this commit, both bootimage and systemimage can be built
successfully for Fairphone 2.
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.

1 participant