mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch.yml
deleted: busybox/busybox_aarch64
This commit is contained in:
parent
0def33f3b2
commit
f788dc702d
13
.github/workflows/mikrotik_patch.yml
vendored
13
.github/workflows/mikrotik_patch.yml
vendored
@ -57,20 +57,17 @@ jobs:
|
||||
- name: Create Squashfs for option and python3
|
||||
if: steps.cache-squashfs.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
sudo wget -O bash -nv https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox_ASH
|
||||
sudo wget -O busybox -nv https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox
|
||||
sudo chmod +x busybox
|
||||
sudo chmod +x bash
|
||||
sudo mkdir -p ./option-root/bin/
|
||||
sudo mv busybox ./option-root/bin/
|
||||
sudo mv bash ./option-root/bin/
|
||||
COMMANDS=$(./option-root/bin/busybox --list)
|
||||
sudo cp busybox/busybox_x86_64 ./option-root/bin/busybox
|
||||
sudo chmod +x ./option-root/bin/busybox
|
||||
sudo chmod +x ./busybox/busybox_x86_64
|
||||
COMMANDS=$(./busybox/busybox_x86_64 --list)
|
||||
for cmd in $COMMANDS; do
|
||||
sudo ln -sf /pckg/option/bin/busybox ./option-root/bin/$cmd
|
||||
done
|
||||
sudo mksquashfs option-root option.sfs -quiet -comp xz -no-xattrs -b 256k
|
||||
sudo rm -rf option-root
|
||||
sudo wget -O cpython-3.11.9.tar.gz -nv https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.11.9+20240415-x86_64-unknown-linux-musl-install_only.tar.gz
|
||||
sudo wget -O cpython-3.11.9.tar.gz -nv https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.11.9+20240415-x86_64-unknown-linux-gnu-install_only.tar.gz
|
||||
sudo tar -xf cpython-3.11.9.tar.gz
|
||||
sudo rm cpython-3.11.9.tar.gz
|
||||
sudo rm -rf ./python/include
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user