mirror of https://github.com/marcosfad/mbp-ubuntu
OTP
This commit is contained in:
parent
8587b9d3c9
commit
398018a39f
|
@ -35,12 +35,12 @@ jobs:
|
||||||
Download all the artifacts, and put them in a folder
|
Download all the artifacts, and put them in a folder
|
||||||
without other files. Then run:"
|
without other files. Then run:"
|
||||||
unzip "*.z??.zip"
|
unzip "*.z??.zip"
|
||||||
cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip
|
cat livecd-${{ steps.tag.outputs.tag }}-t2.z?? > cd.zip
|
||||||
echo unzip cd.zip
|
echo unzip cd.zip
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/OTP'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/*.iso
|
files: ${{ github.workspace }}/*.iso
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -5,7 +5,7 @@ ROOT_PATH=$(pwd)
|
||||||
WORKING_PATH=/root/work
|
WORKING_PATH=/root/work
|
||||||
CHROOT_PATH="${WORKING_PATH}/chroot"
|
CHROOT_PATH="${WORKING_PATH}/chroot"
|
||||||
IMAGE_PATH="${WORKING_PATH}/image"
|
IMAGE_PATH="${WORKING_PATH}/image"
|
||||||
KERNEL_VERSION=5.15.6
|
KERNEL_VERSION=5.15.11
|
||||||
|
|
||||||
if [ -d "$WORKING_PATH" ]; then
|
if [ -d "$WORKING_PATH" ]; then
|
||||||
rm -rf "$WORKING_PATH"
|
rm -rf "$WORKING_PATH"
|
||||||
|
@ -33,7 +33,7 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||||
syslinux
|
syslinux
|
||||||
|
|
||||||
echo >&2 "===]> Info: Start loop... "
|
echo >&2 "===]> Info: Start loop... "
|
||||||
for ALTERNATIVE in t2-big-sur
|
for ALTERNATIVE in t2
|
||||||
do
|
do
|
||||||
echo >&2 "===]> Info: Start building ${ALTERNATIVE}... "
|
echo >&2 "===]> Info: Start building ${ALTERNATIVE}... "
|
||||||
|
|
||||||
|
|
|
@ -68,10 +68,11 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||||
|
|
||||||
# This is not ideal, but it should work until the apt repo gets updated.
|
# This is not ideal, but it should work until the apt repo gets updated.
|
||||||
|
|
||||||
curl -L https://github.com/AdityaGarg8/T2-Big-Sur-Ubuntu-Kernel/releases/download/v5.15.6-1/linux-headers-5.15.6-t2-big-sur_5.15.6-1_amd64.deb > /tmp/headers-bs.deb
|
curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/linux-headers-5.15.11-t2_5.15.11-1_amd64.deb > /tmp/headers.deb
|
||||||
curl -L https://github.com/AdityaGarg8/T2-Big-Sur-Ubuntu-Kernel/releases/download/v5.15.6-1/linux-image-5.15.6-t2-big-sur_5.15.6-1_amd64.deb > /tmp/image-bs.deb
|
curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/linux-image-5.15.11-t2_5.15.11-1_amd64.deb > /tmp/image.deb
|
||||||
|
curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/firmware.deb > /tmp/firmware.deb
|
||||||
file /tmp/*
|
file /tmp/*
|
||||||
apt install /tmp/headers-bs.deb /tmp/image-bs.deb
|
apt install /tmp/headers.deb /tmp/image.deb /tmp/firmware.deb
|
||||||
|
|
||||||
echo >&2 "===]> Info: Install window manager... "
|
echo >&2 "===]> Info: Install window manager... "
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue