Android manifests to compile AOSP for Anbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

  1. # platform manifest for postmarketOS's anbox image
  2. have a look at https://gitlab.com/postmarketOS/anbox-image-make/
  3. for the build instructions.
  4. please don't rely on the commit hash in this repo, as they will be
  5. rebased.
  6. ## `pin-this-tree.sh`
  7. this tool is used to maintain this repository: it pins every git tree
  8. to its currently checked out commit.
  9. How to pin the commits:
  10. 1. in this repo, get back to the original, non-pinned,
  11. version of the manifest
  12. ```sh
  13. git checkout unpinned default.xml
  14. ```
  15. 2. get the android source
  16. ```sh
  17. cd anbox-image-make # (that's the git repo above)
  18. make fetch && date=$(date -u +%s) # get the latest version of the source
  19. ```
  20. 3. pin the versions and create the tarball
  21. ```sh
  22. cd source # anbox-image-make/source, or wherever you did put it
  23. repo forall -c '~/platform_manifests/pin-this-tree.sh'
  24. tar -czf anbox-image-$date.tar.gz *
  25. ```
  26. then go back to this repository, `git commit default.xml -m "pin to $date"`, `git push` and upload the tarball.
  27. ## Note for maintainers
  28. When not pushing a change that pin commits, remember to update the unpinned tag: `git tag -f unpinned`