mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
075e9b933a
commit
72b51e00ac
6
.github/workflows/mikrotik_patch.yml
vendored
6
.github/workflows/mikrotik_patch.yml
vendored
@ -17,7 +17,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Patch_RouterOS_7:
|
Patch_RouterOS_7:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
channel: [stable, testing]
|
channel: [stable, testing]
|
||||||
@ -175,12 +175,12 @@ jobs:
|
|||||||
- name: Create install-image-${{ env.LATEST_VERSION }}.img
|
- name: Create install-image-${{ env.LATEST_VERSION }}.img
|
||||||
run: |
|
run: |
|
||||||
sudo modprobe nbd
|
sudo modprobe nbd
|
||||||
sudo apt install -y qemu-utils extlinux > /dev/null
|
sudo apt-get install -y qemu-utils extlinux > /dev/null
|
||||||
# Loading system
|
# Loading system
|
||||||
# Copyright (C) 1994-2015 H. Peter Anvin et al
|
# Copyright (C) 1994-2015 H. Peter Anvin et al
|
||||||
# 20210811
|
# 20210811
|
||||||
# CHS EDD
|
# CHS EDD
|
||||||
sudo xxd -p -u /usr/bin/extlinux | tr -d '\n' | sed \
|
sudo xxd -p -u /usr/bin/extlinux | tr -d '\n' | sed \
|
||||||
-e 's/0D0A5359534C494E555820362E30342000/4C6F6164696E672073797374656D0D0A00/g' \
|
-e 's/0D0A5359534C494E555820362E30342000/4C6F6164696E672073797374656D0D0A00/g' \
|
||||||
-e 's/20436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/00436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/g' \
|
-e 's/20436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/00436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/g' \
|
||||||
-e 's/203230323130383131/003230323130383131/g' \
|
-e 's/203230323130383131/003230323130383131/g' \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user