Compare commits
3 Commits
4602ef58db
...
66cdc4bdb4
Author | SHA1 | Date | |
---|---|---|---|
66cdc4bdb4 | |||
be6e041547 | |||
f932ab2d71 |
@ -14,11 +14,6 @@ dnf list installed | grep 'dracut-config-generic' > /dev/null && \
|
|||||||
# /lib/kernel/install.d/10-devicetree.install remove
|
# /lib/kernel/install.d/10-devicetree.install remove
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# remove '/boot/dtb' because the kernel should use '/boot/dtb'
|
|
||||||
if [ -d /boot/dtb ]; then
|
|
||||||
rm -r -v -f /boot/dtb
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Kernel selection at boot
|
# Kernel selection at boot
|
||||||
cat << EOF > /etc/sysconfig/kernel
|
cat << EOF > /etc/sysconfig/kernel
|
||||||
# This file was generated by the Kickstart repository used to create this disk image
|
# This file was generated by the Kickstart repository used to create this disk image
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
# Include packages that are basic and also packages that are expected to be present
|
# Include packages that are basic and also packages that are expected to be present
|
||||||
@core
|
@core
|
||||||
@standard
|
@standard
|
||||||
@hardware-support
|
|
||||||
|
|
||||||
# Extra packages to do 'uboot -> grub -> linux'
|
# Extra packages to do 'uboot -> grub -> linux'
|
||||||
dracut-config-generic
|
dracut-config-generic
|
||||||
@ -26,9 +25,10 @@ bcm283x-overlays
|
|||||||
|
|
||||||
# Kernel selection
|
# Kernel selection
|
||||||
## mainline (the latest "stable" release from kernel.org)
|
## mainline (the latest "stable" release from kernel.org)
|
||||||
kernel-ml # TODO: change this to whatever <sig-kernel> ends up using
|
#kernel-ml # TODO: change this to whatever <sig-kernel> ends up using
|
||||||
## LTS (the latest "longterm" release from kernel.org)
|
## LTS (the latest "longterm" release from kernel.org)
|
||||||
#kernel-lt # TODO: change this to whatever <sig-kernel> ends up using
|
#kernel-lt # TODO: change this to whatever <sig-kernel> ends up using
|
||||||
|
kernel-opi5
|
||||||
|
|
||||||
# Other packages
|
# Other packages
|
||||||
bash-completion
|
bash-completion
|
||||||
@ -46,7 +46,8 @@ tmux
|
|||||||
#initial-setup
|
#initial-setup
|
||||||
|
|
||||||
# Remove some packages
|
# Remove some packages
|
||||||
-java-11-*
|
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
-java-11-*
|
||||||
|
-kmod-kvdo
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
@ -28,6 +28,13 @@ curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/s
|
|||||||
[ -f /usr/local/bin/expand-rootfs.sh ] && \
|
[ -f /usr/local/bin/expand-rootfs.sh ] && \
|
||||||
chmod --verbose +x /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
|
# Remove all network connections and/or links
|
||||||
rm -v -f /etc/sysconfig/network-scripts/ifcfg-link
|
rm -v -f /etc/sysconfig/network-scripts/ifcfg-link
|
||||||
rm -v -f /etc/NetworkManager/system-connections/*.nmconnection
|
rm -v -f /etc/NetworkManager/system-connections/*.nmconnection
|
||||||
|
Loading…
Reference in New Issue
Block a user