From 8efd777a4b985597f1c7a476d2f700a21c798efc Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 6 Aug 2023 19:54:58 +0530 Subject: [PATCH] here ya go --- includes/package-list.ksi | 11 ++++++----- includes/post-install.ksi | 5 +++++ includes/rocky-9-repos.ksi | 14 +++++++------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/includes/package-list.ksi b/includes/package-list.ksi index 4ab2ef4..8373dd1 100644 --- a/includes/package-list.ksi +++ b/includes/package-list.ksi @@ -17,18 +17,19 @@ shim-aa64 systemd-udev # Packages from SIG/AltArch -uboot-tools -uboot-images-armv8 +#uboot-tools +#uboot-images-armv8 # Raspberry Pi firmware -bcm283x-firmware # this will pull in other RPi related firmware ;) +#bcm283x-firmware # this will pull in other RPi related firmware ;) # Raspberry Pi overlays -bcm283x-overlays +#bcm283x-overlays # Kernel selection ## mainline (the latest "stable" release from kernel.org) -kernel-ml # TODO: change this to whatever ends up using +#kernel-ml # TODO: change this to whatever ends up using ## LTS (the latest "longterm" release from kernel.org) #kernel-lt # TODO: change this to whatever ends up using +kernel-opi5 # Other packages bash-completion diff --git a/includes/post-install.ksi b/includes/post-install.ksi index f61cb7e..274551f 100644 --- a/includes/post-install.ksi +++ b/includes/post-install.ksi @@ -5,6 +5,11 @@ # Setup networking temporarily [ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf +# Orange Pi 5 stuff +curl 'https://git.rockylinux.org/thefossguy/opi5-boot/-/raw/r9/boot.cmd' --output /boot/boot.cmd +curl 'https://git.rockylinux.org/thefossguy/opi5-boot/-/raw/r9/boot.scr' --output /boot/boot.scr +curl 'https://git.rockylinux.org/thefossguy/opi5-boot/-/raw/r9/orangepiEnv.txt' --output /boot/orangepiEnv.txt + # The script that expands root partition [ -d /usr/local/bin ] || mkdir --verbose /usr/local/bin curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/scripts/expand-rootfs.sh' --output /usr/local/bin/expand-rootfs.sh diff --git a/includes/rocky-9-repos.ksi b/includes/rocky-9-repos.ksi index 4f5fabc..8e5e0e9 100644 --- a/includes/rocky-9-repos.ksi +++ b/includes/rocky-9-repos.ksi @@ -5,22 +5,22 @@ url --url=https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os # the 'kernel-*' packages are disabled from these "default" repositories # because we will use either the LTS kernel or the latest mainline kernel # from the '' repo -repo --install --name=AppStream --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=AppStream-9&arch=aarch64 -repo --install --name=BaseOS --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=BaseOS-9&arch=aarch64 -repo --install --name=CRB --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=CRB-9&arch=aarch64 +repo --install --name=AppStream --baseurl=https://download.rockylinux.org/pub/rocky/9/AppStream/aarch64/os +repo --install --name=BaseOS --baseurl=https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os +repo --install --name=CRB --baseurl=https://download.rockylinux.org/pub/rocky/9/CRB/aarch64/os # Enable EPEL # TODO: disable this -repo --install --name=EPEL --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=aarch64 +repo --install --name=EPEL --baseurl=https://dl.fedoraproject.org/pub/epel/9/Everything/aarch64/ # Enable the Kernel ELRepo for the mainline kernel # TODO: disable this after is ready -repo --install --name=ELRepo --mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el9 -repo --install --name=ELRepo-Kernel --mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el9 +#repo --install --name=ELRepo --mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el9 +#repo --install --name=ELRepo-Kernel --mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el9 # Temporarily enable my COPR for SIG/AltArch stuff # TODO: disable this -repo --install --name=COPR-thefossguy --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/epel-carryover/epel-9-aarch64 +repo --install --name=SIG-AltArch-OPI5 --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/rocky-9-sig-altarch/rhel-9-aarch64/ # Enable Sherif's repo (contains all the necessary firmware + uboot stuff) # TODO: disable this after is ready