From c14277b8cbe66729ae1dbdad857fcf61259e76db Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 2 Mar 2018 13:16:05 +0200 Subject: Remove ifupdown recipes ifupdown is no longer used in the images. Change-Id: I6a5abee6735fb10d6344d16af11a819bbaa5ff62 Reviewed-by: Mikko Gronoff --- .../init-ifupdown/beagleboard/interfaces | 33 ------------------- .../init-ifupdown/emulator/interfaces | 33 ------------------- .../init-ifupdown/init-ifupdown/fixed_mac_address | 7 ---- recipes/init-ifupdown/init-ifupdown/interfaces | 32 ------------------- .../init-ifupdown/nitrogen6x/interfaces | 31 ------------------ recipes/init-ifupdown/init-ifupdown_1.0.bbappend | 37 ---------------------- 6 files changed, 173 deletions(-) delete mode 100644 recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces delete mode 100644 recipes/init-ifupdown/init-ifupdown/emulator/interfaces delete mode 100755 recipes/init-ifupdown/init-ifupdown/fixed_mac_address delete mode 100644 recipes/init-ifupdown/init-ifupdown/interfaces delete mode 100644 recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces delete mode 100644 recipes/init-ifupdown/init-ifupdown_1.0.bbappend diff --git a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces b/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces deleted file mode 100644 index e315b94..0000000 --- a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces +++ /dev/null @@ -1,33 +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 atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp - hostname `/bin/hostname` -# hwaddress ether 00:00:00:00:00:00 -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.7.2 - netmask 255.255.255.0 - network 192.168.7.0 - gateway 192.168.7.1 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces b/recipes/init-ifupdown/init-ifupdown/emulator/interfaces deleted file mode 100644 index 06adafb..0000000 --- a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces +++ /dev/null @@ -1,33 +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 atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp -auto eth1 -iface eth1 inet dhcp - hostname `/bin/hostname` - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.7.2 - netmask 255.255.255.0 - network 192.168.7.0 - gateway 192.168.7.1 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address b/recipes/init-ifupdown/init-ifupdown/fixed_mac_address deleted file mode 100755 index 020257e..0000000 --- a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if [ ! -e /etc/network/interfaces.fixed ]; then - HWADDRESS=$(cat /sys/class/net/eth0/address) - sed -i -e 's,^#\(.*\)00:00:00:00:00:00,\1'$HWADDRESS',' /etc/network/interfaces - touch /etc/network/interfaces.fixed -fi diff --git a/recipes/init-ifupdown/init-ifupdown/interfaces b/recipes/init-ifupdown/init-ifupdown/interfaces deleted file mode 100644 index 5c1ec07..0000000 --- a/recipes/init-ifupdown/init-ifupdown/interfaces +++ /dev/null @@ -1,32 +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 atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp - hostname `/bin/hostname` -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.7.2 - netmask 255.255.255.0 - network 192.168.7.0 - gateway 192.168.7.1 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces deleted file mode 100644 index 93ba671..0000000 --- a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces +++ /dev/null @@ -1,31 +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 nl80211 - wpa-conf /etc/wpa_supplicant.conf - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp - hostname `/bin/hostname` - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.7.2 - netmask 255.255.255.0 - network 192.168.7.0 - gateway 192.168.7.1 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend b/recipes/init-ifupdown/init-ifupdown_1.0.bbappend deleted file mode 100644 index 430999a..0000000 --- a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend +++ /dev/null @@ -1,37 +0,0 @@ -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI_append_beagleboard = " file://fixed_mac_address" - -do_install_append_beagleboard() { - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/fixed_mac_address ${D}${sysconfdir}/network/if-pre-up.d/ -} -- cgit v1.2.3-54-g00ecf