From 93668650fb283c0d1cabf3ba342719d9daa1e6ad Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sun, 30 Apr 2023 18:42:53 +0530 Subject: [PATCH] 23.04 - Lunar Lobster --- 01_build_file_system.sh | 2 +- 02_build_image.sh | 2 +- 04_create_iso.sh | 2 +- build.sh | 8 ++++---- build_in_docker.sh | 2 +- files/chroot_build.sh | 24 ++++++++++++------------ files/grub/grub.cfg | 10 +++++----- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/01_build_file_system.sh b/01_build_file_system.sh index 0b091fe..758b378 100755 --- a/01_build_file_system.sh +++ b/01_build_file_system.sh @@ -5,7 +5,7 @@ echo >&2 "===]> Info: Checkout bootstrap... " debootstrap \ --arch=amd64 \ --variant=minbase \ - kinetic \ + lunar \ "${CHROOT_PATH}" \ http://archive.ubuntu.com/ubuntu/ diff --git a/02_build_image.sh b/02_build_image.sh index 3df0d93..2fb98ef 100755 --- a/02_build_image.sh +++ b/02_build_image.sh @@ -37,7 +37,7 @@ done echo >&2 "===]> Info: Create diskdefines... " cat <"${IMAGE_PATH}"/README.diskdefines -#define DISKNAME Ubuntu MBP 22.10 "Kinetic Kudu" - Beta amd64 +#define DISKNAME Ubuntu MBP 23.04 "Lunar Lobster" - amd64 #define TYPE binary #define TYPEbinary 1 #define ARCH amd64 diff --git a/04_create_iso.sh b/04_create_iso.sh index 6060059..93deb7f 100755 --- a/04_create_iso.sh +++ b/04_create_iso.sh @@ -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}/ubuntu-22.10-${KERNEL_VERSION}.iso" \ + -output "${ROOT_PATH}/ubuntu-23.04-${KERNEL_VERSION}.iso" \ -graft-points \ "." \ /boot/grub/bios.img=isolinux/bios.img \ diff --git a/build.sh b/build.sh index ae71240..55d92d0 100755 --- a/build.sh +++ b/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-kinetic +for ALTERNATIVE in t2-lunar do echo >&2 "===]> Info: Start building ${ALTERNATIVE}... " - echo >&2 "===]> Info: Build Ubuntu Kinetic... " + echo >&2 "===]> Info: Build Ubuntu Lunar... " /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 Kinetic... " + echo >&2 "===]> Info: Build Image Lunar... " /bin/bash -c " ROOT_PATH=${ROOT_PATH} \\ WORKING_PATH=${WORKING_PATH} \\ @@ -85,7 +85,7 @@ 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 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/ubuntu-22.10-${KERNEL_VERSION}-${ALTERNATIVE}.iso" + zip -s 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/ubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso" done ## Calculate sha256 sums of built ISO sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256" diff --git a/build_in_docker.sh b/build_in_docker.sh index 0308516..943ac88 100755 --- a/build_in_docker.sh +++ b/build_in_docker.sh @@ -2,7 +2,7 @@ set -eu -o pipefail -DOCKER_IMAGE=ubuntu:22.10 +DOCKER_IMAGE=ubuntu:23.04 docker pull ${DOCKER_IMAGE} docker run \ diff --git a/files/chroot_build.sh b/files/chroot_build.sh index 449449e..a2129c9 100755 --- a/files/chroot_build.sh +++ b/files/chroot_build.sh @@ -11,17 +11,17 @@ mount none -t devpts /dev/pts export HOME=/root export LC_ALL=C -echo "ubuntu-kinetic-live" >/etc/hostname +echo "ubuntu-lunar-live" >/etc/hostname echo >&2 "===]> Info: Configure and update apt... " cat </etc/apt/sources.list -deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse -deb-src http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse -deb http://archive.ubuntu.com/ubuntu/ kinetic-security main restricted universe multiverse -deb-src http://archive.ubuntu.com/ubuntu/ kinetic-security main restricted universe multiverse -deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse -deb-src http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ lunar-security main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ lunar-security main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse EOF apt-get update @@ -136,13 +136,13 @@ apt-get purge -y -qq \ vim \ binutils \ linux-generic \ - linux-headers-5.19.0-21 \ - linux-headers-5.19.0-21-generic \ + linux-headers-6.2.0-20 \ + linux-headers-6.2.0-20-generic \ linux-headers-generic \ - linux-image-5.19.0-21-generic \ + linux-image-6.2.0-20-generic \ linux-image-generic \ - linux-modules-5.19.0-21-generic \ - linux-modules-extra-5.19.0-21-generic \ + linux-modules-6.2.0-20-generic \ + linux-modules-extra-6.2.0-20-generic \ gedit apt-get autoremove -y diff --git a/files/grub/grub.cfg b/files/grub/grub.cfg index 8a61f58..8fd1473 100644 --- a/files/grub/grub.cfg +++ b/files/grub/grub.cfg @@ -6,23 +6,23 @@ insmod all_video set default="0" set timeout=30 -menuentry "Try Ubuntu Kinetic Kudu without installing" { +menuentry "Try Ubuntu Lunar Lobster without installing" { linux /casper/vmlinuz file=/cdrom/preseed/mbp.seed boot=casper ro pcie_ports=compat intel_iommu=on iommu=pt --- initrd /casper/initrd } -menuentry "Try Ubuntu Kinetic Kudu without installing (Safe Graphics)" { +menuentry "Try Ubuntu Lunar Lobster without installing (Safe Graphics)" { linux /casper/vmlinuz file=/cdrom/preseed/mbp.seed boot=casper ro nomodeset pcie_ports=compat intel_iommu=on iommu=pt --- initrd /casper/initrd } -menuentry "Try Ubuntu Kinetic Kudu without installing (NVMe blacklisted)" { +menuentry "Try Ubuntu Lunar Lobster without installing (NVMe blacklisted)" { linux /casper/vmlinuz file=/cdrom/preseed/mbp.seed boot=casper ro pcie_ports=compat intel_iommu=on iommu=pt modprobe.blacklist=nvme --- initrd /casper/initrd } -menuentry "Install Ubuntu Kinetic Kudu" { +menuentry "Install Ubuntu Lunar Lobster" { linux /casper/vmlinuz preseed/file=/cdrom/preseed/mbp.seed boot=casper only-ubiquity pcie_ports=compat intel_iommu=on iommu=pt --- initrd /casper/initrd } -menuentry "Install Ubuntu Kinetic Kudu (NVMe blacklisted)" { +menuentry "Install Ubuntu Lunar Lobster (NVMe blacklisted)" { linux /casper/vmlinuz preseed/file=/cdrom/preseed/mbp.seed boot=casper only-ubiquity pcie_ports=compat intel_iommu=on iommu=pt modprobe.blacklist=nvme --- initrd /casper/initrd }