diff mbox series

[meta-arago,master] init-ifupdown: Remove legacy network scripts

Message ID 20251111185802.2351715-1-afd@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master] init-ifupdown: Remove legacy network scripts | expand

Commit Message

Andrew Davis Nov. 11, 2025, 6:58 p.m. UTC
These were added back in 2012 to work around an issue with the versions
in oe-core relating to our test farm, those issues have since been
resolved in oe-core. Plus our tested images use systemd so these are
no longer used anyway, remove them.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../init-ifupdown/init-ifupdown-arago.inc     |  4 --
 .../init-ifupdown/init-ifupdown/init          | 63 -------------------
 .../init-ifupdown/init-ifupdown/interfaces    | 36 -----------
 .../init-ifupdown/init-ifupdown_%.bbappend    |  4 --
 4 files changed, 107 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc
 delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init
 delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces
 delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend

Comments

PRC Automation Nov. 11, 2025, 7 p.m. UTC | #1
meta-arago / na / 20251111185802.2351715-1-afd

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] init-ifupdown: Remove legacy network scripts
- Submitter: From: Andrew Davis <afd@ti.com>
- Date: Date: Tue, 11 Nov 2025 12:58:02 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 23aed2bf168e05839e26d94bff5d0a1a893546d0

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202511110100
- Commit SHA: 260cfe5d29feca96d784fc914a546677242fe2dd

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc
deleted file mode 100644
index 0c1689c0..00000000
--- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc
+++ /dev/null
@@ -1,4 +0,0 @@ 
-# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/init-ifupdown:"
-
-PR:append = ".arago1"
diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init
deleted file mode 100644
index 86aff881..00000000
--- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init
+++ /dev/null
@@ -1,63 +0,0 @@ 
-#!/bin/sh
-#
-### BEGIN INIT INFO
-# Provides:          networking
-# Required-Start:    $local_fs mountvirtfs
-# Required-Stop:     $local_fs
-# Default-Start:     S
-# Default-Stop:      0 6
-# Short-Description: Raise network interfaces and configure them
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-if ! [ -x /sbin/ifup ]; then
-    exit 0
-fi
-
-case "$1" in
-    start)
-        if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | 
-          grep -q "^/ nfs$"; then
-            echo "NOT configuring network interfaces: / is an NFS mount"
-        elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |  
-          grep -q "^/ smbfs$"; then
-            echo "NOT configuring network interfaces: / is an SMB mount"
-	elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | 
-          grep -qE '^(nfs|smbfs|ncp|coda)$'; then
-            echo "NOT configuring network interfaces: network shares still mounted."
-        else
-            echo -n "Configuring network interfaces... "
-            ifup -a
-	    echo "done."
-      fi
-	;;
-    stop)
-        if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | 
-          grep -q "^/ nfs$"; then
-            echo "NOT deconfiguring network interfaces: / is an NFS mount"
-        elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |  
-          grep -q "^/ smbfs$"; then
-            echo "NOT deconfiguring network interfaces: / is an SMB mount"
-	elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | 
-          grep -qE '^(nfs|smbfs|ncp|coda)$'; then
-            echo "NOT deconfiguring network interfaces: network shares still mounted."
-        else
-            echo -n "Deconfiguring network interfaces... "
-            ifdown -a
-	    echo "done."
-        fi
-	;;
-    force-reload|restart)
-        echo -n "Reconfiguring network interfaces... "
-        ifdown -a
-        ifup -a
-	echo "done."
-	;;
-    *)
-	echo "Usage: /etc/init.d/networking {start|stop|restart|force-reload}"
-	exit 1
-	;;
-esac
-
-exit 0
diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces
deleted file mode 100644
index 15460a45..00000000
--- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces
+++ /dev/null
@@ -1,36 +0,0 @@ 
-# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
- 
-# The loopback interface
-auto lo
-iface lo inet loopback
-
-# Wireless interfaces
-iface wlan0 inet dhcp
-	wireless_mode managed
-	wireless_essid any
-	wpa-driver wext
-	wpa-conf /etc/wpa_supplicant.conf
-
-iface tiwlan0 inet dhcp
-	wireless_mode managed
-	wireless_essid any
-
-iface atml0 inet dhcp
-
-# Wired or wireless interfaces
-auto eth0
-iface eth0 inet dhcp
-        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
-        udhcpc_opts -R -b
-
-iface eth1 inet dhcp
-iface eth2 inet dhcp
-iface eth3 inet dhcp
-iface eth4 inet dhcp
-
-# Ethernet/RNDIS gadget (g_ether)
-# ... or on host side, usbnet and random hwaddr
-iface usb0 inet dhcp
-
-# Bluetooth networking
-iface bnep0 inet dhcp
diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend
deleted file mode 100644
index 875b33de..00000000
--- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend
+++ /dev/null
@@ -1,4 +0,0 @@ 
-INIT_IFUPDOWN_ARAGO = ""
-INIT_IFUPDOWN_ARAGO:arago = "init-ifupdown-arago.inc"
-
-require ${INIT_IFUPDOWN_ARAGO}