modified: .github/workflows/mikrotik_patch.yml

deleted:    busybox/busybox_aarch64
This commit is contained in:
zyb 2024-07-03 22:05:27 +08:00
parent 0def33f3b2
commit f788dc702d
2 changed files with 5 additions and 8 deletions

View File

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