mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch_6.yml
modified: .github/workflows/mikrotik_patch_7.yml
This commit is contained in:
parent
5ec0020aee
commit
9f9fad29ae
6
.github/workflows/mikrotik_patch_6.yml
vendored
6
.github/workflows/mikrotik_patch_6.yml
vendored
@ -135,8 +135,10 @@ jobs:
|
||||
sudo mkdir ./install
|
||||
sudo mount /dev/nbd0 ./install
|
||||
sudo extlinux --install -H 64 -S 32 ./install/
|
||||
sudo echo -e 'default system\nLABEL system\n\tKERNEL linux\n\tAPPEND load_ramdisk=1 initrd=initrd.rgz -hdd-install' \
|
||||
> ./install/syslinux.cfg
|
||||
echo -e 'default system\nLABEL system\n\tKERNEL linux\n\tAPPEND load_ramdisk=1 initrd=initrd.rgz -hdd-install' \
|
||||
> syslinux.cfg
|
||||
sudo cp syslinux.cfg ./install/
|
||||
sudo rm syslinux.cfg
|
||||
NPK_FILES=($(find ./all_packages/*.npk))
|
||||
for ((i=1; i<=${#NPK_FILES[@]}; i++))
|
||||
do
|
||||
|
12
.github/workflows/mikrotik_patch_7.yml
vendored
12
.github/workflows/mikrotik_patch_7.yml
vendored
@ -243,11 +243,15 @@ jobs:
|
||||
sudo unzip refind-bin-0.14.2.zip refind-bin-0.14.2/refind/refind_x64.efi
|
||||
sudo cp refind-bin-0.14.2/refind/refind_x64.efi ./install/EFI/BOOT/BOOTX64.EFI
|
||||
sudo rm -rf refind-bin-0.14.2
|
||||
sudo echo -e 'timeout 0\ntextonly\ntextmode 0\nshowtools shutdown, reboot, exit\nmenuentry "Install RouterOS" {\n\tloader /linux\n\toptions "load_ramdisk=1 root=/dev/ram0 -install -hdd"\n}\ndefault_selection /EFI/BOOT/BOOTX64.EFI' \
|
||||
> ./install/EFI/BOOT/refind.conf
|
||||
echo -e 'timeout 0\ntextonly\ntextmode 0\nshowtools shutdown, reboot, exit\nmenuentry "Install RouterOS" {\n\tloader /linux\n\toptions "load_ramdisk=1 root=/dev/ram0 -install -hdd"\n}\ndefault_selection /EFI/BOOT/BOOTX64.EFI' \
|
||||
> refind.conf
|
||||
sudo cp refind.conf ./install/EFI/BOOT/
|
||||
sudo rm refind.conf
|
||||
sudo extlinux --install -H 64 -S 32 ./install/
|
||||
sudo echo -e 'default system\nLABEL system\n\tKERNEL linux\n\tAPPEND load_ramdisk=1 -install -hdd' \
|
||||
> ./install/syslinux.cfg
|
||||
echo -e 'default system\nLABEL system\n\tKERNEL linux\n\tAPPEND load_ramdisk=1 -install -hdd' \
|
||||
> syslinux.cfg
|
||||
sudo cp syslinux.cfg ./install/
|
||||
sudo rm syslinux.cfg
|
||||
sudo cp ./BOOTX64.EFI ./install/linux
|
||||
NPK_FILES=($(find ./all_packages/*.npk))
|
||||
for ((i=1; i<=${#NPK_FILES[@]}; i++))
|
||||
|
Loading…
Reference in New Issue
Block a user