Allow striping magisk

Fix #64 

TODO: make kernel su as another option
This commit is contained in:
LoveSy 2021-11-10 16:51:56 +08:00 committed by GitHub
parent 3a5bc6ec89
commit eb30a2d7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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