-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from taraschornyiplv/debian10
Update DentOS to debian10
- Loading branch information
Showing
17 changed files
with
134 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
- u-boot-tools | ||
- frr | ||
- bridge-utils | ||
- mstpd | ||
- bash-completion | ||
- onl-kernel-5.15-lts-arm64-all-modules | ||
- lldpd | ||
- man-db | ||
- dnsmasq | ||
- dnsutils | ||
- mrvl-fw-image | ||
- keepalived | ||
- hostapd | ||
- stress-ng | ||
- python3-pyroute2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
6 changes: 6 additions & 0 deletions
6
builds/any/rootfs/buster/common/overlay/etc/network/interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# interfaces(5) file used by ifup(8) and ifdown(8) | ||
auto lo | ||
iface lo inet loopback | ||
|
||
auto ma1 | ||
iface ma1 inet dhcp |
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...ootfs/buster/common/overlay/etc/systemd/system/networking.service.d/switchdev-online.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Unit] | ||
After=network-pre.target |
20 changes: 20 additions & 0 deletions
20
builds/any/rootfs/buster/common/overlay/etc/systemd/system/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[Unit] | ||
Description=Online state for switchdev device %i | ||
|
||
# See e.g. | ||
# https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ | ||
Wants=network-pre.target | ||
Before=network-pre.target | ||
|
||
# this is the naming scheme currently used for network devices | ||
Wants=sys-subsystem-net-devices-%i.device | ||
After=sys-subsystem-net-devices-%i.device | ||
|
||
[Service] | ||
Type=simple | ||
RemainAfterExit=yes | ||
ExecStart=/bin/true | ||
TimeoutStartSec=30 | ||
|
||
[Install] | ||
WantedBy=network.target |
2 changes: 2 additions & 0 deletions
2
builds/any/rootfs/buster/common/overlay/etc/udev/rules.d/10-switchdev-net.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SUBSYSTEM=="net", ACTION=="add", ATTR{phys_switch_id}=="[0-9][0-9]", ATTR{phys_port_name}!="", PROGRAM="/bin/sh -c 'printf %1d $attr{phys_switch_id}'", NAME="sw$attr{phys_port_name}" | ||
SUBSYSTEM=="net", ACTION=="add", ATTR{phys_switch_id}=="[0-9][0-9]", ATTR{phys_port_name}=="p[0-9]*", PROGRAM="/bin/sh -c 'printf %1d $attr{phys_switch_id}'", NAME="sw$attr{phys_port_name}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM opennetworklinux/builder10:1.2 | ||
|
||
MAINTAINER Taras Chornyi <[email protected]> | ||
|
||
RUN apt-get update --allow-releaseinfo-change && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get -y install apt-cacher-ng \ | ||
libmnl-dev libmnl-dev libelf-dev libcap-dev libxtables-dev libdb-dev | ||
|
||
RUN xapt -a arm64 libmnl-dev libelf-dev libcap-dev libxtables-dev libdb-dev | ||
|
||
RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/backports.list | ||
|
||
RUN apt-get update --allow-releaseinfo-change && DEBIAN_FRONTEND=noninteractive apt-get -y install -t buster-backports git | ||
|
||
RUN rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/* | ||
|
||
COPY docker_shell /bin/docker_shell | ||
COPY container-id /bin/container-id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
VERSION=1.5 | ||
USER=dentproject | ||
REPO=builder10 | ||
|
||
TOOLS=../../../tools/docker_shell ../../../tools/container-id | ||
|
||
build: check_version | ||
cp $(TOOLS) . | ||
docker build -t $(USER)/$(REPO):$(VERSION) . | ||
rm -rf $(notdir $(TOOLS)) | ||
push: | ||
docker push $(USER)/$(REPO):$(VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule dent-artifacts
updated
8 files