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]' description: 'Variants of gapps. Should be: [none, aroma, super, stock, full, mini, micro, nano, pico, tvstock, tvmini]'
required: true required: true
default: 'none' default: 'none'
root_sol:
description: 'Root soluction. Should be: [magisk, none]'
required: true
default: 'magisk'
jobs: jobs:
build: build:
@ -149,6 +153,7 @@ jobs:
sudo mount -o loop ${{ matrix.arch }}/product.img system/product sudo mount -o loop ${{ matrix.arch }}/product.img system/product
sudo mount -o loop ${{ matrix.arch }}/system_ext.img system/system_ext sudo mount -o loop ${{ matrix.arch }}/system_ext.img system/system_ext
- name: Integrate Magisk - name: Integrate Magisk
if: ${{ github.event.inputs.gapps_variant == 'magisk' || github.event.inputs.gapps_variant == '' }}
run: | run: |
sudo mkdir system/sbin sudo mkdir system/sbin
sudo chcon --reference system/init.environ.rc system/sbin sudo chcon --reference system/init.environ.rc system/sbin