mirror of
https://github.com/t2linux/T2-Ubuntu.git
synced 2024-10-03 16:28:13 +03:00
Kubuntu 24.04 - LTS
This commit is contained in:
parent
541f013438
commit
c0fbdfff12
@ -5,7 +5,7 @@ echo >&2 "===]> Info: Checkout bootstrap... "
|
||||
debootstrap \
|
||||
--arch=amd64 \
|
||||
--variant=minbase \
|
||||
mantic \
|
||||
noble \
|
||||
"${CHROOT_PATH}" \
|
||||
http://archive.ubuntu.com/ubuntu/
|
||||
|
||||
|
@ -37,7 +37,7 @@ done
|
||||
|
||||
echo >&2 "===]> Info: Create diskdefines... "
|
||||
cat <<EOF >"${IMAGE_PATH}"/README.diskdefines
|
||||
#define DISKNAME Kubuntu MBP 23.10 "Mantic Minotaur" - amd64
|
||||
#define DISKNAME Kubuntu MBP 24.04 LTS "Noble Numbat" - amd64
|
||||
#define TYPE binary
|
||||
#define TYPEbinary 1
|
||||
#define ARCH amd64
|
||||
|
@ -23,7 +23,7 @@ xorriso -as mkisofs \
|
||||
-no-emul-boot \
|
||||
-isohybrid-mbr "${ROOT_PATH}/files/isohdpfx.bin" \
|
||||
-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
|
||||
-output "${ROOT_PATH}/kubuntu-23.10-${KERNEL_VERSION}.iso" \
|
||||
-output "${ROOT_PATH}/kubuntu-24.04-${KERNEL_VERSION}.iso" \
|
||||
-graft-points \
|
||||
"." \
|
||||
/boot/grub/bios.img=isolinux/bios.img \
|
||||
|
10
build.sh
10
build.sh
@ -36,11 +36,11 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||
syslinux
|
||||
|
||||
echo >&2 "===]> Info: Start loop... "
|
||||
for ALTERNATIVE in t2-mantic
|
||||
for ALTERNATIVE in t2-noble
|
||||
do
|
||||
echo >&2 "===]> Info: Start building ${ALTERNATIVE}... "
|
||||
|
||||
echo >&2 "===]> Info: Build Kubuntu Mantic... "
|
||||
echo >&2 "===]> Info: Build Kubuntu Noble... "
|
||||
/bin/bash -c "
|
||||
ROOT_PATH=${ROOT_PATH} \\
|
||||
WORKING_PATH=${WORKING_PATH} \\
|
||||
@ -51,7 +51,7 @@ do
|
||||
${ROOT_PATH}/01_build_file_system.sh
|
||||
"
|
||||
|
||||
echo >&2 "===]> Info: Build Image Mantic... "
|
||||
echo >&2 "===]> Info: Build Image Noble... "
|
||||
/bin/bash -c "
|
||||
ROOT_PATH=${ROOT_PATH} \\
|
||||
WORKING_PATH=${WORKING_PATH} \\
|
||||
@ -85,10 +85,10 @@ do
|
||||
fi
|
||||
### 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}"
|
||||
zip -s 2000m "${ROOT_PATH}/output/kubuntu-23.10-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/kubuntu-23.10-${KERNEL_VERSION}-${ALTERNATIVE}.iso"
|
||||
zip -s 2000m "${ROOT_PATH}/output/kubuntu-24.04-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/kubuntu-24.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso"
|
||||
done
|
||||
## Calculate sha256 sums of built ISO
|
||||
sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256-kubuntu-23.10"
|
||||
sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256-kubuntu-24.04"
|
||||
|
||||
find ./ | grep ".iso"
|
||||
find ./ | grep ".zip"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
DOCKER_IMAGE=ubuntu:23.10
|
||||
DOCKER_IMAGE=ubuntu:24.04
|
||||
|
||||
docker pull ${DOCKER_IMAGE}
|
||||
docker run \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
CODENAME=mantic
|
||||
CODENAME=noble
|
||||
|
||||
echo >&2 "===]> Info: Configure environment... "
|
||||
|
||||
@ -151,13 +151,13 @@ apt-get purge -y -qq \
|
||||
vim \
|
||||
binutils \
|
||||
linux-generic \
|
||||
linux-headers-6.5.0-9 \
|
||||
linux-headers-6.5.0-9-generic \
|
||||
linux-headers-6.8.0-31 \
|
||||
linux-headers-6.8.0-31-generic \
|
||||
linux-headers-generic \
|
||||
linux-image-6.5.0-9-generic \
|
||||
linux-image-6.8.0-31-generic \
|
||||
linux-image-generic \
|
||||
linux-modules-6.5.0-9-generic \
|
||||
linux-modules-extra-6.5.0-9-generic \
|
||||
linux-modules-6.8.0-31-generic \
|
||||
linux-modules-extra-6.8.0-31-generic \
|
||||
sddm-theme-debian-maui \
|
||||
gedit
|
||||
|
||||
|
@ -6,27 +6,27 @@ insmod all_video
|
||||
set default="0"
|
||||
set timeout=30
|
||||
|
||||
menuentry "Try Kubuntu Mantic Minotaur without installing" {
|
||||
menuentry "Try Kubuntu Noble Numbat without installing" {
|
||||
linux /casper/vmlinuz file=/cdrom/preseed/mbp.seed boot=casper ro pcie_ports=native intel_iommu=on iommu=pt ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
menuentry "Try Kubuntu Mantic Minotaur without installing (Safe Graphics)" {
|
||||
menuentry "Try Kubuntu Noble Numbat without installing (Safe Graphics)" {
|
||||
linux /casper/vmlinuz file=/cdrom/preseed/mbp164.seed boot=casper ro nomodeset pcie_ports=native intel_iommu=on iommu=pt ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
menuentry "Try Kubuntu Mantic Minotaur without installing (NVMe blacklisted)" {
|
||||
menuentry "Try Kubuntu Noble Numbat without installing (NVMe blacklisted)" {
|
||||
linux /casper/vmlinuz file=/cdrom/preseed/mbp.seed boot=casper ro pcie_ports=native intel_iommu=on iommu=pt modprobe.blacklist=nvme ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
menuentry "Install Kubuntu Mantic Minotaur" {
|
||||
menuentry "Install Kubuntu Noble Numbat" {
|
||||
linux /casper/vmlinuz preseed/file=/cdrom/preseed/mbp.seed boot=casper only-ubiquity pcie_ports=native intel_iommu=on iommu=pt ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
menuentry "Install Kubuntu Mantic Minotaur (Safe Graphics)" {
|
||||
menuentry "Install Kubuntu Noble Numbat (Safe Graphics)" {
|
||||
linux /casper/vmlinuz preseed/file=/cdrom/preseed/mbp164.seed boot=casper only-ubiquity nomodeset pcie_ports=native intel_iommu=on iommu=pt ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
menuentry "Install Kubuntu Mantic Minotaur (NVMe blacklisted)" {
|
||||
menuentry "Install Kubuntu Noble Numbat (NVMe blacklisted)" {
|
||||
linux /casper/vmlinuz preseed/file=/cdrom/preseed/mbp.seed boot=casper only-ubiquity pcie_ports=native intel_iommu=on iommu=pt modprobe.blacklist=nvme ---
|
||||
initrd /casper/initrd
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user