Skip to content

Commit eb119e3

Browse files
committed
board/common: allow network configuration
Keep S40network start script and remove interfaces config instead. This to allow users to add their own interface configuration, e.g, DHCP client, provided the container has the proper capabilities. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent c923703 commit eb119e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

board/common/post-build.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#!/bin/sh
22
tagline="curiOS -- a slim curated container OS"
33

4-
for start in S02sysctl S20seedrng S40network S51sysrepo-plugind S52netopeer2; do
4+
for start in S02sysctl S20seedrng S51sysrepo-plugind S52netopeer2; do
55
rm -f "${TARGET_DIR}/etc/init.d/$start"
66
done
77

8+
# We allow S40network but the user must provide the configuration
9+
# because by default container runtimes manage all networking.
10+
rm "${TARGET_DIR}/etc/network/interfaces"
11+
812
if [ -z "$GIT_VERSION" ]; then
913
GIT_VERSION=$(git -C "$BR2_EXTERNAL_CURIOS_PATH" describe --always --dirty --tags)
1014
fi

0 commit comments

Comments
 (0)