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

Modify /etc/os-release on build #25

Merged
merged 5 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/build-udroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@ on:
paths:
- "**.sh"
- "**.yml"
workflow_dispatch: { }

jobs:
BuidJammyRaw:
name: build Jammy
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v2

- name: Satify Dependencies
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
run: |
sudo apt-get update
sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y

- name: Trigger fs-cook
run: sudo bash .github/scripts/build-jammy.sh
Expand All @@ -43,10 +47,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v2

- name: Satify Dependencies
run: sudo apt-get update; sudo apt-get install git build-essential binfmt-support qemu-user-static debootstrap -y
Expand Down
5 changes: 4 additions & 1 deletion plugins/envsetup
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ do_build() {
if [ "$(type -t additional_setup)" == "function" ]; then
additional_setup
fi


shout "patching '/etc/os-release'"
sed -i 's/Ubuntu/Ubuntu On Android/g' $target_dir/etc/os-release

if ! $NO_COMPRESSION; then
do_compress "$chroot_dir"
fi
Expand Down