Skip to content

Commit

Permalink
Fix logging error messages when starting infrap4d in container (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
palade authored Apr 29, 2024
1 parent 4d49c78 commit a72bf8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p4sdk/images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ mkdir -p /usr/share/target_sys/
cp /opt/p4/p4sde/share/target_sys/zlog-cfg /usr/share/target_sys/zlog-cfg
mkdir -p /usr/share/stratum/es2k/
cp /opt/p4/p4-cp-nws/share/stratum/es2k/es2k_port_config.pb.txt /usr/share/stratum/es2k/es2k_port_config.pb.txt
# Create logging directory used by infrap4d
mkdir -p /var/log/stratum
touch /dev/mem

# Start Infrap4d
func_set_br_pipe &
Expand Down

0 comments on commit a72bf8c

Please sign in to comment.