Compare commits
No commits in common. "d3fc7123b53d0e8d3b354fc60c28c3c0d60eeef5" and "419c669c10926bc5a8a994d4a7ae2c947bd1ee6b" have entirely different histories.
d3fc7123b5
...
419c669c10
@ -10,9 +10,9 @@ dnf list installed | grep 'dracut-config-generic' > /dev/null && \
|
|||||||
rpm -e dracut-config-generic
|
rpm -e dracut-config-generic
|
||||||
|
|
||||||
# TODO: Add a comment to show what this is doing
|
# TODO: Add a comment to show what this is doing
|
||||||
#if [ -x /lib/kernel/install.d/10-devicetree.install ]; then
|
if [ -x /lib/kernel/install.d/10-devicetree.install ]; then
|
||||||
# /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'
|
# remove '/boot/dtb' because the kernel should use '/boot/dtb'
|
||||||
if [ -d /boot/dtb ]; then
|
if [ -d /boot/dtb ]; then
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup networking temporarily
|
|
||||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
|
||||||
|
|
||||||
# The script that expands root partition
|
# The script that expands root partition
|
||||||
[ -d /usr/local/bin ] || mkdir --verbose /usr/local/bin
|
[ -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
|
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
|
%pre
|
||||||
|
|
||||||
# Setup networking temporarily
|
# Setup networking temporarily
|
||||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user