From 70206244a192b92196fd8954d7e5d4472dd4158d Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 13 Aug 2023 09:43:10 +0530 Subject: [PATCH] move Orange Pi 5 specific stuff to kernel-opi5 pkg --- includes/post-install.ksi | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/post-install.ksi b/includes/post-install.ksi index fa5cd59..bc0060d 100644 --- a/includes/post-install.ksi +++ b/includes/post-install.ksi @@ -28,13 +28,6 @@ curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/s [ -f /usr/local/bin/expand-rootfs.sh ] && \ chmod --verbose +x /usr/local/bin/expand-rootfs.sh -# Orange Pi 5 stuff -ROOT_PART_UUID=$(grep ' / ' /etc/fstab | awk '{ print $1 }') -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 -sed -i "s/REPLACE_WITH_UUID_HERE_6969/${ROOT_PART_UUID}/g" /boot/orangepiEnv.txt - # Remove all network connections and/or links rm -v -f /etc/sysconfig/network-scripts/ifcfg-link rm -v -f /etc/NetworkManager/system-connections/*.nmconnection