mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
fbb37977ae
commit
132d63e963
9
.github/workflows/mikrotik_patch.yml
vendored
9
.github/workflows/mikrotik_patch.yml
vendored
@ -61,18 +61,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Create squashfs for python3 npk
|
- name: Create squashfs for python3 npk
|
||||||
run: |
|
run: |
|
||||||
sudo wget -nv https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tar.xz
|
wget -nv https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tar.xz
|
||||||
sudo tar -xf Python-3.11.9.tar.xz
|
tar -xf Python-3.11.9.tar.xz
|
||||||
sudo rm -f Python-3.11.9.tar.xz
|
rm -f Python-3.11.9.tar.xz
|
||||||
sudo mkdir -p /pckg/python3/
|
sudo mkdir -p /pckg/python3/
|
||||||
cd Python-3.11.9
|
cd Python-3.11.9
|
||||||
./configure --enable-optimizations --prefix=/pckg/python3/ LDFLAGS="-static" CFLAGS="-static" --disable-shared --disable-test-modules --without-static-libpython
|
./configure --enable-optimizations --prefix=/pckg/python3/ LDFLAGS="-static" CFLAGS="-static" --disable-shared --disable-test-modules --without-static-libpython
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make altinstall
|
sudo make altinstall
|
||||||
cd ..
|
cd ..
|
||||||
sudo rm -rf Python-3.11.9
|
rm -rf Python-3.11.9
|
||||||
sudo mksquashfs /pckg/python3 python3.sfs -quiet -comp xz -no-xattrs -b 256
|
sudo mksquashfs /pckg/python3 python3.sfs -quiet -comp xz -no-xattrs -b 256
|
||||||
sudo rm -rf /pckg
|
sudo rm -rf /pckg
|
||||||
|
|
||||||
- name: Archive Generated File
|
- name: Archive Generated File
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user