more opi5 hakx
This commit is contained in:
parent
9a378e2619
commit
9caf0cea33
@ -1,6 +1,7 @@
|
||||
%include bootloader-stuff.ksi
|
||||
|
||||
%post
|
||||
ROOT_PART_UUID=$(grep ' / ' /etc/fstab | awk '{ print $1 }')
|
||||
|
||||
# Setup networking temporarily
|
||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||
@ -9,6 +10,7 @@
|
||||
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
|
||||
|
||||
# The script that expands root partition
|
||||
[ -d /usr/local/bin ] || mkdir --verbose /usr/local/bin
|
||||
|
Loading…
Reference in New Issue
Block a user