modified: .github/workflows/mikrotik_patch.yml

deleted:    busybox/busybox
	renamed:    busybox/Makefile -> gobash/Makefile
	renamed:    busybox/go.mod -> gobash/go.mod
	renamed:    busybox/main.go -> gobash/main.go
This commit is contained in:
zyb 2024-06-30 18:23:47 +08:00
parent ca44942adb
commit ab082c4d1c
5 changed files with 4 additions and 3 deletions

View File

@ -57,12 +57,13 @@ jobs:
- name: Create Squashfs for option and python3 - name: Create Squashfs for option and python3
if: steps.cache-squashfs.outputs.cache-hit != 'true' if: steps.cache-squashfs.outputs.cache-hit != 'true'
run: | run: |
cd busybox cd gobash
sudo make sudo make
sudo wget -O busybox -nv https://bin.ajam.dev/x86_64_Linux/busybox
cd .. cd ..
sudo mkdir -p ./option-root/bin/ sudo mkdir -p ./option-root/bin/
sudo cp ./busybox/busybox ./option-root/bin/ sudo cp ./gobash/busybox ./option-root/bin/
sudo cp ./busybox/bash ./option-root/bin/ sudo cp ./gobash/bash ./option-root/bin/
sudo chmod +x ./option-root/bin/busybox sudo chmod +x ./option-root/bin/busybox
sudo chmod +x ./option-root/bin/bash sudo chmod +x ./option-root/bin/bash
COMMANDS=$(./option-root/bin/busybox --list) COMMANDS=$(./option-root/bin/busybox --list)

Binary file not shown.