From eb30a2d7e9e441290b2efe7e2c382b314827df5f Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 10 Nov 2021 16:51:56 +0800 Subject: [PATCH] Allow striping magisk Fix #64 TODO: make kernel su as another option --- .github/workflows/magisk.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index 0ea7b59..e01cfb9 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -13,6 +13,10 @@ on: description: 'Variants of gapps. Should be: [none, aroma, super, stock, full, mini, micro, nano, pico, tvstock, tvmini]' required: true default: 'none' + root_sol: + description: 'Root soluction. Should be: [magisk, none]' + required: true + default: 'magisk' jobs: build: @@ -149,6 +153,7 @@ jobs: sudo mount -o loop ${{ matrix.arch }}/product.img system/product sudo mount -o loop ${{ matrix.arch }}/system_ext.img system/system_ext - name: Integrate Magisk + if: ${{ github.event.inputs.gapps_variant == 'magisk' || github.event.inputs.gapps_variant == '' }} run: | sudo mkdir system/sbin sudo chcon --reference system/init.environ.rc system/sbin