mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 05:25:00 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
61d472527c
commit
86e7402d7a
8
.github/workflows/mikrotik_patch.yml
vendored
8
.github/workflows/mikrotik_patch.yml
vendored
@ -177,10 +177,10 @@ jobs:
|
||||
sudo modprobe nbd
|
||||
sudo apt install -y qemu-utils extlinux > /dev/null
|
||||
sudo xxd -p -u /usr/bin/extlinux | tr -d '\n' | sed \
|
||||
-e 's/0D0A5359534C494E555820362E30342000/4C6F6164696E672073797374656D0D0A00/g' \
|
||||
-e 's/20436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/00436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/g' \
|
||||
-e 's/203230323130383131/003230323130383131/g' \
|
||||
-e 's/43485300454444/00485300004444/g' | xxd -p -r >extlinux
|
||||
-e 's/0D0A5359534C494E555820362E30342000/4C6F6164696E672073797374656D0D0A00/g' \ #Loading system
|
||||
-e 's/20436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/00436F707972696768742028432920313939342D3230313520482E20506574657220416E76696E20657420616C0D0A/g' \ #Copyright (C) 1994-2015 H. Peter Anvin et al
|
||||
-e 's/203230323130383131/003230323130383131/g' \ #20210811
|
||||
-e 's/43485300454444/00485300004444/g' | xxd -p -r >extlinux #CHS EDD
|
||||
sudo chmod +x extlinux
|
||||
|
||||
truncate --size 256M install-image-$LATEST_VERSION.img
|
||||
|
Loading…
Reference in New Issue
Block a user