Those are the only entry points we customize. Everything else is standard. Since you replaced systemd, then it’s your own init doing something else as /etc/init.d and /etc/systemd are the only init customization points.
cat /var/log/boot
Wed Oct 25 04:00:47 2023: IP-Config: no response after 25 secs - giving up
Wed Oct 25 04:00:47 2023: /scripts/init-premount/dropbear: line 366: ipconfig: not found
Wed Oct 25 04:00:47 2023: /scripts/init-premount/dropbear: line 366: ipconfig: not found
Wed Oct 25 04:00:47 2023: /scripts/init-premount/dropbear: line 366: ipconfig: not found
Wed Oct 25 04:00:47 2023: /scripts/init-premount/dropbear: .: line 384: can't open '/run/net-*.conf': No such file or directory
Wed Oct 25 04:00:47 2023: Starting early crypto disks...done.
Wed Oct 25 04:00:47 2023: Cleaning up temporary files... /tmp.
Wed Oct 25 04:00:47 2023: Starting remaining crypto disks...done.
Wed Oct 25 04:00:47 2023: Checking file systems...fsck.fat 4.2 (2021-01-31)
Wed Oct 25 04:00:47 2023: /dev/mmcblk1p1: 8 files, 2135/65206 clusters
Wed Oct 25 04:00:47 2023: done.
Wed Oct 25 04:00:47 2023: Mounting local filesystems...done.
Wed Oct 25 04:00:47 2023: Activating swapfile swap, if any...done.
Wed Oct 25 04:00:48 2023: Cleaning up temporary files....
Wed Oct 25 04:00:48 2023: Starting Setting kernel variables: sysctl.
Wed Oct 25 04:00:48 2023: Configuring network interfaces...done.
Wed Oct 25 04:00:48 2023: Cleaning up temporary files....
Wed Oct 25 04:00:48 2023: Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
Wed Oct 25 04:00:48 2023: - runit: leave stage: /etc/runit/1
Wed Oct 25 04:00:48 2023: - runit: enter stage: /etc/runit/2
Wed Oct 25 04:00:48 2023: runsvchdir: default: current.
Wed Oct 25 04:00:49 2023: Setting up console font and keymap...done.
Wed Oct 25 04:00:49 2023: Starting diskid_once:.
Wed Oct 25 04:00:49 2023: Starting Dropbear SSH server: dropbear.
Wed Oct 25 04:00:51 2023: Configuring Hardware RNG entropy gatherer daemon: no hardware RNG device found! failed!
Wed Oct 25 04:00:51 2023: Starting seatd: seatd.
Wed Oct 25 04:00:51 2023: Starting uuid generator: uuidd.
Wed Oct 25 04:00:51 2023: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!
You are looking at initramfs. Your changes to the images are not supported. We already indicated where the changes were in systemd and systemd rc emulation.
Please Google initramfs and how it works. You cannot “disable” initramfs without leaving your system in a possibly unbootable state. initramfs is responsible for integrating modules that were not built-in the kernel in a package that gets loaded before the filesystem is up.
And this is the portion that makes eth0 discovery endless:
configure_networking()
{
local netdev_desc
# The order of precedence here is:
# 1. Device specified by ip= kernel parameter
# 2. Device matching MAC specified by BOOTIF= kernel parameter
# 3. Build-time DEVICE variable
# In case 2 we only discover the device name while waiting
# for a device.
if _set_netdev_from_ip_param; then
netdev_desc="${DEVICE}"
elif [ -n "${BOOTIF}" ]; then
# pxelinux sets BOOTIF to a value based on the mac address of the
# network card used to PXE boot
# pxelinux sets BOOTIF to 01-$mac_address
# strip off the leading "01-", which isn't part of the mac
# address
temp_mac=${BOOTIF#*-}
# convert to typical mac address format by replacing "-" with ":"
bootif_mac=""
IFS='-'
for x in $temp_mac ; do
if [ -z "$bootif_mac" ]; then
bootif_mac="$x"
else
bootif_mac="$bootif_mac:$x"
fi
done
unset IFS
_set_netdev_from_hw_address "${bootif_mac}"
netdev_desc="device with address ${bootif_mac}"
elif [ -n "${DEVICE}" ]; then
netdev_desc="${DEVICE}"
else
netdev_desc="any network device"
fi
# networking already configured thus bail out
[ -n "${DEVICE}" ] && [ -e /run/net-"${DEVICE}".conf ] && return 0
local netdevwait=180
log_begin_msg "Waiting up to ${netdevwait} secs for ${netdev_desc} to become available"
while true; do
if [ "$(time_elapsed)" -ge "$netdevwait" ]; then
log_failure_msg "Network device did not appear in time"
break
fi
if [ -n "${DEVICE}" ]; then
[ -e "/sys/class/net/${DEVICE}" ] && break
elif [ -n "${bootif_mac}" ]; then
_set_netdev_from_hw_address "${bootif_mac}" && break
else
_usable_netdev_exists && break
fi
sleep 1
done
log_end_msg
_update_ip_param
wait_for_udev 10
# support ip options see linux sources
# Documentation/filesystems/nfs/nfsroot.txt
# Documentation/frv/booting.txt
for ROUNDTTT in 2 3 4 6 9 16 25 36 64 100; do
# The NIC is to be configured if this file does not exist.
# Ip-Config tries to create this file and when it succeds
# creating the file, ipconfig is not run again.
for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do
[ -e "$x" ] && break 2
done
case ${IP} in
none|off)
# Do nothing
;;
""|on|any)
# Bring up device
ipconfig -t ${ROUNDTTT} "${DEVICE}"
;;
dhcp|bootp|rarp|both)
ipconfig -t ${ROUNDTTT} -c "${IP}" -d "${DEVICE}"
;;
*)
ipconfig -t ${ROUNDTTT} -d "$IP"
;;
esac
done
# source ipconfig output
if [ -n "${DEVICE}" ]; then
# source specific bootdevice
. "/run/net-${DEVICE}.conf"
else
# source any interface...
# ipconfig should have quit after first response
. /run/net-*.conf
fi
}