mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
To make debugging easier. Use a separate shell script instead of just a make target to ensure that it can safely run before ./configure and without having make installed.
25 lines
399 B
Bash
Executable file
25 lines
399 B
Bash
Executable file
#!/bin/sh
|
|
# Print information that may be useful for debugging CI.
|
|
|
|
test -f /etc/os-release && . /etc/os-release
|
|
|
|
cat <<EOF
|
|
nproc: $(nproc)
|
|
kernel: $(uname -srvm)
|
|
distro: $PRETTY_NAME
|
|
sh: $(ls -l /bin/sh | sed 's|.* /bin|/bin|')
|
|
user: $(id | cut -f -2 -d ' ')
|
|
|
|
[/etc/os-release]
|
|
$(cat /etc/os-release)
|
|
EOF
|
|
|
|
if test -z "$CI_VERBOSE"; then
|
|
exit
|
|
fi
|
|
|
|
cat <<EOF
|
|
|
|
[env]
|
|
$(env | LC_ALL=C sort)
|
|
EOF
|