3e17ee3f48
We only need dib-python when we build the image, no need to leak it to the final product. Remove it in cleanup.d outside the chroot so nothing can be using it. Change-Id: I1e229caad7968fb3ab8e44ecdda427e174088d2d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
12 lines
267 B
Bash
Executable file
12 lines
267 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Remove dib-python wrapper. Nothing else should be running in chroot
|
|
# and required this any more.
|
|
|
|
sudo unlink $TARGET_ROOT/usr/local/bin/dib-python # dib-lint: safe_sudo
|