mirror of https://github.com/marcosfad/mbp-ubuntu
added kubuntu support
This commit is contained in:
parent
93668650fb
commit
8901999489
|
@ -37,7 +37,7 @@ done
|
||||||
|
|
||||||
echo >&2 "===]> Info: Create diskdefines... "
|
echo >&2 "===]> Info: Create diskdefines... "
|
||||||
cat <<EOF >"${IMAGE_PATH}"/README.diskdefines
|
cat <<EOF >"${IMAGE_PATH}"/README.diskdefines
|
||||||
#define DISKNAME Ubuntu MBP 23.04 "Lunar Lobster" - amd64
|
#define DISKNAME Kubuntu MBP 23.04 "Lunar Lobster" - amd64
|
||||||
#define TYPE binary
|
#define TYPE binary
|
||||||
#define TYPEbinary 1
|
#define TYPEbinary 1
|
||||||
#define ARCH amd64
|
#define ARCH amd64
|
||||||
|
|
|
@ -10,7 +10,7 @@ echo >&2 "===]> Info: Create Isolinux... "
|
||||||
xorriso -as mkisofs \
|
xorriso -as mkisofs \
|
||||||
-iso-level 3 \
|
-iso-level 3 \
|
||||||
-full-iso9660-filenames \
|
-full-iso9660-filenames \
|
||||||
-volid "UBUNTU_MBP" \
|
-volid "KUBUNTU_MBP" \
|
||||||
-b boot/grub/bios.img \
|
-b boot/grub/bios.img \
|
||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-boot-load-size 4 \
|
-boot-load-size 4 \
|
||||||
|
@ -23,7 +23,7 @@ xorriso -as mkisofs \
|
||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-isohybrid-mbr "${ROOT_PATH}/files/isohdpfx.bin" \
|
-isohybrid-mbr "${ROOT_PATH}/files/isohdpfx.bin" \
|
||||||
-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
|
-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
|
||||||
-output "${ROOT_PATH}/ubuntu-23.04-${KERNEL_VERSION}.iso" \
|
-output "${ROOT_PATH}/kubuntu-23.04-${KERNEL_VERSION}.iso" \
|
||||||
-graft-points \
|
-graft-points \
|
||||||
"." \
|
"." \
|
||||||
/boot/grub/bios.img=isolinux/bios.img \
|
/boot/grub/bios.img=isolinux/bios.img \
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -40,7 +40,7 @@ for ALTERNATIVE in t2-lunar
|
||||||
do
|
do
|
||||||
echo >&2 "===]> Info: Start building ${ALTERNATIVE}... "
|
echo >&2 "===]> Info: Start building ${ALTERNATIVE}... "
|
||||||
|
|
||||||
echo >&2 "===]> Info: Build Ubuntu Lunar... "
|
echo >&2 "===]> Info: Build Kubuntu Lunar... "
|
||||||
/bin/bash -c "
|
/bin/bash -c "
|
||||||
ROOT_PATH=${ROOT_PATH} \\
|
ROOT_PATH=${ROOT_PATH} \\
|
||||||
WORKING_PATH=${WORKING_PATH} \\
|
WORKING_PATH=${WORKING_PATH} \\
|
||||||
|
@ -85,7 +85,7 @@ do
|
||||||
fi
|
fi
|
||||||
### Zip iso and split it into multiple parts - github max size of release attachment is 2GB, where ISO is sometimes bigger than that
|
### Zip iso and split it into multiple parts - github max size of release attachment is 2GB, where ISO is sometimes bigger than that
|
||||||
cd "${ROOT_PATH}"
|
cd "${ROOT_PATH}"
|
||||||
zip -s 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/ubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso"
|
zip -s 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/kubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso"
|
||||||
done
|
done
|
||||||
## Calculate sha256 sums of built ISO
|
## Calculate sha256 sums of built ISO
|
||||||
sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256"
|
sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256"
|
||||||
|
|
|
@ -11,7 +11,7 @@ mount none -t devpts /dev/pts
|
||||||
export HOME=/root
|
export HOME=/root
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
echo "ubuntu-lunar-live" >/etc/hostname
|
echo "kubuntu-lunar-live" >/etc/hostname
|
||||||
|
|
||||||
echo >&2 "===]> Info: Configure and update apt... "
|
echo >&2 "===]> Info: Configure and update apt... "
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ echo >&2 "===]> Info: Install packages needed for Live System... "
|
||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
||||||
ubuntu-standard \
|
kde-standard \
|
||||||
sudo \
|
sudo \
|
||||||
casper \
|
casper \
|
||||||
discover \
|
discover \
|
||||||
|
@ -64,7 +64,8 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||||
intel-microcode \
|
intel-microcode \
|
||||||
thermald \
|
thermald \
|
||||||
grub2 \
|
grub2 \
|
||||||
nautilus-admin
|
nautilus-admin \
|
||||||
|
software-properties-common
|
||||||
|
|
||||||
curl -L https://github.com/t2linux/T2-Ubuntu-Kernel/releases/download/vKVER-PREL/linux-headers-KVER-${ALTERNATIVE}_KVER-PREL_amd64.deb > /tmp/headers.deb
|
curl -L https://github.com/t2linux/T2-Ubuntu-Kernel/releases/download/vKVER-PREL/linux-headers-KVER-${ALTERNATIVE}_KVER-PREL_amd64.deb > /tmp/headers.deb
|
||||||
curl -L https://github.com/t2linux/T2-Ubuntu-Kernel/releases/download/vKVER-PREL/linux-image-KVER-${ALTERNATIVE}_KVER-PREL_amd64.deb > /tmp/image.deb
|
curl -L https://github.com/t2linux/T2-Ubuntu-Kernel/releases/download/vKVER-PREL/linux-image-KVER-${ALTERNATIVE}_KVER-PREL_amd64.deb > /tmp/image.deb
|
||||||
|
@ -75,10 +76,17 @@ echo >&2 "===]> Info: Install window manager... "
|
||||||
|
|
||||||
apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
||||||
plymouth-theme-spinner \
|
plymouth-theme-spinner \
|
||||||
|
plymouth-theme-kubuntu-logo \
|
||||||
|
plymouth-theme-kubuntu-text \
|
||||||
plymouth-theme-ubuntu-text \
|
plymouth-theme-ubuntu-text \
|
||||||
ubuntu-desktop-minimal \
|
kde-plasma-desktop \
|
||||||
ubuntu-gnome-wallpapers \
|
kubuntu-settings-desktop \
|
||||||
snapd
|
plasma-discover \
|
||||||
|
kubuntu-wallpapers \
|
||||||
|
kde-plasma-desktop \
|
||||||
|
sddm-theme-breeze \
|
||||||
|
snapd \
|
||||||
|
firefox
|
||||||
|
|
||||||
echo >&2 "===]> Info: Install Graphical installer... "
|
echo >&2 "===]> Info: Install Graphical installer... "
|
||||||
|
|
||||||
|
@ -86,7 +94,7 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||||
ubiquity \
|
ubiquity \
|
||||||
ubiquity-casper \
|
ubiquity-casper \
|
||||||
ubiquity-frontend-gtk \
|
ubiquity-frontend-gtk \
|
||||||
ubiquity-slideshow-ubuntu \
|
ubiquity-slideshow-kubuntu \
|
||||||
ubiquity-ubuntu-artwork
|
ubiquity-ubuntu-artwork
|
||||||
|
|
||||||
echo >&2 "===]> Info: Install useful applications and sound configuration... "
|
echo >&2 "===]> Info: Install useful applications and sound configuration... "
|
||||||
|
@ -143,6 +151,7 @@ apt-get purge -y -qq \
|
||||||
linux-image-generic \
|
linux-image-generic \
|
||||||
linux-modules-6.2.0-20-generic \
|
linux-modules-6.2.0-20-generic \
|
||||||
linux-modules-extra-6.2.0-20-generic \
|
linux-modules-extra-6.2.0-20-generic \
|
||||||
|
sddm-theme-debian-maui \
|
||||||
gedit
|
gedit
|
||||||
|
|
||||||
apt-get autoremove -y
|
apt-get autoremove -y
|
||||||
|
|
Loading…
Reference in New Issue