diff --git a/.github/workflows/build-udroid.yml b/.github/workflows/build-udroid.yml index ad1b208..887a8d7 100644 --- a/.github/workflows/build-udroid.yml +++ b/.github/workflows/build-udroid.yml @@ -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 @@ -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 diff --git a/plugins/envsetup b/plugins/envsetup index 2f1c195..76ea47f 100755 --- a/plugins/envsetup +++ b/plugins/envsetup @@ -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 (Udroid)/g' $target_dir/etc/os-release + if ! $NO_COMPRESSION; then do_compress "$chroot_dir" fi