mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
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:
parent
ca44942adb
commit
ab082c4d1c
5 changed files with 4 additions and 3 deletions
7
.github/workflows/mikrotik_patch.yml
vendored
7
.github/workflows/mikrotik_patch.yml
vendored
|
|
@ -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)
|
||||||
|
|
|
||||||
BIN
busybox/busybox
BIN
busybox/busybox
Binary file not shown.
Loading…
Add table
Reference in a new issue