From d5dc6f6ea165946a7d43ea0a763f759f9de9222c Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 25 Aug 2023 16:02:23 +0200 Subject: [PATCH 1/2] remove debian 7 (wheezy) files Debian 7 is EOL since 2018 [1], so nobody should even consider using it. Apart from that DentOS never supported it, therefore drop everything related to debian 7. [1] https://wiki.debian.org/LTS Signed-off-by: Jonas Gorski --- Makefile | 1 - REPO/wheezy/Makefile | 1 - REPO/wheezy/packages/binary-all/Makefile | 1 - REPO/wheezy/packages/binary-amd64/Makefile | 1 - REPO/wheezy/packages/binary-powerpc/Makefile | 1 - .../wheezy/common/all-base-packages.yml | 81 -------- .../wheezy/common/amd64-base-packages.yml | 15 -- .../wheezy/common/amd64-onl-packages.yml | 11 - .../rootfs/wheezy/common/overlay/etc/adjtime | 1 - .../wheezy/common/overlay/etc/filesystems | 6 - .../wheezy/common/overlay/etc/inetd.conf | 3 - .../rootfs/wheezy/common/overlay/etc/inittab | 67 ------ .../rootfs/wheezy/common/overlay/etc/mtab.yml | 19 -- .../etc/profile.d/onl-platform-current.sh | 7 - .../wheezy/common/overlay/etc/rssh.conf | 4 - .../wheezy/common/overlay/etc/snmp/snmpd.conf | 194 ------------------ .../rootfs/wheezy/common/overlay/sbin/pgetty | 23 --- .../wheezy/common/overlay/sbin/watchdir | 71 ------- .../wheezy/common/powerpc-base-packages.yml | 10 - .../wheezy/common/powerpc-onl-packages.yml | 9 - .../any/rootfs/wheezy/standard/standard.yml | 106 ---------- docker/images/builder7/1.0/Dockerfile | 136 ------------ docker/images/builder7/1.0/Makefile | 20 -- docker/images/builder7/1.1/Dockerfile | 12 -- docker/images/builder7/1.1/Makefile | 20 -- docker/images/builder7/1.2/README | 2 - docker/images/builder7/1.2/history | 19 -- docker/tools/onlbuilder | 1 - tools/onlrfs.py | 2 +- 29 files changed, 1 insertion(+), 843 deletions(-) delete mode 100644 REPO/wheezy/Makefile delete mode 100644 REPO/wheezy/packages/binary-all/Makefile delete mode 100644 REPO/wheezy/packages/binary-amd64/Makefile delete mode 100644 REPO/wheezy/packages/binary-powerpc/Makefile delete mode 100644 builds/any/rootfs/wheezy/common/all-base-packages.yml delete mode 100644 builds/any/rootfs/wheezy/common/amd64-base-packages.yml delete mode 100644 builds/any/rootfs/wheezy/common/amd64-onl-packages.yml delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/adjtime delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/filesystems delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/inetd.conf delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/inittab delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/mtab.yml delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/profile.d/onl-platform-current.sh delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/rssh.conf delete mode 100644 builds/any/rootfs/wheezy/common/overlay/etc/snmp/snmpd.conf delete mode 100755 builds/any/rootfs/wheezy/common/overlay/sbin/pgetty delete mode 100755 builds/any/rootfs/wheezy/common/overlay/sbin/watchdir delete mode 100644 builds/any/rootfs/wheezy/common/powerpc-base-packages.yml delete mode 100644 builds/any/rootfs/wheezy/common/powerpc-onl-packages.yml delete mode 100644 builds/any/rootfs/wheezy/standard/standard.yml delete mode 100644 docker/images/builder7/1.0/Dockerfile delete mode 100644 docker/images/builder7/1.0/Makefile delete mode 100644 docker/images/builder7/1.1/Dockerfile delete mode 100644 docker/images/builder7/1.1/Makefile delete mode 100644 docker/images/builder7/1.2/README delete mode 100644 docker/images/builder7/1.2/history diff --git a/Makefile b/Makefile index 169ca1a22..6c8ceae5b 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,6 @@ $(foreach a,$(ALL_ARCHES),$(eval $(call build_arch_template,$(a)))) # Available build architectures based on the current suite -BUILD_ARCHES_wheezy := amd64 powerpc BUILD_ARCHES_jessie := amd64 powerpc armel BUILD_ARCHES_stretch := arm64 amd64 BUILD_ARCHES_buster := arm64 amd64 diff --git a/REPO/wheezy/Makefile b/REPO/wheezy/Makefile deleted file mode 100644 index bfbd6a4bb..000000000 --- a/REPO/wheezy/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo-suite.mk diff --git a/REPO/wheezy/packages/binary-all/Makefile b/REPO/wheezy/packages/binary-all/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/wheezy/packages/binary-all/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/wheezy/packages/binary-amd64/Makefile b/REPO/wheezy/packages/binary-amd64/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/wheezy/packages/binary-amd64/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/wheezy/packages/binary-powerpc/Makefile b/REPO/wheezy/packages/binary-powerpc/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/wheezy/packages/binary-powerpc/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/builds/any/rootfs/wheezy/common/all-base-packages.yml b/builds/any/rootfs/wheezy/common/all-base-packages.yml deleted file mode 100644 index 2cf4931eb..000000000 --- a/builds/any/rootfs/wheezy/common/all-base-packages.yml +++ /dev/null @@ -1,81 +0,0 @@ -############################################################ -# -# Common Release Packages for all systems. -# -############################################################ -- locales -- python -- apt -- apt-utils -- debconf -- dialog -- procps -- net-tools -- iputils-ping -- less -- sudo -- openssh-server -- iproute -- resolvconf -- vim-tiny -- zile -- nano -- lsof -- mingetty -- traceroute -- realpath -- rsyslog -- nfs-common -- netbase -- bsdmainutils -- ifupdown -- psmisc -- make -- python-cherrypy3 -- python-tz -- scapy -- python-pypcap -- snmpd -- snmp -- pciutils -- usbutils -- mtd-utils -- i2c-tools -- module-init-tools -- isc-dhcp-client -- ntp -- wget -- ethtool -- localepurge -- telnetd -- python-pyinotify -- cpio -- util-linux -- dosfstools -- gnu-fdisk -- rssh -- u-boot-tools -- ntpdate -- onlp -- parted -- watchdog -- netplug -- binutils -- file -- smartmontools -- realpath -- iptables -- onl-faultd -- onlp-snmpd -- oom-shim -- python-parted -- python-yaml -- bzip2 -- xz-utils -- unzip -- onl-mibs -- openssl -- gdb -- tcpdump -- strace -- sysstat diff --git a/builds/any/rootfs/wheezy/common/amd64-base-packages.yml b/builds/any/rootfs/wheezy/common/amd64-base-packages.yml deleted file mode 100644 index 402a41690..000000000 --- a/builds/any/rootfs/wheezy/common/amd64-base-packages.yml +++ /dev/null @@ -1,15 +0,0 @@ -############################################################ -# -# Common packages for all amd64 systems. -# -############################################################ -- dmidecode -- parted -- smartmontools -- grub2 -- onl-upgrade - - - - - diff --git a/builds/any/rootfs/wheezy/common/amd64-onl-packages.yml b/builds/any/rootfs/wheezy/common/amd64-onl-packages.yml deleted file mode 100644 index 984f2fc34..000000000 --- a/builds/any/rootfs/wheezy/common/amd64-onl-packages.yml +++ /dev/null @@ -1,11 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-upgrade - - - - - diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/adjtime b/builds/any/rootfs/wheezy/common/overlay/etc/adjtime deleted file mode 100644 index 7481b1157..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/adjtime +++ /dev/null @@ -1 +0,0 @@ -0.0 0 0.0 diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/filesystems b/builds/any/rootfs/wheezy/common/overlay/etc/filesystems deleted file mode 100644 index 01350bead..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/filesystems +++ /dev/null @@ -1,6 +0,0 @@ -jffs2 -ubifs -vfat -ext4 -ext3 -ext2 diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/inetd.conf b/builds/any/rootfs/wheezy/common/overlay/etc/inetd.conf deleted file mode 100644 index 367f8d084..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/inetd.conf +++ /dev/null @@ -1,3 +0,0 @@ -telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd -qotd stream tcp nowait telnetd /usr/sbin/tcpd /sbin/versiond - diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/inittab b/builds/any/rootfs/wheezy/common/overlay/etc/inittab deleted file mode 100644 index e242bf0aa..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/inittab +++ /dev/null @@ -1,67 +0,0 @@ -# The default runlevel. -id:2:initdefault: - -# Boot-time system configuration/initialization script. -# This is run first except when booting in emergency (-b) mode. -si0::sysinit:/etc/boot.d/boot -si1::sysinit:/etc/init.d/rcS - -# What to do in single-user mode. -~~:S:wait:/sbin/sulogin - -# /etc/init.d executes the S and K scripts upon change -# of runlevel. -# -# Runlevel 0 is halt. -# Runlevel 1 is single-user. -# Runlevels 2-5 are multi-user. -# Runlevel 6 is reboot. - -l0:0:wait:/etc/init.d/rc 0 -l1:1:wait:/etc/init.d/rc 1 -l2:2:wait:/etc/init.d/rc 2 -l3:3:wait:/etc/init.d/rc 3 -l4:4:wait:/etc/init.d/rc 4 -l5:5:wait:/etc/init.d/rc 5 -l6:6:wait:/etc/init.d/rc 6 -# Normally not reached, but fallthrough in case of emergency. -z6:6:respawn:/sbin/sulogin - -# What to do when CTRL-ALT-DEL is pressed. -ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now - -# Action on special keypress (ALT-UpArrow). -#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." - -# What to do when the power fails/returns. -pf::powerwait:/etc/init.d/powerfail start -pn::powerfailnow:/etc/init.d/powerfail now -po::powerokwait:/etc/init.d/powerfail stop - -# /sbin/getty invocations for the runlevels. -# -# The "id" field MUST be the same as the last -# characters of the device (after "tty"). -# -# Format: -# ::: -# -# Note that on most Debian systems tty7 is used by the X Window System, -# so if you want to add more getty's go ahead but skip tty7 if you run X. -# -1:2345:respawn:/sbin/getty 38400 tty1 -2:23:respawn:/sbin/getty 38400 tty2 -3:23:respawn:/sbin/getty 38400 tty3 -4:23:respawn:/sbin/getty 38400 tty4 -5:23:respawn:/sbin/getty 38400 tty5 -6:23:respawn:/sbin/getty 38400 tty6 - -# Example how to put a getty on a serial line (for a terminal) -# -#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 -#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 - -# Example how to put a getty on a modem line. -# -#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 - diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/mtab.yml b/builds/any/rootfs/wheezy/common/overlay/etc/mtab.yml deleted file mode 100644 index 598e4c69c..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/mtab.yml +++ /dev/null @@ -1,19 +0,0 @@ -mounts: - ONL-IMAGES: - mount: ro - dir: /mnt/onl/images - fsck: true - - ONL-DATA: - mount: rw - dir: /mnt/onl/data - - ONL-CONFIG: - mount: ro - dir: /mnt/onl/config - fsck: true - - ONL-BOOT: - mount: ro - dir: /mnt/onl/boot - fsck: false diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/profile.d/onl-platform-current.sh b/builds/any/rootfs/wheezy/common/overlay/etc/profile.d/onl-platform-current.sh deleted file mode 100644 index 5237bbb82..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/profile.d/onl-platform-current.sh +++ /dev/null @@ -1,7 +0,0 @@ -############################################################ -# -# Add platform specific directories to path. -# -############################################################ -dir=/lib/platform-config/current/onl -export PATH="$PATH:$dir/bin:$dir/sbin:$dir/lib/bin:$dir/lib/sbin" diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/rssh.conf b/builds/any/rootfs/wheezy/common/overlay/etc/rssh.conf deleted file mode 100644 index 33975b189..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/rssh.conf +++ /dev/null @@ -1,4 +0,0 @@ -logfacility = LOG_USER -allowsftp -allowscp -umask = 022 diff --git a/builds/any/rootfs/wheezy/common/overlay/etc/snmp/snmpd.conf b/builds/any/rootfs/wheezy/common/overlay/etc/snmp/snmpd.conf deleted file mode 100644 index e37e8f261..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/etc/snmp/snmpd.conf +++ /dev/null @@ -1,194 +0,0 @@ -############################################################################### -# -# EXAMPLE.conf: -# An example configuration file for configuring the Net-SNMP agent ('snmpd') -# See the 'snmpd.conf(5)' man page for details -# -# Some entries are deliberately commented out, and will need to be explicitly activated -# -############################################################################### -# -# AGENT BEHAVIOUR -# - -# Listen for connections from the local system only -#agentAddress udp:127.0.0.1:161 -# Listen for connections on all interfaces (both IPv4 *and* IPv6) -agentAddress udp:161,udp6:[::1]:161 - - - -############################################################################### -# -# SNMPv3 AUTHENTICATION -# -# Note that these particular settings don't actually belong here. -# They should be copied to the file /var/lib/snmp/snmpd.conf -# and the passwords changed, before being uncommented in that file *only*. -# Then restart the agent - -# createUser authOnlyUser MD5 "remember to change this password" -# createUser authPrivUser SHA "remember to change this one too" DES -# createUser internalUser MD5 "this is only ever used internally, but still change the password" - -# If you also change the usernames (which might be sensible), -# then remember to update the other occurances in this example config file to match. - - - -############################################################################### -# -# ACCESS CONTROL -# - - # system + hrSystem groups only -view systemonly included .1.3.6.1.2.1.1 -view systemonly included .1.3.6.1.2.1.25.1 -view systemonly included .1.3.6.1.4.1.42623 - - # Full access from the local host -rocommunity public localhost - # Default access to basic system info -rocommunity public default -V systemonly - - # Full access from an example network - # Adjust this network address to match your local - # settings, change the community string, - # and check the 'agentAddress' setting above -#rocommunity secret 10.0.0.0/16 - - # Full read-only access for SNMPv3 - rouser authOnlyUser - # Full write access for encrypted requests - # Remember to activate the 'createUser' lines above -#rwuser authPrivUser priv - -# It's no longer typically necessary to use the full 'com2sec/group/access' configuration -# r[ou]user and r[ow]community, together with suitable views, should cover most requirements - - - -############################################################################### -# -# SYSTEM INFORMATION -# - -# Note that setting these values here, results in the corresponding MIB objects being 'read-only' -# See snmpd.conf(5) for more details -sysLocation Sitting on the Dock of the Bay -sysContact Me - # Application + End-to-End layers -sysServices 72 - - -# -# Process Monitoring -# - # At least one 'mountd' process -proc mountd - # No more than 4 'ntalkd' processes - 0 is OK -proc ntalkd 4 - # At least one 'sendmail' process, but no more than 10 -proc sendmail 10 1 - -# Walk the UCD-SNMP-MIB::prTable to see the resulting output -# Note that this table will be empty if there are no "proc" entries in the snmpd.conf file - - -# -# Disk Monitoring -# - # 10MBs required on root disk, 5% free on /var, 10% free on all other disks -disk / 10000 -disk /var 5% -includeAllDisks 10% - -# Walk the UCD-SNMP-MIB::dskTable to see the resulting output -# Note that this table will be empty if there are no "disk" entries in the snmpd.conf file - - -# -# System Load -# - # Unacceptable 1-, 5-, and 15-minute load averages -load 12 10 5 - -# Walk the UCD-SNMP-MIB::laTable to see the resulting output -# Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file - - - -############################################################################### -# -# ACTIVE MONITORING -# - - # send SNMPv1 traps - trapsink localhost public - # send SNMPv2c traps -#trap2sink localhost public - # send SNMPv2c INFORMs -#informsink localhost public - -# Note that you typically only want *one* of these three lines -# Uncommenting two (or all three) will result in multiple copies of each notification. - - -# -# Event MIB - automatically generate alerts -# - # Remember to activate the 'createUser' lines above -iquerySecName internalUser -rouser internalUser - # generate traps on UCD error conditions -defaultMonitors yes - # generate traps on linkUp/Down -linkUpDownNotifications yes - - - -############################################################################### -# -# EXTENDING THE AGENT -# - -# -# Arbitrary extension commands -# - extend test1 /bin/echo Hello, world! - extend-sh test2 echo Hello, world! ; echo Hi there ; exit 35 -#extend-sh test3 /bin/sh /tmp/shtest - -# Note that this last entry requires the script '/tmp/shtest' to be created first, -# containing the same three shell commands, before the line is uncommented - -# Walk the NET-SNMP-EXTEND-MIB tables (nsExtendConfigTable, nsExtendOutput1Table -# and nsExtendOutput2Table) to see the resulting output - -# Note that the "extend" directive supercedes the previous "exec" and "sh" directives -# However, walking the UCD-SNMP-MIB::extTable should still returns the same output, -# as well as the fuller results in the above tables. - - -# -# "Pass-through" MIB extension command -# -#pass .1.3.6.1.4.1.8072.2.255 /bin/sh PREFIX/local/passtest -#pass .1.3.6.1.4.1.8072.2.255 /usr/bin/perl PREFIX/local/passtest.pl - -# Note that this requires one of the two 'passtest' scripts to be installed first, -# before the appropriate line is uncommented. -# These scripts can be found in the 'local' directory of the source distribution, -# and are not installed automatically. - -# Walk the NET-SNMP-PASS-MIB::netSnmpPassExamples subtree to see the resulting output - - -# -# AgentX Sub-agents -# - # Run as an AgentX master agent - master agentx - # Listen for network connections (from localhost) - # rather than the default named socket /var/agentx/master -#agentXSocket tcp:localhost:705 diff --git a/builds/any/rootfs/wheezy/common/overlay/sbin/pgetty b/builds/any/rootfs/wheezy/common/overlay/sbin/pgetty deleted file mode 100755 index 01ed10dc2..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/sbin/pgetty +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -t=/dev/$1 -# if $1 is not set, use linux cmdline console as default tty -[ -z "$1" ] && { - tty=$(/bin/sed 's/.*console=\([^,]*\).*/\1/' /proc/cmdline) - t=/dev/$tty -} - -# Reset the console tty to standard settings -/bin/stty -F $t sane pass8 -ixon -cstopb clocal - -# Kill any processes with the console tty open before starting a new -# login session (login tries to do this, but vhangup() spares processes -# that ignore SIGHUP) -#/usr/bin/lsof -p ^$$ -t $t 0<&- 1>&- 2>&- | /usr/bin/xargs -r /bin/kill -9 - -# Flush tty input and output queues -#/sbin/flushtty <$t - -# We use mingetty instead of agetty, as the latter messes up the tty -# settings if it receives junk characters at the wrong speed -exec /sbin/mingetty --noclear $t diff --git a/builds/any/rootfs/wheezy/common/overlay/sbin/watchdir b/builds/any/rootfs/wheezy/common/overlay/sbin/watchdir deleted file mode 100755 index 3ff32aa70..000000000 --- a/builds/any/rootfs/wheezy/common/overlay/sbin/watchdir +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/python -############################################################ -# -# -# Copyright 2013, 2014 Big Switch Networks, Inc. -# -# Licensed under the Eclipse Public License, Version 1.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.eclipse.org/legal/epl-v10.html -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -# either express or implied. See the License for the specific -# language governing permissions and limitations under the -# License. -# -# -############################################################ -# -# watchdir -# -############################################################ -import optparse, os.path, sys -import pyinotify - -#pyinotify.log.setLevel(pyinotify.logging.DEBUG) - -op = optparse.OptionParser( usage="%prog [OPTIONS] command") -op.add_option("-w", "--watchdir", action="append", - help="monitor watchdir for changes (may be used multiple times)") -op.add_option("--period", action="store", type="float", - help="run command at most every period sec (default=%default)") -op.add_option("-d", "--daemon", action="store_true", - help="run in background") -op.add_option("--logfile", action="store", - help="send output to logfile when running in background") -op.add_option("--pidfile", action="store", - help="write pid to pidfile when running in background") -op.set_defaults(period=0, logfile="/dev/stdout", pidfile=False) -opts, args = op.parse_args() - -if not opts.watchdir: - op.error("need at least one watchdir") - -os.close(0) -os.open("/dev/null", os.O_RDONLY) - -wm = pyinotify.WatchManager() -n = pyinotify.Notifier(wm, read_freq=opts.period) -def handle(event): - dir = None - for d in opts.watchdir: - if os.path.commonprefix([d, event.pathname]) == d: - dir = d - sys.stdout.write("%s: %s %s\n" % (dir, event.pathname, event)) - sys.stdout.flush() - if args: - os.spawnvp(os.P_WAIT, args[0], - args + [dir, event.pathname, event.maskname]) -wm.add_watch( - opts.watchdir, - pyinotify.IN_ATTRIB | pyinotify.IN_CREATE | pyinotify.IN_DELETE | - pyinotify.IN_MODIFY | pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO, - handle, - rec=True, - auto_add=True) -n.loop(daemonize=opts.daemon, stdout=opts.logfile, stderr=opts.logfile, - pid_file=opts.pidfile) diff --git a/builds/any/rootfs/wheezy/common/powerpc-base-packages.yml b/builds/any/rootfs/wheezy/common/powerpc-base-packages.yml deleted file mode 100644 index 618f35814..000000000 --- a/builds/any/rootfs/wheezy/common/powerpc-base-packages.yml +++ /dev/null @@ -1,10 +0,0 @@ -############################################################ -# -# Common packages for all PowerPC systems. -# -############################################################ -- u-boot-tools - - - - diff --git a/builds/any/rootfs/wheezy/common/powerpc-onl-packages.yml b/builds/any/rootfs/wheezy/common/powerpc-onl-packages.yml deleted file mode 100644 index e58df638d..000000000 --- a/builds/any/rootfs/wheezy/common/powerpc-onl-packages.yml +++ /dev/null @@ -1,9 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-loader-fit - - - diff --git a/builds/any/rootfs/wheezy/standard/standard.yml b/builds/any/rootfs/wheezy/standard/standard.yml deleted file mode 100644 index 22530fb0e..000000000 --- a/builds/any/rootfs/wheezy/standard/standard.yml +++ /dev/null @@ -1,106 +0,0 @@ -############################################################ -# -# Standard ONL Debian 7 Root Filesystem Configuration. -# -# Requires: -# ARCH, PLATFORM_LIST -# -# -############################################################ -variables: - !include $ONL/make/versions/version-onl.yml - -Packages: &Packages - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/all-base-packages.yml - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/${ARCH}-base-packages.yml - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/${ARCH}-onl-packages.yml - - !script $ONL/tools/onl-platform-pkgs.py ${PLATFORM_LIST} - -Multistrap: - General: - arch: ${ARCH} - cleanup: true - noauth: true - explicitsuite: false - unpack: true - debootstrap: Debian-Local Local-All Local-Arch ONL - aptsources: Debian ONL - - Debian: - packages: *Packages - source: http://${DEBIAN_MIRROR} - suite: ${ONL_DEBIAN_SUITE} - keyring: debian-archive-keyring - omitdebsrc: true - - Debian-Local: - packages: *Packages - source: http://${APT_CACHE}${DEBIAN_MIRROR} - suite: ${ONL_DEBIAN_SUITE} - keyring: debian-archive-keyring - omitdebsrc: true - - ONL: - packages: *Packages - source: http://${APT_CACHE}apt.opennetlinux.org/debian - suite: unstable - omitdebsrc: true - - Local-All: - source: ${ONLPM_OPTION_REPO}/${ONL_DEBIAN_SUITE}/packages/binary-all - omitdebsrc: true - - Local-Arch: - source: ${ONLPM_OPTION_REPO}/${ONL_DEBIAN_SUITE}/packages/binary-${ARCH} - omitdebsrc: true - -Configure: - overlays: - - ${ONL}/builds/any/rootfs/${ONL_DEBIAN_SUITE}/common/overlay - - update-rc.d: - - 'faultd defaults' - - 'onlpd defaults' - - 'snmpd defaults' - - 'onlp-snmpd defaults' - - 'ssh defaults' - - 'openbsd-inetd remove' - - 'ntp remove' - - 'nfs-common remove' - - 'rpcbind remove' - - 'motd remove' - - 'mountall-bootclean.sh remove' - - 'mountall.sh remove' - - 'checkfs.sh remove' - - 'mtab.sh remove' - - 'checkroot-bootclean.sh remove' - - 'checkroot.sh remove' - - 'mountnfs-bootclean.sh remove' - - 'mountnfs.sh remove' - - 'lm-sensors remove' - - 'netplug defaults' - - 'watchdog defaults' - - 'wd_keepalive remove' - - options: - clean: True - securetty: False - ttys: False - console: True - PermitRootLogin: 'yes' - - users: - root: - password: onl - - manifests: - '/etc/onl/rootfs/manifest.json' : - version : $ONL/make/versions/version-onl.json - platforms : $PLATFORM_LIST - - issue: $VERSION_STRING - - files: - remove: - - /etc/motd - diff --git a/docker/images/builder7/1.0/Dockerfile b/docker/images/builder7/1.0/Dockerfile deleted file mode 100644 index fb332f63e..000000000 --- a/docker/images/builder7/1.0/Dockerfile +++ /dev/null @@ -1,136 +0,0 @@ -FROM debian:7.8 -MAINTAINER Rob Sherwood - -# First round of dependences -RUN apt-get update && apt-get install -y \ - apt \ - apt-cacher-ng \ - apt-file \ - apt-utils \ - autoconf \ - automake1.9 \ - autotools-dev \ - bash-completion \ - bc \ - bind9-host \ - binfmt-support \ - binfmt-support \ - bison \ - bsdmainutils \ - build-essential \ - ccache \ - cdbs \ - cpio \ - debhelper \ - debhelper \ - debhelper \ - device-tree-compiler \ - devscripts \ - devscripts \ - dialog \ - dosfstools \ - dpkg-sig \ - emacs \ - file \ - flex \ - gcc \ - genisoimage \ - ifupdown \ - iproute \ - iputils-ping \ - kmod \ - less \ - libc6-dev \ - libedit-dev \ - libevent-dev \ - libi2c-dev \ - libpam-dev \ - libsnmp-dev \ - libtool \ - locales \ - lsof \ - make \ - mingetty \ - mtd-utils \ - mtools \ - multistrap \ - nano \ - ncurses-dev \ - netbase \ - net-tools \ - nfs-common \ - openssh-server \ - pkg-config \ - pkg-config \ - procps \ - psmisc \ - python \ - python-dnspython \ - python-yaml \ - qemu \ - qemu-user-static \ - realpath \ - realpath \ - rsyslog \ - rubygems \ - screen \ - squashfs-tools \ - sshpass \ - sudo \ - syslinux \ - texinfo=4.13a.dfsg.1-10 \ - traceroute \ - uboot-mkimage \ - vim-tiny \ - wget \ - xapt \ - zile \ - zip && \ - gem install --version 1.3.3 fpm - -# Now the unstable deps and cross compilers -# NOTE 1: texinfo 5.x and above breaks the buildroot build, thus the specific 4.x version -# NOTE 2: this cp is needed to fix an i2c compile problem -# NOTE 3: the /etc/apt/apt.conf.d/docker-* options break multistrap so -# that it can't find. Essential packages or resolve apt.opennetlinux.org -# NOTE 4: the default qemu-user-static (1.2) dies with a segfault in -# `make onl-powerpc`; use 1.4 instead - -RUN echo 'APT::Get::AllowUnauthenticated "true";\nAPT::Get::Assume-Yes "true";' | tee /etc/apt/apt.conf.d/99opennetworklinux && \ - echo "deb http://apt.opennetlinux.org/debian/ unstable main" | tee /etc/apt/sources.list.d/opennetlinux.list && \ - dpkg --add-architecture powerpc && \ - apt-get update && \ - apt-get install -y \ - binutils-powerpc-linux-gnu=2.22-7.1 \ - gcc-4.7-powerpc-linux-gnu \ - libc6-dev-powerpc-cross \ - libgomp1-powerpc-cross=4.7.2-4 && \ - xapt -a powerpc libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev libevent-dev libpam-dev && \ - update-alternatives --install /usr/bin/powerpc-linux-gnu-gcc powerpc-linux-gnu-gcc /usr/bin/powerpc-linux-gnu-gcc-4.7 10 && \ - rm /etc/apt/apt.conf.d/docker-* && \ - wget "https://launchpad.net/ubuntu/+source/qemu/1.4.0+dfsg-1expubuntu3/+build/4336762/+files/qemu-user-static_1.4.0%2Bdfsg-1expubuntu3_amd64.deb" && \ - dpkg -i qemu-user-static_1.4.0+dfsg-1expubuntu3_amd64.deb && \ - apt-get install python-pyroute2 - -# -# The i2c-dev.h user/kernel header conflict is a nightmare. -# -# The ONLP implementation expects a new file called to be in place which contains the correct user-space driver definitions. -# This should be manually populated here after the toolchains have been installed. -# -RUN cp /usr/include/linux/i2c-dev.h /usr/include/linux/i2c-devices.h && \ - cp /usr/include/linux/i2c-dev.h /usr/powerpc-linux-gnu/include/linux/i2c-devices.h - - -# -# Necessary toolchain symlinks -# -RUN ln -s /usr/bin/ar /usr/bin/x86_64-linux-gnu-ar && \ - ln -s /usr/bin/ld /usr/bin/x86_64-linux-gnu-ld && \ - ln -s /usr/bin/objcopy /usr/bin/x86_64-linux-gnu-objcopy - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder7/1.0/Makefile b/docker/images/builder7/1.0/Makefile deleted file mode 100644 index 1b75e3c5e..000000000 --- a/docker/images/builder7/1.0/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -VERSION=1.0 -USER=opennetworklinux -REPO=builder7 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder7/1.1/Dockerfile b/docker/images/builder7/1.1/Dockerfile deleted file mode 100644 index e3813a49c..000000000 --- a/docker/images/builder7/1.1/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM opennetworklinux/builder7:1.0 -MAINTAINER Rob Sherwood - -RUN apt-get update && apt-get install -y \ - libpcap-dev \ - telnet \ - gdb -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder7/1.1/Makefile b/docker/images/builder7/1.1/Makefile deleted file mode 100644 index df7a8449d..000000000 --- a/docker/images/builder7/1.1/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -VERSION=1.1 -USER=opennetworklinux -REPO=builder7 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder7/1.2/README b/docker/images/builder7/1.2/README deleted file mode 100644 index cd0827283..000000000 --- a/docker/images/builder7/1.2/README +++ /dev/null @@ -1,2 +0,0 @@ -The dockerfile for this image was lost. -The image history is present. diff --git a/docker/images/builder7/1.2/history b/docker/images/builder7/1.2/history deleted file mode 100644 index 43520a391..000000000 --- a/docker/images/builder7/1.2/history +++ /dev/null @@ -1,19 +0,0 @@ -IMAGE CREATED CREATED BY SIZE -30af21fbfb6f33404c14ffca74f5c4b6c2ea499afc3c6575ed8f8c4b250e9eb8 7 weeks ago /bin/sh -c #(nop) COPY file:85997e087b4d5e00e0a04bc193670e88f3c679ec6566c2578232f8771d2fa460 in /bin/container-id 245 B -f98ca0bcc821f3c29e55e3b04ac59f9d070884394a5bde7d08da2ea1f677dd42 7 weeks ago /bin/sh -c #(nop) COPY file:740656dd6897213f5de86c1bcab56a5cfb1bcef3b78fcfd9205997f03892c9cf in /bin/docker_shell 5.516 kB -c66fd0d67ccbe7adb1872e42fc001fc1e685d9d3f6906ad6c55a74e357fba5fe 7 weeks ago /bin/sh -c wget http://www.opennetlinux.org/tarballs/wheezy-usr-buildroot-toolchains-x86_64.tgz && tar -C / -xvzf wheezy-usr-buildroot-toolchains-x86_64.tgz && rm wheezy-usr-buildroot-toolchains-x86_64.tgz 232.5 MB -ef9ba8bae44eda8b581f3bf250c8d234b49ac9786861ee832dda20d360c1ef3b 7 weeks ago /bin/sh -c wget http://www.opennetlinux.org/tarballs/wheezy-usr-buildroot-toolchains-powerpc.tgz && tar -C / -xvzf wheezy-usr-buildroot-toolchains-powerpc.tgz && rm wheezy-usr-buildroot-toolchains-powerpc.tgz 206.4 MB -eade002eb617afb5e9f5973fe44cc7b0b6895a0f6ec994a6b4e59f181fbff541 7 weeks ago /bin/sh -c #(nop) MAINTAINER Jeffrey Townsend 0 B -f3f8c756d44cae02a081e8fa25fe699b62839367f84f3ed0c8cdac0d0cb61c71 5 months ago /bin/sh -c #(nop) COPY file:da995763fa1e4587d7dc435522b7b86c3f915fab6fc820983e694e9aa13996a9 in /bin/container-id 245 B -d3e2d8d3e6d0dfd2a2777bd4b5e4d4e7869c3795df33e718f25d1628d464a9d0 5 months ago /bin/sh -c #(nop) COPY file:102693745a139d309880bf2d29cbc9a19c08da85eab1df85b7bf9f6c8df6e51f in /bin/docker_shell 5.516 kB -758afffd3cf70037eba181d24c6bc80766c903951d80f1330994f348f342b2ff 5 months ago /bin/sh -c apt-get update && apt-get install -y libpcap-dev telnet gdb 167.8 MB -0cfd9081af7ec27350c53ee7b6a620bf430cbe773dd27d1f67b877c869edfb21 5 months ago /bin/sh -c #(nop) MAINTAINER Rob Sherwood 0 B -faaf7e26ce801e59638274f4fd1e6142cec53cfab98b523724c5e4b5e36d66ee 8 months ago /bin/sh -c #(nop) COPY file:9a22523afe2cf74d3d155f6c0abcc5e60eb02fbf3a8c0caf3bc31646e67b4a44 in /bin/container-id 245 B -9cc7bb19af34cc4782649727bd2f266ac58ac24b41e33ec44baffd58a6e7cae7 8 months ago /bin/sh -c #(nop) COPY file:2e453fbe7ebda297f827a3d6bd4803e5ea310b9531d6faeb9d5932016b152065 in /bin/docker_shell 5.075 kB -04a9de616cb5e1c1426736b1efb5d7e7c204230713cf6a85499586e601ee6b93 8 months ago /bin/sh -c ln -s /usr/bin/ar /usr/bin/x86_64-linux-gnu-ar && ln -s /usr/bin/ld /usr/bin/x86_64-linux-gnu-ld && ln -s /usr/bin/objcopy /usr/bin/x86_64-linux-gnu-objcopy 38 B -a520f12148816eb7d4cabd139dea1075ec20e6e9ab8c0271ec31d6f9c3d12d32 8 months ago /bin/sh -c cp /usr/include/linux/i2c-dev.h /usr/include/linux/i2c-devices.h && cp /usr/include/linux/i2c-dev.h /usr/powerpc-linux-gnu/include/linux/i2c-devices.h 21.16 kB -da6496888f80287d340259ae0e22b8e7de8325aaa0dfbcce033569e7ecc7ff10 8 months ago /bin/sh -c echo 'APT::Get::AllowUnauthenticated "true";\nAPT::Get::Assume-Yes "true";' | tee /etc/apt/apt.conf.d/99opennetworklinux && echo "deb http://apt.opennetlinux.org/debian/ unstable main" | tee /etc/apt/sources.list.d/opennetlinux.list && dpkg --add-architecture powerpc && apt-get update && apt-get install -y binutils-powerpc-linux-gnu=2.22-7.1 gcc-4.7-powerpc-linux-gnu libc6-dev-powerpc-cross libgomp1-powerpc-cross=4.7.2-4 && xapt -a powerpc libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev libevent-dev libpam-dev && update-alternatives --install /usr/bin/powerpc-linux-gnu-gcc powerpc-linux-gnu-gcc /usr/bin/powerpc-linux-gnu-gcc-4.7 10 && rm /etc/apt/apt.conf.d/docker-* && wget "https://launchpad.net/ubuntu/+source/qemu/1.4.0+dfsg-1expubuntu3/+build/4336762/+files/qemu-user-static_1.4.0%2Bdfsg-1expubuntu3_amd64.deb" && dpkg -i qemu-user-static_1.4.0+dfsg-1expubuntu3_amd64.deb && apt-get install python-pyroute2 274.2 MB -0c9fb97f33634b850ee1ed630cfc0eed2b0993377c7d3b19f60914a2f66f7c6e 8 months ago /bin/sh -c apt-get update && apt-get install -y apt apt-cacher-ng apt-file apt-utils autoconf automake1.9 autotools-dev bash-completion bc bind9-host binfmt-support binfmt-support bison bsdmainutils build-essential ccache cdbs cpio debhelper debhelper debhelper device-tree-compiler devscripts devscripts dialog dosfstools dpkg-sig emacs file flex gcc genisoimage ifupdown iproute iputils-ping kmod less libc6-dev libedit-dev libevent-dev libi2c-dev libpam-dev libsnmp-dev libtool locales lsof make mingetty mtd-utils mtools multistrap nano ncurses-dev netbase net-tools nfs-common openssh-server pkg-config pkg-config procps psmisc python python-dnspython python-yaml qemu qemu-user-static realpath realpath rsyslog rubygems screen squashfs-tools sshpass sudo syslinux texinfo=4.13a.dfsg.1-10 traceroute uboot-mkimage vim-tiny wget xapt zile zip && gem install --version 1.3.3 fpm 956.9 MB -8e0c035bb531a1311ab2e24f5b798edf89f20cd878ad4e1b8cf297b9b5afd410 9 months ago /bin/sh -c #(nop) MAINTAINER Rob Sherwood 0 B -bbe78c1a5a535fac669e3225d5c3bb4396b6b2f9decb560ffb6351396da8c345 11 months ago /bin/sh -c #(nop) CMD ["/bin/bash"] 0 B -9d3ceacde91b4c7d6c1275032adb558d668afd5489c007f3512b39793ddf992d 11 months ago /bin/sh -c #(nop) ADD file:f7eb3ddd8c7f33332cd94564ec171306ffa490836953449b9b9c506085ec8745 in / 84.97 MB diff --git a/docker/tools/onlbuilder b/docker/tools/onlbuilder index cb3a647ba..038c6e374 100755 --- a/docker/tools/onlbuilder +++ b/docker/tools/onlbuilder @@ -20,7 +20,6 @@ g_timestamp = datetime.datetime.now().strftime("%Y-%m-%d.%H%M%S") g_builders = { 'default' : 9, 'builders' : { - 7 : ('wheezy', 'opennetworklinux/builder7:1.2'), 8 : ('jessie', 'opennetworklinux/builder8:1.11'), 9 : ('stretch', 'dentproject/builder9:1.8' ), 10 : ('buster', 'dentproject/builder10:1.5'), diff --git a/tools/onlrfs.py b/tools/onlrfs.py index 15d5d70ff..0ec11ae32 100755 --- a/tools/onlrfs.py +++ b/tools/onlrfs.py @@ -301,7 +301,7 @@ def __exit__(self, eType, eValue, eTrace): class OnlRfsBuilder(object): DEFAULTS = dict( - DEBIAN_SUITE='wheezy', + DEBIAN_SUITE='jessie', DEBIAN_MIRROR='mirrors.kernel.org/debian/', APT_CACHE='127.0.0.1:3142/' ) From 7f0483def5bb8b16c3bf7e35317e0a71d922eef2 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 25 Aug 2023 16:10:16 +0200 Subject: [PATCH 2/2] remove debian 8 (jessie) files Debian 8 is EOL since 2020 [1], so nobody should even consider using it. Apart from that DentOS never supported it, therefore drop everything related to debian 8. [1] https://wiki.debian.org/LTS Signed-off-by: Jonas Gorski --- Makefile | 1 - REPO/jessie/Makefile | 1 - REPO/jessie/packages/binary-all/Makefile | 1 - REPO/jessie/packages/binary-amd64/Makefile | 1 - REPO/jessie/packages/binary-arm64/Makefile | 1 - REPO/jessie/packages/binary-armel/Makefile | 1 - REPO/jessie/packages/binary-powerpc/Makefile | 1 - .../jessie/common/all-base-packages.yml | 83 -------- .../jessie/common/amd64-base-packages.yml | 19 -- .../jessie/common/amd64-onl-packages.yml | 11 - .../jessie/common/arm64-base-packages.yml | 1 - .../jessie/common/arm64-onl-packages.yml | 9 - .../jessie/common/armel-base-packages.yml | 2 - .../jessie/common/armel-onl-packages.yml | 9 - .../rootfs/jessie/common/overlay/etc/adjtime | 1 - .../jessie/common/overlay/etc/filesystems | 6 - .../jessie/common/overlay/etc/inetd.conf | 3 - .../rootfs/jessie/common/overlay/etc/inittab | 67 ------ .../rootfs/jessie/common/overlay/etc/mtab.yml | 27 --- .../etc/profile.d/onl-platform-current.sh | 7 - .../jessie/common/overlay/etc/rssh.conf | 4 - .../jessie/common/overlay/etc/snmp/snmpd.conf | 195 ------------------ .../overlay/etc/udev/rules.d/60-block.rules | 1 - .../overlay/etc/udev/rules.d/60-net.rules | 1 - .../rootfs/jessie/common/overlay/sbin/pgetty | 23 --- .../jessie/common/overlay/sbin/watchdir | 71 ------- .../jessie/common/powerpc-base-packages.yml | 11 - .../jessie/common/powerpc-onl-packages.yml | 9 - .../any/rootfs/jessie/standard/standard.yml | 113 ---------- .../rootfs/jessie/systemd/overlay/sbin/init | 4 - .../jessie/sysvinit/overlay/etc/inittab | 67 ------ docker/images/builder8/1.0/Dockerfile | 154 -------------- docker/images/builder8/1.0/Makefile | 19 -- docker/images/builder8/1.1/Dockerfile | 12 -- docker/images/builder8/1.1/Makefile | 19 -- docker/images/builder8/1.10/Dockerfile | 12 -- docker/images/builder8/1.10/Makefile | 19 -- docker/images/builder8/1.11/Dockerfile | 17 -- docker/images/builder8/1.11/Makefile | 19 -- docker/images/builder8/1.2/Dockerfile | 16 -- docker/images/builder8/1.2/Makefile | 19 -- docker/images/builder8/1.3/README | 2 - docker/images/builder8/1.3/history | 29 --- docker/images/builder8/1.4/Dockerfile | 22 -- docker/images/builder8/1.4/Makefile | 19 -- docker/images/builder8/1.5/Dockerfile | 24 --- docker/images/builder8/1.5/Makefile | 19 -- docker/images/builder8/1.6/Dockerfile | 37 ---- docker/images/builder8/1.6/Makefile | 19 -- docker/images/builder8/1.7/Dockerfile | 27 --- docker/images/builder8/1.7/Makefile | 19 -- docker/images/builder8/1.8/Dockerfile | 17 -- docker/images/builder8/1.8/Makefile | 19 -- docker/images/builder8/1.9/Dockerfile | 22 -- docker/images/builder8/1.9/Makefile | 19 -- docker/tools/onlbuilder | 1 - tools/onlrfs.py | 2 +- 57 files changed, 1 insertion(+), 1353 deletions(-) delete mode 100644 REPO/jessie/Makefile delete mode 100644 REPO/jessie/packages/binary-all/Makefile delete mode 100644 REPO/jessie/packages/binary-amd64/Makefile delete mode 100644 REPO/jessie/packages/binary-arm64/Makefile delete mode 100644 REPO/jessie/packages/binary-armel/Makefile delete mode 100644 REPO/jessie/packages/binary-powerpc/Makefile delete mode 100644 builds/any/rootfs/jessie/common/all-base-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/amd64-base-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/amd64-onl-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/arm64-base-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/arm64-onl-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/armel-base-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/armel-onl-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/adjtime delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/filesystems delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/inetd.conf delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/inittab delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/mtab.yml delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/profile.d/onl-platform-current.sh delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/rssh.conf delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/snmp/snmpd.conf delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-block.rules delete mode 100644 builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-net.rules delete mode 100755 builds/any/rootfs/jessie/common/overlay/sbin/pgetty delete mode 100755 builds/any/rootfs/jessie/common/overlay/sbin/watchdir delete mode 100644 builds/any/rootfs/jessie/common/powerpc-base-packages.yml delete mode 100644 builds/any/rootfs/jessie/common/powerpc-onl-packages.yml delete mode 100644 builds/any/rootfs/jessie/standard/standard.yml delete mode 100755 builds/any/rootfs/jessie/systemd/overlay/sbin/init delete mode 100644 builds/any/rootfs/jessie/sysvinit/overlay/etc/inittab delete mode 100644 docker/images/builder8/1.0/Dockerfile delete mode 100644 docker/images/builder8/1.0/Makefile delete mode 100644 docker/images/builder8/1.1/Dockerfile delete mode 100644 docker/images/builder8/1.1/Makefile delete mode 100644 docker/images/builder8/1.10/Dockerfile delete mode 100644 docker/images/builder8/1.10/Makefile delete mode 100644 docker/images/builder8/1.11/Dockerfile delete mode 100644 docker/images/builder8/1.11/Makefile delete mode 100644 docker/images/builder8/1.2/Dockerfile delete mode 100644 docker/images/builder8/1.2/Makefile delete mode 100644 docker/images/builder8/1.3/README delete mode 100644 docker/images/builder8/1.3/history delete mode 100644 docker/images/builder8/1.4/Dockerfile delete mode 100644 docker/images/builder8/1.4/Makefile delete mode 100644 docker/images/builder8/1.5/Dockerfile delete mode 100644 docker/images/builder8/1.5/Makefile delete mode 100644 docker/images/builder8/1.6/Dockerfile delete mode 100644 docker/images/builder8/1.6/Makefile delete mode 100644 docker/images/builder8/1.7/Dockerfile delete mode 100644 docker/images/builder8/1.7/Makefile delete mode 100644 docker/images/builder8/1.8/Dockerfile delete mode 100644 docker/images/builder8/1.8/Makefile delete mode 100644 docker/images/builder8/1.9/Dockerfile delete mode 100644 docker/images/builder8/1.9/Makefile diff --git a/Makefile b/Makefile index 6c8ceae5b..bbe522dcb 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,6 @@ $(foreach a,$(ALL_ARCHES),$(eval $(call build_arch_template,$(a)))) # Available build architectures based on the current suite -BUILD_ARCHES_jessie := amd64 powerpc armel BUILD_ARCHES_stretch := arm64 amd64 BUILD_ARCHES_buster := arm64 amd64 diff --git a/REPO/jessie/Makefile b/REPO/jessie/Makefile deleted file mode 100644 index bfbd6a4bb..000000000 --- a/REPO/jessie/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo-suite.mk diff --git a/REPO/jessie/packages/binary-all/Makefile b/REPO/jessie/packages/binary-all/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/jessie/packages/binary-all/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/jessie/packages/binary-amd64/Makefile b/REPO/jessie/packages/binary-amd64/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/jessie/packages/binary-amd64/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/jessie/packages/binary-arm64/Makefile b/REPO/jessie/packages/binary-arm64/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/jessie/packages/binary-arm64/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/jessie/packages/binary-armel/Makefile b/REPO/jessie/packages/binary-armel/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/jessie/packages/binary-armel/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/REPO/jessie/packages/binary-powerpc/Makefile b/REPO/jessie/packages/binary-powerpc/Makefile deleted file mode 100644 index 6283cc301..000000000 --- a/REPO/jessie/packages/binary-powerpc/Makefile +++ /dev/null @@ -1 +0,0 @@ -include $(ONL)/make/repo.mk diff --git a/builds/any/rootfs/jessie/common/all-base-packages.yml b/builds/any/rootfs/jessie/common/all-base-packages.yml deleted file mode 100644 index bbeab6b4d..000000000 --- a/builds/any/rootfs/jessie/common/all-base-packages.yml +++ /dev/null @@ -1,83 +0,0 @@ -############################################################ -# -# Common Release Packages for all systems. -# -############################################################ -- base-files -- locales -- python -- apt -- apt-utils -- debconf -- dialog -- procps -- net-tools -- iputils-ping -- less -- sudo -- openssh-server -- iproute -- resolvconf -- vim-tiny -- zile -- nano -- lsof -- mingetty -- traceroute -- realpath -- rsyslog -- nfs-common -- netbase -- bsdmainutils -- ifupdown -- psmisc -- make -- python-cherrypy3 -- python-tz -- scapy -- python-pypcap -- snmpd -- snmp -- pciutils -- usbutils -- mtd-utils -- i2c-tools -- module-init-tools -- isc-dhcp-client -- ntp -- wget -- ethtool -- localepurge -- telnetd -- python-pyinotify -- cpio -- util-linux -- dosfstools -- rssh -- u-boot-tools -- ntpdate -- onlp -- parted -- watchdog -- netplug -- binutils -- file -- smartmontools -- realpath -- iptables -- onl-faultd -- onlp-snmpd -- oom-shim -- python-parted -- python-yaml -- bzip2 -- xz-utils -- unzip -- onl-mibs -- openssl -- gdb -- tcpdump -- strace -- sysstat -- ipmitool -- lm-sensors diff --git a/builds/any/rootfs/jessie/common/amd64-base-packages.yml b/builds/any/rootfs/jessie/common/amd64-base-packages.yml deleted file mode 100644 index 8600bf5ee..000000000 --- a/builds/any/rootfs/jessie/common/amd64-base-packages.yml +++ /dev/null @@ -1,19 +0,0 @@ -############################################################ -# -# Common packages for all amd64 systems. -# -############################################################ -- dmidecode -- parted -- smartmontools -- grub2 -- onl-upgrade -- hw-management -- sx-kernel -- onl-kernel-3.16-lts-x86-64-all-modules -- onl-kernel-4.9-lts-x86-64-all-modules -- onl-kernel-4.14-lts-x86-64-all-modules -- onl-kernel-4.19-lts-x86-64-all-modules -- onl-kernel-5.6-lts-x86-64-all-modules -- efibootmgr -- gdisk diff --git a/builds/any/rootfs/jessie/common/amd64-onl-packages.yml b/builds/any/rootfs/jessie/common/amd64-onl-packages.yml deleted file mode 100644 index 984f2fc34..000000000 --- a/builds/any/rootfs/jessie/common/amd64-onl-packages.yml +++ /dev/null @@ -1,11 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-upgrade - - - - - diff --git a/builds/any/rootfs/jessie/common/arm64-base-packages.yml b/builds/any/rootfs/jessie/common/arm64-base-packages.yml deleted file mode 100644 index 71c41a67b..000000000 --- a/builds/any/rootfs/jessie/common/arm64-base-packages.yml +++ /dev/null @@ -1 +0,0 @@ -- u-boot-tools diff --git a/builds/any/rootfs/jessie/common/arm64-onl-packages.yml b/builds/any/rootfs/jessie/common/arm64-onl-packages.yml deleted file mode 100644 index e58df638d..000000000 --- a/builds/any/rootfs/jessie/common/arm64-onl-packages.yml +++ /dev/null @@ -1,9 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-loader-fit - - - diff --git a/builds/any/rootfs/jessie/common/armel-base-packages.yml b/builds/any/rootfs/jessie/common/armel-base-packages.yml deleted file mode 100644 index 6664ed16c..000000000 --- a/builds/any/rootfs/jessie/common/armel-base-packages.yml +++ /dev/null @@ -1,2 +0,0 @@ -- u-boot-tools -- onl-kernel-4.14-lts-armel-iproc-all-modules diff --git a/builds/any/rootfs/jessie/common/armel-onl-packages.yml b/builds/any/rootfs/jessie/common/armel-onl-packages.yml deleted file mode 100644 index e58df638d..000000000 --- a/builds/any/rootfs/jessie/common/armel-onl-packages.yml +++ /dev/null @@ -1,9 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-loader-fit - - - diff --git a/builds/any/rootfs/jessie/common/overlay/etc/adjtime b/builds/any/rootfs/jessie/common/overlay/etc/adjtime deleted file mode 100644 index 7481b1157..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/adjtime +++ /dev/null @@ -1 +0,0 @@ -0.0 0 0.0 diff --git a/builds/any/rootfs/jessie/common/overlay/etc/filesystems b/builds/any/rootfs/jessie/common/overlay/etc/filesystems deleted file mode 100644 index 01350bead..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/filesystems +++ /dev/null @@ -1,6 +0,0 @@ -jffs2 -ubifs -vfat -ext4 -ext3 -ext2 diff --git a/builds/any/rootfs/jessie/common/overlay/etc/inetd.conf b/builds/any/rootfs/jessie/common/overlay/etc/inetd.conf deleted file mode 100644 index 367f8d084..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/inetd.conf +++ /dev/null @@ -1,3 +0,0 @@ -telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd -qotd stream tcp nowait telnetd /usr/sbin/tcpd /sbin/versiond - diff --git a/builds/any/rootfs/jessie/common/overlay/etc/inittab b/builds/any/rootfs/jessie/common/overlay/etc/inittab deleted file mode 100644 index e242bf0aa..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/inittab +++ /dev/null @@ -1,67 +0,0 @@ -# The default runlevel. -id:2:initdefault: - -# Boot-time system configuration/initialization script. -# This is run first except when booting in emergency (-b) mode. -si0::sysinit:/etc/boot.d/boot -si1::sysinit:/etc/init.d/rcS - -# What to do in single-user mode. -~~:S:wait:/sbin/sulogin - -# /etc/init.d executes the S and K scripts upon change -# of runlevel. -# -# Runlevel 0 is halt. -# Runlevel 1 is single-user. -# Runlevels 2-5 are multi-user. -# Runlevel 6 is reboot. - -l0:0:wait:/etc/init.d/rc 0 -l1:1:wait:/etc/init.d/rc 1 -l2:2:wait:/etc/init.d/rc 2 -l3:3:wait:/etc/init.d/rc 3 -l4:4:wait:/etc/init.d/rc 4 -l5:5:wait:/etc/init.d/rc 5 -l6:6:wait:/etc/init.d/rc 6 -# Normally not reached, but fallthrough in case of emergency. -z6:6:respawn:/sbin/sulogin - -# What to do when CTRL-ALT-DEL is pressed. -ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now - -# Action on special keypress (ALT-UpArrow). -#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." - -# What to do when the power fails/returns. -pf::powerwait:/etc/init.d/powerfail start -pn::powerfailnow:/etc/init.d/powerfail now -po::powerokwait:/etc/init.d/powerfail stop - -# /sbin/getty invocations for the runlevels. -# -# The "id" field MUST be the same as the last -# characters of the device (after "tty"). -# -# Format: -# ::: -# -# Note that on most Debian systems tty7 is used by the X Window System, -# so if you want to add more getty's go ahead but skip tty7 if you run X. -# -1:2345:respawn:/sbin/getty 38400 tty1 -2:23:respawn:/sbin/getty 38400 tty2 -3:23:respawn:/sbin/getty 38400 tty3 -4:23:respawn:/sbin/getty 38400 tty4 -5:23:respawn:/sbin/getty 38400 tty5 -6:23:respawn:/sbin/getty 38400 tty6 - -# Example how to put a getty on a serial line (for a terminal) -# -#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 -#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 - -# Example how to put a getty on a modem line. -# -#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 - diff --git a/builds/any/rootfs/jessie/common/overlay/etc/mtab.yml b/builds/any/rootfs/jessie/common/overlay/etc/mtab.yml deleted file mode 100644 index e04f3666d..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/mtab.yml +++ /dev/null @@ -1,27 +0,0 @@ -mounts: - ONL-IMAGES: - mount: ro - dir: /mnt/onl/images - fsck: true - - ONL-DATA: - mount: rw - dir: /mnt/onl/data - - ONL-CONFIG: - mount: ro - dir: /mnt/onl/config - fsck: true - - ONL-BOOT: - mount: ro - dir: /mnt/onl/boot - fsck: false - - # ESP (EFI system partition) - EFI-BOOT: - mount: ro - dir: /boot/efi - fsck: false - label: EFI System - optional: true diff --git a/builds/any/rootfs/jessie/common/overlay/etc/profile.d/onl-platform-current.sh b/builds/any/rootfs/jessie/common/overlay/etc/profile.d/onl-platform-current.sh deleted file mode 100644 index 5237bbb82..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/profile.d/onl-platform-current.sh +++ /dev/null @@ -1,7 +0,0 @@ -############################################################ -# -# Add platform specific directories to path. -# -############################################################ -dir=/lib/platform-config/current/onl -export PATH="$PATH:$dir/bin:$dir/sbin:$dir/lib/bin:$dir/lib/sbin" diff --git a/builds/any/rootfs/jessie/common/overlay/etc/rssh.conf b/builds/any/rootfs/jessie/common/overlay/etc/rssh.conf deleted file mode 100644 index 33975b189..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/rssh.conf +++ /dev/null @@ -1,4 +0,0 @@ -logfacility = LOG_USER -allowsftp -allowscp -umask = 022 diff --git a/builds/any/rootfs/jessie/common/overlay/etc/snmp/snmpd.conf b/builds/any/rootfs/jessie/common/overlay/etc/snmp/snmpd.conf deleted file mode 100644 index 13eb88f78..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/snmp/snmpd.conf +++ /dev/null @@ -1,195 +0,0 @@ -############################################################################### -# -# EXAMPLE.conf: -# An example configuration file for configuring the Net-SNMP agent ('snmpd') -# See the 'snmpd.conf(5)' man page for details -# -# Some entries are deliberately commented out, and will need to be explicitly activated -# -############################################################################### -# -# AGENT BEHAVIOUR -# - -# Listen for connections from the local system only -# agentAddress udp:127.0.0.1:161 -# Listen for connections on all interfaces (both IPv4 *and* IPv6) -agentAddress udp:161,udp6:[::1]:161 - - - -############################################################################### -# -# SNMPv3 AUTHENTICATION -# -# Note that these particular settings don't actually belong here. -# They should be copied to the file /var/lib/snmp/snmpd.conf -# and the passwords changed, before being uncommented in that file *only*. -# Then restart the agent - -# createUser authOnlyUser MD5 "remember to change this password" -# createUser authPrivUser SHA "remember to change this one too" DES -# createUser internalUser MD5 "this is only ever used internally, but still change the password" - -# If you also change the usernames (which might be sensible), -# then remember to update the other occurances in this example config file to match. - - - -############################################################################### -# -# ACCESS CONTROL -# - - # system + hrSystem groups only -view systemonly included .1.3.6.1.2.1.1 -view systemonly included .1.3.6.1.2.1.25.1 -view systemonly included .1.3.6.1.4.1.42623 - # Full access from the local host -rocommunity public localhost - # Default access to basic system info - rocommunity public default -V systemonly - # rocommunity6 is for IPv6 - rocommunity6 public default -V systemonly - - # Full access from an example network - # Adjust this network address to match your local - # settings, change the community string, - # and check the 'agentAddress' setting above -#rocommunity secret 10.0.0.0/16 - - # Full read-only access for SNMPv3 - rouser authOnlyUser - # Full write access for encrypted requests - # Remember to activate the 'createUser' lines above -#rwuser authPrivUser priv - -# It's no longer typically necessary to use the full 'com2sec/group/access' configuration -# r[ow]user and r[ow]community, together with suitable views, should cover most requirements - - - -############################################################################### -# -# SYSTEM INFORMATION -# - -# Note that setting these values here, results in the corresponding MIB objects being 'read-only' -# See snmpd.conf(5) for more details -sysLocation Sitting on the Dock of the Bay -sysContact Me - # Application + End-to-End layers -sysServices 72 - - -# -# Process Monitoring -# - # At least one 'mountd' process -proc mountd - # No more than 4 'ntalkd' processes - 0 is OK -proc ntalkd 4 - # At least one 'sendmail' process, but no more than 10 -proc sendmail 10 1 - -# Walk the UCD-SNMP-MIB::prTable to see the resulting output -# Note that this table will be empty if there are no "proc" entries in the snmpd.conf file - - -# -# Disk Monitoring -# - # 10MBs required on root disk, 5% free on /var, 10% free on all other disks -disk / 10000 -disk /var 5% -includeAllDisks 10% - -# Walk the UCD-SNMP-MIB::dskTable to see the resulting output -# Note that this table will be empty if there are no "disk" entries in the snmpd.conf file - - -# -# System Load -# - # Unacceptable 1-, 5-, and 15-minute load averages -load 12 10 5 - -# Walk the UCD-SNMP-MIB::laTable to see the resulting output -# Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file - - - -############################################################################### -# -# ACTIVE MONITORING -# - - # send SNMPv1 traps - trapsink localhost public - # send SNMPv2c traps -#trap2sink localhost public - # send SNMPv2c INFORMs -#informsink localhost public - -# Note that you typically only want *one* of these three lines -# Uncommenting two (or all three) will result in multiple copies of each notification. - - -# -# Event MIB - automatically generate alerts -# - # Remember to activate the 'createUser' lines above -iquerySecName internalUser -rouser internalUser - # generate traps on UCD error conditions -defaultMonitors yes - # generate traps on linkUp/Down -linkUpDownNotifications yes - - - -############################################################################### -# -# EXTENDING THE AGENT -# - -# -# Arbitrary extension commands -# - extend test1 /bin/echo Hello, world! - extend-sh test2 echo Hello, world! ; echo Hi there ; exit 35 -#extend-sh test3 /bin/sh /tmp/shtest - -# Note that this last entry requires the script '/tmp/shtest' to be created first, -# containing the same three shell commands, before the line is uncommented - -# Walk the NET-SNMP-EXTEND-MIB tables (nsExtendConfigTable, nsExtendOutput1Table -# and nsExtendOutput2Table) to see the resulting output - -# Note that the "extend" directive supercedes the previous "exec" and "sh" directives -# However, walking the UCD-SNMP-MIB::extTable should still returns the same output, -# as well as the fuller results in the above tables. - - -# -# "Pass-through" MIB extension command -# -#pass .1.3.6.1.4.1.8072.2.255 /bin/sh PREFIX/local/passtest -#pass .1.3.6.1.4.1.8072.2.255 /usr/bin/perl PREFIX/local/passtest.pl - -# Note that this requires one of the two 'passtest' scripts to be installed first, -# before the appropriate line is uncommented. -# These scripts can be found in the 'local' directory of the source distribution, -# and are not installed automatically. - -# Walk the NET-SNMP-PASS-MIB::netSnmpPassExamples subtree to see the resulting output - - -# -# AgentX Sub-agents -# - # Run as an AgentX master agent - master agentx - # Listen for network connections (from localhost) - # rather than the default named socket /var/agentx/master -#agentXSocket tcp:localhost:705 diff --git a/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-block.rules b/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-block.rules deleted file mode 100644 index f2345a375..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-block.rules +++ /dev/null @@ -1 +0,0 @@ -SUBSYSTEM=="block", RUN+="/sbin/initblockdev $kernel $env{ACTION}" diff --git a/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-net.rules b/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-net.rules deleted file mode 100644 index 627e65e46..000000000 --- a/builds/any/rootfs/jessie/common/overlay/etc/udev/rules.d/60-net.rules +++ /dev/null @@ -1 +0,0 @@ -SUBSYSTEM=="net", RUN+="/sbin/initnetdev $kernel $env{ACTION}" diff --git a/builds/any/rootfs/jessie/common/overlay/sbin/pgetty b/builds/any/rootfs/jessie/common/overlay/sbin/pgetty deleted file mode 100755 index 01ed10dc2..000000000 --- a/builds/any/rootfs/jessie/common/overlay/sbin/pgetty +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -t=/dev/$1 -# if $1 is not set, use linux cmdline console as default tty -[ -z "$1" ] && { - tty=$(/bin/sed 's/.*console=\([^,]*\).*/\1/' /proc/cmdline) - t=/dev/$tty -} - -# Reset the console tty to standard settings -/bin/stty -F $t sane pass8 -ixon -cstopb clocal - -# Kill any processes with the console tty open before starting a new -# login session (login tries to do this, but vhangup() spares processes -# that ignore SIGHUP) -#/usr/bin/lsof -p ^$$ -t $t 0<&- 1>&- 2>&- | /usr/bin/xargs -r /bin/kill -9 - -# Flush tty input and output queues -#/sbin/flushtty <$t - -# We use mingetty instead of agetty, as the latter messes up the tty -# settings if it receives junk characters at the wrong speed -exec /sbin/mingetty --noclear $t diff --git a/builds/any/rootfs/jessie/common/overlay/sbin/watchdir b/builds/any/rootfs/jessie/common/overlay/sbin/watchdir deleted file mode 100755 index 3ff32aa70..000000000 --- a/builds/any/rootfs/jessie/common/overlay/sbin/watchdir +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/python -############################################################ -# -# -# Copyright 2013, 2014 Big Switch Networks, Inc. -# -# Licensed under the Eclipse Public License, Version 1.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.eclipse.org/legal/epl-v10.html -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -# either express or implied. See the License for the specific -# language governing permissions and limitations under the -# License. -# -# -############################################################ -# -# watchdir -# -############################################################ -import optparse, os.path, sys -import pyinotify - -#pyinotify.log.setLevel(pyinotify.logging.DEBUG) - -op = optparse.OptionParser( usage="%prog [OPTIONS] command") -op.add_option("-w", "--watchdir", action="append", - help="monitor watchdir for changes (may be used multiple times)") -op.add_option("--period", action="store", type="float", - help="run command at most every period sec (default=%default)") -op.add_option("-d", "--daemon", action="store_true", - help="run in background") -op.add_option("--logfile", action="store", - help="send output to logfile when running in background") -op.add_option("--pidfile", action="store", - help="write pid to pidfile when running in background") -op.set_defaults(period=0, logfile="/dev/stdout", pidfile=False) -opts, args = op.parse_args() - -if not opts.watchdir: - op.error("need at least one watchdir") - -os.close(0) -os.open("/dev/null", os.O_RDONLY) - -wm = pyinotify.WatchManager() -n = pyinotify.Notifier(wm, read_freq=opts.period) -def handle(event): - dir = None - for d in opts.watchdir: - if os.path.commonprefix([d, event.pathname]) == d: - dir = d - sys.stdout.write("%s: %s %s\n" % (dir, event.pathname, event)) - sys.stdout.flush() - if args: - os.spawnvp(os.P_WAIT, args[0], - args + [dir, event.pathname, event.maskname]) -wm.add_watch( - opts.watchdir, - pyinotify.IN_ATTRIB | pyinotify.IN_CREATE | pyinotify.IN_DELETE | - pyinotify.IN_MODIFY | pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO, - handle, - rec=True, - auto_add=True) -n.loop(daemonize=opts.daemon, stdout=opts.logfile, stderr=opts.logfile, - pid_file=opts.pidfile) diff --git a/builds/any/rootfs/jessie/common/powerpc-base-packages.yml b/builds/any/rootfs/jessie/common/powerpc-base-packages.yml deleted file mode 100644 index e876f6bd8..000000000 --- a/builds/any/rootfs/jessie/common/powerpc-base-packages.yml +++ /dev/null @@ -1,11 +0,0 @@ -############################################################ -# -# Common packages for all PowerPC systems. -# -############################################################ -- u-boot-tools - - - - - diff --git a/builds/any/rootfs/jessie/common/powerpc-onl-packages.yml b/builds/any/rootfs/jessie/common/powerpc-onl-packages.yml deleted file mode 100644 index e58df638d..000000000 --- a/builds/any/rootfs/jessie/common/powerpc-onl-packages.yml +++ /dev/null @@ -1,9 +0,0 @@ -############################################################ -# -# These packages are specific to the ONL root filesystem build. -# -############################################################ -- onl-loader-fit - - - diff --git a/builds/any/rootfs/jessie/standard/standard.yml b/builds/any/rootfs/jessie/standard/standard.yml deleted file mode 100644 index d26010c75..000000000 --- a/builds/any/rootfs/jessie/standard/standard.yml +++ /dev/null @@ -1,113 +0,0 @@ -############################################################ -# -# Standard ONL Debian 8 Root Filesystem Configuration. -# -# Requires: -# ARCH, PLATFORM_LIST -# -# -############################################################ -variables: - !include $ONL/make/versions/version-onl.yml - -Packages: &Packages - - !script $ONL/tools/onl-init-pkgs.py ${INIT} - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/all-base-packages.yml - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/${ARCH}-base-packages.yml - - !include $ONL/builds/any/rootfs/$ONL_DEBIAN_SUITE/common/${ARCH}-onl-packages.yml - - !script $ONL/tools/onl-platform-pkgs.py ${PLATFORM_LIST} - -Multistrap: - General: - arch: ${ARCH} - cleanup: true - noauth: true - explicitsuite: false - unpack: true - debootstrap: Debian-Local Local-All Local-Arch ONL-Local - aptsources: Debian ONL - - Debian: - packages: *Packages - source: http://${DEBIAN_MIRROR} - suite: ${ONL_DEBIAN_SUITE} - keyring: debian-archive-keyring - omitdebsrc: true - - Debian-Local: - packages: *Packages - source: http://${APT_CACHE}${DEBIAN_MIRROR} - suite: ${ONL_DEBIAN_SUITE} - keyring: debian-archive-keyring - omitdebsrc: true - - ONL: - packages: *Packages - source: http://apt.opennetlinux.org/debian - suite: unstable - omitdebsrc: true - - ONL-Local: - packages: *Packages - source: http://${APT_CACHE}apt.opennetlinux.org/debian - suite: unstable - omitdebsrc: true - - Local-All: - source: ${ONLPM_OPTION_REPO}/${ONL_DEBIAN_SUITE}/packages/binary-all - omitdebsrc: true - - Local-Arch: - source: ${ONLPM_OPTION_REPO}/${ONL_DEBIAN_SUITE}/packages/binary-${ARCH} - omitdebsrc: true - -Configure: - overlays: - - ${ONL}/builds/any/rootfs/${ONL_DEBIAN_SUITE}/common/overlay - - ${ONL}/builds/any/rootfs/${ONL_DEBIAN_SUITE}/${INIT}/overlay - - update-rc.d: - - 'faultd defaults' - - 'onlpd defaults' - - 'snmpd defaults' - - 'onlp-snmpd defaults' - - 'ssh defaults' - - 'openbsd-inetd remove' - - 'ntp remove' - - 'nfs-common remove' - - 'rpcbind remove' - - 'motd remove' - - 'mountall-bootclean.sh remove' - - 'mountall.sh remove' - - 'checkfs.sh remove' - - 'mtab.sh remove' - - 'checkroot-bootclean.sh remove' - - 'checkroot.sh remove' - - 'mountnfs-bootclean.sh remove' - - 'mountnfs.sh remove' - - 'lm-sensors remove' - - 'netplug defaults' - - 'watchdog defaults' - - 'wd_keepalive remove' - - options: - clean: True - securetty: False - ttys: False - console: True - PermitRootLogin: 'yes' - - users: - root: - password: onl - - manifests: - '/etc/onl/rootfs/manifest.json' : - version : $ONL/make/versions/version-onl.json - platforms : $PLATFORM_LIST - - issue: $VERSION_STRING - - files: - remove: - - /etc/motd diff --git a/builds/any/rootfs/jessie/systemd/overlay/sbin/init b/builds/any/rootfs/jessie/systemd/overlay/sbin/init deleted file mode 100755 index 8f977bd87..000000000 --- a/builds/any/rootfs/jessie/systemd/overlay/sbin/init +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -/etc/boot.d/boot -echo "Starting systemd..." -exec /lib/systemd/systemd diff --git a/builds/any/rootfs/jessie/sysvinit/overlay/etc/inittab b/builds/any/rootfs/jessie/sysvinit/overlay/etc/inittab deleted file mode 100644 index e242bf0aa..000000000 --- a/builds/any/rootfs/jessie/sysvinit/overlay/etc/inittab +++ /dev/null @@ -1,67 +0,0 @@ -# The default runlevel. -id:2:initdefault: - -# Boot-time system configuration/initialization script. -# This is run first except when booting in emergency (-b) mode. -si0::sysinit:/etc/boot.d/boot -si1::sysinit:/etc/init.d/rcS - -# What to do in single-user mode. -~~:S:wait:/sbin/sulogin - -# /etc/init.d executes the S and K scripts upon change -# of runlevel. -# -# Runlevel 0 is halt. -# Runlevel 1 is single-user. -# Runlevels 2-5 are multi-user. -# Runlevel 6 is reboot. - -l0:0:wait:/etc/init.d/rc 0 -l1:1:wait:/etc/init.d/rc 1 -l2:2:wait:/etc/init.d/rc 2 -l3:3:wait:/etc/init.d/rc 3 -l4:4:wait:/etc/init.d/rc 4 -l5:5:wait:/etc/init.d/rc 5 -l6:6:wait:/etc/init.d/rc 6 -# Normally not reached, but fallthrough in case of emergency. -z6:6:respawn:/sbin/sulogin - -# What to do when CTRL-ALT-DEL is pressed. -ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now - -# Action on special keypress (ALT-UpArrow). -#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." - -# What to do when the power fails/returns. -pf::powerwait:/etc/init.d/powerfail start -pn::powerfailnow:/etc/init.d/powerfail now -po::powerokwait:/etc/init.d/powerfail stop - -# /sbin/getty invocations for the runlevels. -# -# The "id" field MUST be the same as the last -# characters of the device (after "tty"). -# -# Format: -# ::: -# -# Note that on most Debian systems tty7 is used by the X Window System, -# so if you want to add more getty's go ahead but skip tty7 if you run X. -# -1:2345:respawn:/sbin/getty 38400 tty1 -2:23:respawn:/sbin/getty 38400 tty2 -3:23:respawn:/sbin/getty 38400 tty3 -4:23:respawn:/sbin/getty 38400 tty4 -5:23:respawn:/sbin/getty 38400 tty5 -6:23:respawn:/sbin/getty 38400 tty6 - -# Example how to put a getty on a serial line (for a terminal) -# -#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 -#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 - -# Example how to put a getty on a modem line. -# -#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 - diff --git a/docker/images/builder8/1.0/Dockerfile b/docker/images/builder8/1.0/Dockerfile deleted file mode 100644 index d14866359..000000000 --- a/docker/images/builder8/1.0/Dockerfile +++ /dev/null @@ -1,154 +0,0 @@ -FROM debian:8.2 -MAINTAINER Rob Sherwood - -# First round of dependences -RUN apt-get update && apt-get install -y \ - apt \ - apt-cacher-ng \ - apt-file \ - apt-utils \ - autoconf \ - automake \ - autotools-dev \ - bash-completion \ - bc \ - bind9-host \ - binfmt-support \ - binfmt-support \ - bison \ - bsdmainutils \ - build-essential \ - ccache \ - cdbs \ - cpio \ - debhelper \ - debhelper \ - debhelper \ - device-tree-compiler \ - devscripts \ - devscripts \ - dialog \ - dosfstools \ - dpkg-sig \ - emacs \ - file \ - flex \ - gcc \ - genisoimage \ - git \ - ifupdown \ - iproute \ - iputils-ping \ - isolinux \ - kmod \ - less \ - libc6-dev \ - libcurl4-nss-dev \ - libdouble-conversion-dev \ - libedit-dev \ - libevent-dev \ - libgoogle-glog-dev \ - libi2c-dev \ - libkrb5-dev \ - libnuma-dev \ - libsasl2-dev \ - libsnappy-dev \ - libpam-dev \ - libsnmp-dev \ - libssl-dev \ - libstdc++6=4.9.2-10 \ - libtool \ - locales \ - lsof \ - make \ - mingetty \ - mtd-utils \ - mtools \ - multistrap \ - nano \ - ncurses-dev \ - netbase \ - net-tools \ - nfs-common \ - openssh-server \ - pkg-config \ - pkg-config \ - procps \ - psmisc \ - python \ - python-debian \ - python-dnspython \ - python-yaml \ - qemu \ - qemu-user-static \ - realpath \ - realpath \ - rsyslog \ - ruby \ - ruby-dev \ - rubygems \ - screen \ - squashfs-tools \ - sshpass \ - sudo \ - syslinux-utils \ - traceroute \ - u-boot-tools \ - vim-tiny \ - wget \ - zile \ - zip -RUN gem install --version 1.3.3 fpm - -# Now the unstable deps and cross compilers -# NOTE 1: texinfo 5.x and above breaks the buildroot build, thus the specific 4.x version -# NOTE 2: this cp is needed to fix an i2c compile problem -# NOTE 3: the /etc/apt/apt.conf.d/docker-* options break multistrap so -# that it can't find. Essential packages or resolve apt.opennetlinux.org -# NOTE 4: the default qemu-user-static (1.2) dies with a segfault in -# `make onl-powerpc`; use 1.4 instead - -RUN echo 'APT::Get::AllowUnauthenticated "true";\nAPT::Get::Assume-Yes "true";' | tee /etc/apt/apt.conf.d/99opennetworklinux && \ - echo "deb http://apt.opennetlinux.org/debian/ unstable main" | tee /etc/apt/sources.list.d/opennetlinux.list && \ - curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add - && \ - echo "deb http://emdebian.org/tools/debian/ jessie main" | tee /etc/apt/sources.list.d/embedian-jessie.list && \ - dpkg --add-architecture powerpc && \ - apt-get update && \ - apt-get install -y \ - binutils-powerpc-linux-gnu \ - libc6-dev-powerpc-cross \ - crossbuild-essential-powerpc \ - cross-gcc-dev \ - folly \ - fbthrift \ - wangle \ - libgomp1-powerpc-cross && \ - wget "http://ftp.us.debian.org/debian/pool/main/t/texinfo/texinfo_4.13a.dfsg.1-10_amd64.deb" && \ - dpkg -i texinfo_4.13a.dfsg.1-10_amd64.deb && \ - wget "http://ftp.us.debian.org/debian/pool/main/e/emdebian-crush/xapt_2.2.19_all.deb" && \ - dpkg -i xapt_2.2.19_all.deb && \ - xapt -a powerpc libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev -# update-alternatives --install /usr/bin/powerpc-linux-gnu-gcc powerpc-linux-gnu-gcc 10 && - -# -# The i2c-dev.h user/kernel header conflict is a nightmare. -# -# The ONLP implementation expects a new file called to be in place which contains the correct user-space driver definitions. -# This should be manually populated here after the toolchains have been installed. -# -RUN cp /usr/include/linux/i2c-dev.h /usr/include/linux/i2c-devices.h && \ - cp /usr/include/linux/i2c-dev.h /usr/powerpc-linux-gnu/include/linux/i2c-devices.h - -RUN rm /etc/apt/apt.conf.d/docker-* && \ - wget "https://launchpad.net/ubuntu/+source/qemu/1.4.0+dfsg-1expubuntu3/+build/4336762/+files/qemu-user-static_1.4.0%2Bdfsg-1expubuntu3_amd64.deb" && \ - dpkg -i qemu-user-static_1.4.0+dfsg-1expubuntu3_amd64.deb - -# -# Copy the docker shell init script to /bin -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id - -RUN apt-get install -y \ - libstdc++6=4.9.2-10 --force-yes -RUN apt-get install libboost-all-dev cmake diff --git a/docker/images/builder8/1.0/Makefile b/docker/images/builder8/1.0/Makefile deleted file mode 100644 index 954543f24..000000000 --- a/docker/images/builder8/1.0/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.0 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.1/Dockerfile b/docker/images/builder8/1.1/Dockerfile deleted file mode 100644 index 69fea3617..000000000 --- a/docker/images/builder8/1.1/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM opennetworklinux/builder8:1.0 -MAINTAINER Rob Sherwood - -RUN apt-get update && apt-get install -y \ - libpcap-dev \ - telnet \ - gdb -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.1/Makefile b/docker/images/builder8/1.1/Makefile deleted file mode 100644 index 7b0835d21..000000000 --- a/docker/images/builder8/1.1/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.1 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.10/Dockerfile b/docker/images/builder8/1.10/Dockerfile deleted file mode 100644 index d729e076d..000000000 --- a/docker/images/builder8/1.10/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM opennetworklinux/builder8:1.9 -MAINTAINER Jeffrey Townsend - -RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ - apt-get install linux-perf-4.9 linux-tools-3.16 linux-tools -y - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.10/Makefile b/docker/images/builder8/1.10/Makefile deleted file mode 100644 index 0e19100f1..000000000 --- a/docker/images/builder8/1.10/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.10 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.11/Dockerfile b/docker/images/builder8/1.11/Dockerfile deleted file mode 100644 index 306244dbe..000000000 --- a/docker/images/builder8/1.11/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM opennetworklinux/builder8:1.10 -MAINTAINER Jeffrey Townsend - -# -# The purpose of this image is to correct the problem in the docker_shell utility described here: -# -# commit d2fbc6ce14f6f1f693d03e2de448620e91842c8c -# Author: Jeffrey Townsend -# Date: Mon Mar 23 18:02:46 2020 -0700 -# -# The files in /etc/sudoers.d are ignored if they contain periods. If a invoking username contains a period then the sudo feature is broken and you cannot build. -# - -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y - -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.11/Makefile b/docker/images/builder8/1.11/Makefile deleted file mode 100644 index adaf01a6a..000000000 --- a/docker/images/builder8/1.11/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.11 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.2/Dockerfile b/docker/images/builder8/1.2/Dockerfile deleted file mode 100644 index 28976ac91..000000000 --- a/docker/images/builder8/1.2/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM opennetworklinux/builder8:1.1 -MAINTAINER Jeffrey Townsend - -RUN dpkg --add-architecture armel - -RUN apt-get update && apt-get install -y \ - crossbuild-essential-armel \ - gcc-arm-linux-gnueabi - -RUN xapt -a armel libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.2/Makefile b/docker/images/builder8/1.2/Makefile deleted file mode 100644 index fb5c6b7de..000000000 --- a/docker/images/builder8/1.2/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.2 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.3/README b/docker/images/builder8/1.3/README deleted file mode 100644 index cd0827283..000000000 --- a/docker/images/builder8/1.3/README +++ /dev/null @@ -1,2 +0,0 @@ -The dockerfile for this image was lost. -The image history is present. diff --git a/docker/images/builder8/1.3/history b/docker/images/builder8/1.3/history deleted file mode 100644 index 657c5ba55..000000000 --- a/docker/images/builder8/1.3/history +++ /dev/null @@ -1,29 +0,0 @@ -IMAGE CREATED CREATED BY SIZE -32155706d5a8ea8c642edaff8cf6ca93756c43f06b0df4ba6358fbd9b7241748 7 weeks ago /bin/sh -c #(nop) COPY file:64fe2c9e1b5e36e5a5dccdaf3f46ba7ca2894e6437f6d6c42efe0eb3ced9ab69 in /bin/container-id 245 B -da02890b2ba05440f2c7c1790ec9606c67ef946c1be1079652003ff47abc0683 7 weeks ago /bin/sh -c #(nop) COPY file:bbb3d40c93cd76b97c89e7bb34769a865d9ede5ce8311ad573125ae39a87f144 in /bin/docker_shell 5.516 kB -2a270cef9f88c6789cef1fc734edf02ea8fd7fc407a61a496d47d66fb776e3e1 7 weeks ago /bin/sh -c wget http://www.opennetlinux.org/tarballs/jessie-usr-buildroot-toolchains-arm.tgz && tar -C / -xvzf jessie-usr-buildroot-toolchains-arm.tgz && rm jessie-usr-buildroot-toolchains-arm.tgz 197.4 MB -f6bd6aa6112ff8e5f2f90392bb776e70f975a7c38ffa42363ad625e91d96ec87 7 weeks ago /bin/sh -c wget http://www.opennetlinux.org/tarballs/jessie-usr-buildroot-toolchains-x86_64.tgz && tar -C / -xvzf jessie-usr-buildroot-toolchains-x86_64.tgz && rm jessie-usr-buildroot-toolchains-x86_64.tgz 231.9 MB -460d6894f02cf961cb0ef04c37286eef20e302dda25caaeb9e8f31aca087cc05 7 weeks ago /bin/sh -c wget http://www.opennetlinux.org/tarballs/jessie-usr-buildroot-toolchains-powerpc.tgz && tar -C / -xvzf jessie-usr-buildroot-toolchains-powerpc.tgz && rm jessie-usr-buildroot-toolchains-powerpc.tgz 206.1 MB -2f1497573f9992b50dc67a588c64a4b142c60c19dc71476b29ed356cec23f657 3 months ago /bin/sh -c #(nop) MAINTAINER Jeffrey Townsend 0 B -dd52538e115b7afacd317aa629ae589640b563259c4dd3b0205141570b9e4fc0 3 months ago /bin/sh -c #(nop) COPY file:3ba8c73d2c1c05687b3a9ed061ce0ba68b3b3bcd3cc38d3b7872460ab20ef914 in /bin/container-id 245 B -1007bbaff6641c6f94b31bf8004d176a533fed98e02b1889d8546e2466de7685 3 months ago /bin/sh -c #(nop) COPY file:903a436a017d07edc14f3ad4155896e29fd20610cc268b25ef9dc566a2f67b67 in /bin/docker_shell 5.516 kB -2549711b6dfbd5c675cd06d04a0f90d77e4681cd0f15236aded81dad9becacf7 3 months ago /bin/sh -c xapt -a armel libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev 37.56 MB -d7b8911f99c278cce14adefb8739999022d588412cb5a48649dad01859f74d56 3 months ago /bin/sh -c apt-get update && apt-get install -y crossbuild-essential-armel gcc-arm-linux-gnueabi 450.9 MB -9d20ee8ab8a191f032def4397108e496f3d8c4823364b57296d115ad4183f27e 3 months ago /bin/sh -c dpkg --add-architecture armel 20 B -ffd59e478462bacdf142af97a881d5e23453e02d5d64c9b5cf8144f89e02d353 3 months ago /bin/sh -c #(nop) MAINTAINER Jeffrey Townsend 0 B -ad29f01f615f9477ed907ce7ff7dc4a55e0386e82614fcd134e0f6aca5b27c49 5 months ago /bin/sh -c #(nop) COPY file:841e3ae1b2e756363b64ba137881521b0e5e7dbe353fb76d62c967df8168092e in /bin/container-id 245 B -798fb45e3298c2a7fc374a17f4cd58148a6fb86f60e08a3e2ae0c227bc5c273e 5 months ago /bin/sh -c #(nop) COPY file:4c9660a24f51d28840aff28a6c89d7db3c6225c4bedbb9eebdf28a19e88551cd in /bin/docker_shell 5.516 kB -36b95e0bcd35619fdaab0de30fab19918347e53316657387d9c4ec8de4bc6cfd 5 months ago /bin/sh -c apt-get update && apt-get install -y libpcap-dev telnet gdb 263.9 MB -d1496c23e0ad410c13b466930f75ef98d5e23905791405da907f92808439831d 5 months ago /bin/sh -c #(nop) MAINTAINER Rob Sherwood 0 B -95d70986f9d6276424d3080d0d34f16a048bb0371580e3298d630b17dbe4609a 7 months ago /bin/sh -c apt-get install libboost-all-dev cmake 354.9 MB -ddb8d8aeac58a06f066bef825e6a27b0c72ff76835b0f571ad18a7c89bd93d40 7 months ago /bin/sh -c apt-get install -y libstdc++6=4.9.2-10 --force-yes 69.68 MB -09c7586cd496e865e594be70edfc83184f6e0552cb3ca9230c2f615331a93d68 7 months ago /bin/sh -c #(nop) COPY file:7cdbf54404b60a9d04a792bc0e9dcad6f49e612f48f8c6c402ee2dcf5688da69 in /bin/container-id 245 B -172f3bf0f3c43c34bd3303e6eb23359cc419831b8e6eac8ab90dd4b5aa600985 7 months ago /bin/sh -c #(nop) COPY file:77ace793edabe2a1c51ae29ff2eb52f6d6f46a86af4cf14cb2c413c0ff49d06e in /bin/docker_shell 5.075 kB -3c36ab092f6b85d75ffb756fad930b987fc8fbc8aa900dc22f01fedf7d202edc 7 months ago /bin/sh -c rm /etc/apt/apt.conf.d/docker-* && wget "https://launchpad.net/ubuntu/+source/qemu/1.4.0+dfsg-1expubuntu3/+build/4336762/+files/qemu-user-static_1.4.0%2Bdfsg-1expubuntu3_amd64.deb" && dpkg -i qemu-user-static_1.4.0+dfsg-1expubuntu3_amd64.deb 94.05 MB -cdb182045934be9bb9275ec8e9dcc7613594b8a91ab5e60a04b62d11e1c157be 7 months ago /bin/sh -c cp /usr/include/linux/i2c-dev.h /usr/include/linux/i2c-devices.h && cp /usr/include/linux/i2c-dev.h /usr/powerpc-linux-gnu/include/linux/i2c-devices.h 20.83 kB -9158d08b1793b1fc8a1d8e15bf19f23dc0fa13a1347a6c238225cb09f5e9e1d3 7 months ago /bin/sh -c echo 'APT::Get::AllowUnauthenticated "true";\nAPT::Get::Assume-Yes "true";' | tee /etc/apt/apt.conf.d/99opennetworklinux && echo "deb http://apt.opennetlinux.org/debian/ unstable main" | tee /etc/apt/sources.list.d/opennetlinux.list && curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add - && echo "deb http://emdebian.org/tools/debian/ jessie main" | tee /etc/apt/sources.list.d/embedian-jessie.list && dpkg --add-architecture powerpc && apt-get update && apt-get install -y binutils-powerpc-linux-gnu libc6-dev-powerpc-cross crossbuild-essential-powerpc cross-gcc-dev folly fbthrift wangle libgomp1-powerpc-cross && wget "http://ftp.us.debian.org/debian/pool/main/t/texinfo/texinfo_4.13a.dfsg.1-10_amd64.deb" && dpkg -i texinfo_4.13a.dfsg.1-10_amd64.deb && wget "http://ftp.us.debian.org/debian/pool/main/e/emdebian-crush/xapt_2.2.19_all.deb" && dpkg -i xapt_2.2.19_all.deb && xapt -a powerpc libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev 406 MB -49e279dabd91678fba86bd6687e6261a7b611f6e219648fff0a66bb933dc3c1d 7 months ago /bin/sh -c gem install --version 1.3.3 fpm 21.03 MB -49791c55ca44c73bf01888322bd5f020347b761c1c7f809c38301877a79d67af 7 months ago /bin/sh -c apt-get update && apt-get install -y apt apt-cacher-ng apt-file apt-utils autoconf automake autotools-dev bash-completion bc bind9-host binfmt-support binfmt-support bison bsdmainutils build-essential ccache cdbs cpio debhelper debhelper debhelper device-tree-compiler devscripts devscripts dialog dosfstools dpkg-sig emacs file flex gcc genisoimage git ifupdown iproute iputils-ping isolinux kmod less libc6-dev libcurl4-nss-dev libdouble-conversion-dev libedit-dev libevent-dev libgoogle-glog-dev libi2c-dev libkrb5-dev libnuma-dev libsasl2-dev libsnappy-dev libpam-dev libsnmp-dev libssl-dev libstdc++6=4.9.2-10 libtool locales lsof make mingetty mtd-utils mtools multistrap nano ncurses-dev netbase net-tools nfs-common openssh-server pkg-config pkg-config procps psmisc python python-debian python-dnspython python-yaml qemu qemu-user-static realpath realpath rsyslog ruby ruby-dev rubygems screen squashfs-tools sshpass sudo syslinux-utils traceroute u-boot-tools vim-tiny wget zile zip 1.213 GB -f6fd2198e086ea420c1b995d62c73f3626b25163b58c36fff23b1d33cba65476 9 months ago /bin/sh -c #(nop) MAINTAINER Rob Sherwood 0 B -58016a5acc80ae6bbee80c4c0ebf82fa0b17ad83a7c332b43420a5ac4daf1c78 9 months ago /bin/sh -c #(nop) CMD ["/bin/bash"] 0 B -e2a4fb18da48c71baa73583c05c06ecf1a27486ea0ec08ca3458ddd4647a1894 9 months ago /bin/sh -c #(nop) ADD file:fd73312d29edb04f9cf107eb2488342984471d1798ea66ba6067f91d13f76fdf in / 125.2 MB diff --git a/docker/images/builder8/1.4/Dockerfile b/docker/images/builder8/1.4/Dockerfile deleted file mode 100644 index 27550d561..000000000 --- a/docker/images/builder8/1.4/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -############################################################ -# -# Update with ONIE build dependencies. -# -############################################################ -FROM opennetworklinux/builder8:1.3 -MAINTAINER Jeffrey Townsend - -RUN apt-get update && apt-get install -y \ - stgit \ - gperf \ - gawk \ - automake \ - libexpat1-dev \ - libtool-bin \ - xorriso - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.4/Makefile b/docker/images/builder8/1.4/Makefile deleted file mode 100644 index 994063cfa..000000000 --- a/docker/images/builder8/1.4/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.4 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.5/Dockerfile b/docker/images/builder8/1.5/Dockerfile deleted file mode 100644 index 3cfa5e750..000000000 --- a/docker/images/builder8/1.5/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -############################################################ -# -# Update with aarch64 support dependencies. -# -############################################################ -FROM opennetworklinux/builder8:1.4 -MAINTAINER Jeffrey Townsend - -RUN dpkg --add-architecture arm64 - -RUN apt-get update && apt-get install -y \ - crossbuild-essential-arm64 \ - gcc-aarch64-linux-gnu - -RUN xapt -a arm64 libedit-dev ncurses-dev libsensors4-dev libwrap0-dev libssl-dev libsnmp-dev - -RUN wget http://www.opennetlinux.org/tarballs/usr-bin-qemu-aarch64-static.tgz && tar -C / -xvzf usr-bin-qemu-aarch64-static.tgz && rm usr-bin-qemu-aarch64-static.tgz -RUN wget http://www.opennetlinux.org/tarballs/jessie-usr-buildroot-toolchains-arm64.tgz && tar -C / -xvzf jessie-usr-buildroot-toolchains-arm64.tgz && rm jessie-usr-buildroot-toolchains-arm64.tgz - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.5/Makefile b/docker/images/builder8/1.5/Makefile deleted file mode 100644 index 98d96572b..000000000 --- a/docker/images/builder8/1.5/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.5 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.6/Dockerfile b/docker/images/builder8/1.6/Dockerfile deleted file mode 100644 index 193be33a3..000000000 --- a/docker/images/builder8/1.6/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -############################################################ -# -# Update with FRR support dependencies. -# -############################################################ -FROM opennetworklinux/builder8:1.5 -MAINTAINER Jeffrey Townsend - -RUN apt-get update && apt-get install -y \ -chrpath devscripts dh-autoreconf dh-systemd flex \ -hardening-wrapper libcap-dev libc-ares-dev libjson0 \ -libjson0-dev libjson-c-dev libpam0g-dev libpcre3-dev \ -libreadline-dev libsystemd-dev pkg-config \ -texlive-generic-recommended texinfo texlive-latex-base - -RUN xapt -a powerpc chrpath hardening-wrapper \ -libcap-dev libc-ares-dev libjson0 libjson0-dev \ -libjson-c-dev libpam0g-dev libpcre3-dev libreadline-dev \ -libsystemd-dev pkg-config texinfo libreadline6-dev \ -libtext-unidecode-perl libintl-perl libxml-libxml-perl - -RUN xapt -a arm64 chrpath hardening-wrapper \ -libcap-dev libc-ares-dev libjson0 libjson0-dev \ -libjson-c-dev libpam0g-dev libpcre3-dev libreadline-dev \ -libsystemd-dev pkg-config texinfo libreadline6-dev \ -libintl-perl libxml-libxml-perl - -RUN xapt -a armel chrpath hardening-wrapper \ -libcap-dev libc-ares-dev libjson0 libjson0-dev \ -libjson-c-dev libpam0g-dev libpcre3-dev libreadline-dev \ -libsystemd-dev pkg-config texinfo libreadline6-dev \ -libintl-perl libxml-libxml-perl - -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.6/Makefile b/docker/images/builder8/1.6/Makefile deleted file mode 100644 index 1177e2ad2..000000000 --- a/docker/images/builder8/1.6/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.6 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.7/Dockerfile b/docker/images/builder8/1.7/Dockerfile deleted file mode 100644 index 55ffdadf6..000000000 --- a/docker/images/builder8/1.7/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -############################################################ -# -# Fix broken cross dependencies. -# Update Packages. -# Additional build dependencies. -# -############################################################ -FROM opennetworklinux/builder8:1.6 -MAINTAINER Jeffrey Townsend -#ENV DEBIAN_FRONTEND noninteractive - -RUN apt-get install -f && \ - apt-get update - -RUN xapt -a powerpc libsnmp-dev && \ - xapt -a armel libsnmp-dev && \ - xapt -a arm64 libsnmp-dev - -RUN apt-get install -f - -RUN DEBIAN_FRONTEND=noninteractive apt-get install tshark -y -RUN sudo apt-get install -yq libpcap-dev libxml2-dev python-dev g++ swig tcpreplay libusb-dev - -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.7/Makefile b/docker/images/builder8/1.7/Makefile deleted file mode 100644 index 59f1dc05c..000000000 --- a/docker/images/builder8/1.7/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.7 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.8/Dockerfile b/docker/images/builder8/1.8/Dockerfile deleted file mode 100644 index 09b99b129..000000000 --- a/docker/images/builder8/1.8/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -############################################################ -# -# Minor updates. -# - libelf-dev for kernel 4.14 -# - cryptsetup-bin -# -############################################################ -FROM opennetworklinux/builder8:1.7 -MAINTAINER Jeffrey Townsend - -RUN apt-get update && apt-get install libelf-dev && apt-get install cryptsetup-bin - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.8/Makefile b/docker/images/builder8/1.8/Makefile deleted file mode 100644 index 7019be6b7..000000000 --- a/docker/images/builder8/1.8/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.8 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/images/builder8/1.9/Dockerfile b/docker/images/builder8/1.9/Dockerfile deleted file mode 100644 index 6b7ffae20..000000000 --- a/docker/images/builder8/1.9/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -############################################################ -# -# Minor updates. -# - libelf-dev for kernel 4.14 -# - cryptsetup-bin -# -############################################################ -FROM opennetworklinux/builder8:1.8 -MAINTAINER Jeffrey Townsend - -# LTS architecture fixes - -RUN sudo sed -i s/'http:\/\/security'/'[arch=amd64,armel] http:\/\/security'/g /etc/apt/sources.list && \ - apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ - apt-get install -y apt-transport-https - -# -# Docker shell and other container tools. -# -COPY docker_shell /bin/docker_shell -COPY container-id /bin/container-id diff --git a/docker/images/builder8/1.9/Makefile b/docker/images/builder8/1.9/Makefile deleted file mode 100644 index e895b0c47..000000000 --- a/docker/images/builder8/1.9/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -VERSION=1.9 -USER=opennetworklinux -REPO=builder8 - -TOOLS=../../../tools/docker_shell ../../../tools/container-id - -build: check_version - cp $(TOOLS) . - docker build -t $(USER)/$(REPO):$(VERSION) . - rm -rf $(notdir $(TOOLS)) - -# -# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites -# when a new image is built but the VERSION variable is not updated. -# -check_version: - -push: - docker push $(USER)/$(REPO):$(VERSION) diff --git a/docker/tools/onlbuilder b/docker/tools/onlbuilder index 038c6e374..b0f2be439 100755 --- a/docker/tools/onlbuilder +++ b/docker/tools/onlbuilder @@ -20,7 +20,6 @@ g_timestamp = datetime.datetime.now().strftime("%Y-%m-%d.%H%M%S") g_builders = { 'default' : 9, 'builders' : { - 8 : ('jessie', 'opennetworklinux/builder8:1.11'), 9 : ('stretch', 'dentproject/builder9:1.8' ), 10 : ('buster', 'dentproject/builder10:1.5'), }, diff --git a/tools/onlrfs.py b/tools/onlrfs.py index 0ec11ae32..118b8c399 100755 --- a/tools/onlrfs.py +++ b/tools/onlrfs.py @@ -301,7 +301,7 @@ def __exit__(self, eType, eValue, eTrace): class OnlRfsBuilder(object): DEFAULTS = dict( - DEBIAN_SUITE='jessie', + DEBIAN_SUITE='stretch', DEBIAN_MIRROR='mirrors.kernel.org/debian/', APT_CACHE='127.0.0.1:3142/' )