Compare commits
2 Commits
419c669c10
...
d3fc7123b5
Author | SHA1 | Date | |
---|---|---|---|
d3fc7123b5 | |||
a4713b86b0 |
@ -10,9 +10,9 @@ dnf list installed | grep 'dracut-config-generic' > /dev/null && \
|
||||
rpm -e dracut-config-generic
|
||||
|
||||
# TODO: Add a comment to show what this is doing
|
||||
if [ -x /lib/kernel/install.d/10-devicetree.install ]; then
|
||||
/lib/kernel/install.d/10-devicetree.install remove
|
||||
fi
|
||||
#if [ -x /lib/kernel/install.d/10-devicetree.install ]; then
|
||||
# /lib/kernel/install.d/10-devicetree.install remove
|
||||
#fi
|
||||
|
||||
# remove '/boot/dtb' because the kernel should use '/boot/dtb'
|
||||
if [ -d /boot/dtb ]; then
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
%post
|
||||
|
||||
# Setup networking temporarily
|
||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||
|
||||
# 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
%pre
|
||||
|
||||
# Setup networking temporarily
|
||||
echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||
|
||||
%end
|
||||
|
Loading…
Reference in New Issue
Block a user