Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
This package was created by Peter Tobias tobias@et-inf.fho-emden.de on
|
||||
Wed, 24 Aug 1994 21:33:28 +0200 and maintained by Anthony Towns
|
||||
<ajt@debian.org> until 2001.
|
||||
It is currently maintained by Marco d'Itri <md@linux.it>.
|
||||
|
||||
Copyright 1994-2010 Peter Tobias, Anthony Towns and Marco d'Itri
|
||||
|
||||
The programs in this package are distributed under the terms of the GNU
|
||||
General Public License, version 2 as distributed by the Free Software
|
||||
Foundation. On Debian systems, a copy of this license may be found in
|
||||
/usr/share/common-licenses/GPL-2.
|
||||
@@ -0,0 +1,90 @@
|
||||
#!/bin/sh -e
|
||||
### BEGIN INIT INFO
|
||||
# Provides: networking
|
||||
# Required-Start: mountvirtfs $local_fs
|
||||
# Required-Stop: $local_fs
|
||||
# Should-Start: ifupdown
|
||||
# Should-Stop: ifupdown
|
||||
# Default-Start: S
|
||||
# Default-Stop: 0 6
|
||||
# Short-Description: Raise network interfaces.
|
||||
### END INIT INFO
|
||||
|
||||
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
|
||||
[ -x /sbin/ifup ] || exit 0
|
||||
|
||||
check_network_file_systems() {
|
||||
[ -e /proc/mounts ] || return 0
|
||||
|
||||
if [ -e /etc/iscsi/iscsi.initramfs ]; then
|
||||
echo "not deconfiguring network interfaces: iSCSI root is mounted."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exec 9<&0 < /proc/mounts
|
||||
while read DEV MTPT FSTYPE REST; do
|
||||
case $DEV in
|
||||
/dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
|
||||
echo "not deconfiguring network interfaces: network devices still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
case $FSTYPE in
|
||||
nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs|pvfs|pvfs2|fuse.httpfs|fuse.curlftpfs)
|
||||
echo "not deconfiguring network interfaces: network file systems still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
exec 0<&9 9<&-
|
||||
}
|
||||
|
||||
check_network_swap() {
|
||||
[ -e /proc/swaps ] || return 0
|
||||
|
||||
exec 9<&0 < /proc/swaps
|
||||
while read DEV MTPT FSTYPE REST; do
|
||||
case $DEV in
|
||||
/dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
|
||||
echo "not deconfiguring network interfaces: network swap still mounted."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
exec 0<&9 9<&-
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Configuring network interfaces... "
|
||||
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
|
||||
ifup -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
stop)
|
||||
check_network_file_systems
|
||||
check_network_swap
|
||||
|
||||
echo -n "Deconfiguring network interfaces... "
|
||||
ifdown -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
force-reload|restart)
|
||||
echo "Running $0 $1 is deprecated because it may not enable again some interfaces"
|
||||
echo "Reconfiguring network interfaces... "
|
||||
ifdown -a || true
|
||||
ifup -a
|
||||
echo "done."
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: /etc/init.d/networking {start|stop}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# /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 including predictable names
|
||||
auto eth0
|
||||
iface eth0 inet dhcp
|
||||
iface eth1 inet dhcp
|
||||
|
||||
# Busybox ifupdown won't process /en* correctly
|
||||
auto /en*=eth
|
||||
iface eth 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
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
#! /bin/sh
|
||||
|
||||
# In case the interface is used as nfsroot, avoid ifup, otherwise
|
||||
# nfsroot may lose response
|
||||
|
||||
nfsroot=0
|
||||
|
||||
if test "x$IFACE" = xlo ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exec 9<&0 < /proc/mounts
|
||||
while read dev mtpt fstype rest; do
|
||||
if test $mtpt = "/" ; then
|
||||
case $fstype in
|
||||
nfs | nfs4)
|
||||
nfsroot=1
|
||||
nfs_addr=`echo $rest | sed -e 's/^.*addr=\([0-9.]*\).*$/\1/'`
|
||||
break
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
exec 0<&9 9<&-
|
||||
|
||||
test $nfsroot -eq 0 && exit 0
|
||||
|
||||
if [ -x /bin/ip -o -x /sbin/ip ] ; then
|
||||
nfs_iface=`ip route get $nfs_addr | grep dev | sed -e 's/^.*dev \([-a-z0-9.]*\).*$/\1/'`
|
||||
fi
|
||||
|
||||
if test "x$IFACE" = "x$nfs_iface" ; then
|
||||
echo "ifup skipped for nfsroot interface $nfs_iface"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,5 @@
|
||||
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
||||
|
||||
# The loopback interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
@@ -0,0 +1,40 @@
|
||||
SUMMARY = "Basic TCP/IP networking init scripts and configuration files"
|
||||
DESCRIPTION = "This package provides high level tools to configure network interfaces"
|
||||
HOMEPAGE = "http://packages.debian.org/ifupdown"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
INITSCRIPT_NAME = "networking"
|
||||
INITSCRIPT_PARAMS = "start 01 2 3 4 5 . stop 80 0 6 1 ."
|
||||
|
||||
SRC_URI = "file://copyright \
|
||||
file://init \
|
||||
file://interfaces \
|
||||
file://nfsroot"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${sysconfdir}/init.d \
|
||||
${D}${sysconfdir}/network/if-pre-up.d \
|
||||
${D}${sysconfdir}/network/if-up.d \
|
||||
${D}${sysconfdir}/network/if-down.d \
|
||||
${D}${sysconfdir}/network/if-post-down.d
|
||||
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking
|
||||
install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
|
||||
install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d
|
||||
}
|
||||
|
||||
do_install:append:qemuall () {
|
||||
# Disable network manager on machines that commonly do NFS booting
|
||||
touch ${D}${sysconfdir}/network/nm-disabled-eth0
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
RDEPENDS:${PN} = "netbase"
|
||||
RCONFLICTS:${PN} = "netbase (< 1:5.0)"
|
||||
|
||||
CONFFILES:${PN} = "${sysconfdir}/network/interfaces"
|
||||
Reference in New Issue
Block a user