Compare commits
2 Commits
b60d0bcec1
...
fcb71a37e9
Author | SHA1 | Date | |
---|---|---|---|
fcb71a37e9 | |||
70206244a1 |
|
@ -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 ] && \
|
[ -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
|
||||||
|
|
|
@ -5,14 +5,14 @@ url --url=https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os
|
||||||
# the 'kernel-*' packages are disabled from these "default" repositories
|
# the 'kernel-*' packages are disabled from these "default" repositories
|
||||||
# because we will use either the LTS kernel or the latest mainline kernel
|
# because we will use either the LTS kernel or the latest mainline kernel
|
||||||
# from the '<sig-kernel>' repo
|
# from the '<sig-kernel>' repo
|
||||||
repo --install --name=AppStream --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=AppStream-9&arch=aarch64
|
repo --install --name=AppStream --baseurl=https://download.rockylinux.org/pub/rocky/9/AppStream/aarch64/os
|
||||||
repo --install --name=BaseOS --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=BaseOS-9&arch=aarch64
|
repo --install --name=BaseOS --baseurl=https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os
|
||||||
repo --install --name=CRB --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=CRB-9&arch=aarch64
|
repo --install --name=CRB --baseurl=https://download.rockylinux.org/pub/rocky/9/CRB/aarch64/os
|
||||||
repo --install --name=SIG-AltArch --mirrorlist=https://mirrors.rockylinux.org/mirrorlist?repo=rocky-sig-altarch-common-9&arch=aarch64
|
repo --install --name=SIG-AltArch --baseurl=https://download.rockylinux.org/pub/sig/9/altarch/aarch64/altarch-common
|
||||||
|
|
||||||
# Enable EPEL
|
# Enable EPEL
|
||||||
# TODO: disable this
|
# TODO: disable this
|
||||||
repo --install --name=EPEL --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=aarch64
|
repo --install --name=EPEL --baseurl=https://download.example/pub/epel/$releasever/Everything/aarch64
|
||||||
|
|
||||||
# Enable the Kernel ELRepo for the mainline kernel
|
# Enable the Kernel ELRepo for the mainline kernel
|
||||||
# TODO: disable this after <sig-kernel> is ready
|
# TODO: disable this after <sig-kernel> is ready
|
||||||
|
|
Loading…
Reference in New Issue
Block a user