[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/t2-debug/t2-debug.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] The SDE Internal Debug Package [T] This package contains debug information collected during the compilation of [T] the distribution. Don't install it except you _really_ know what you do! [A] Claire Xenia Wolf [M] Rene Rebe [C] base/system [F] CROSS [L] GPL [S] Stable [V] 0000 main_debug() { if [ -z "$root" ]; then rm -f /var/adm/*/sde-debug mkdir -p /var/adm/sde-debug cd $root/ cat << 'EOT' | shares.txt shares.sh 'shared' files bindups.txt bindups.sh duplicated binary names rootfsbin.txt rootfsbin.sh binaries in /bin and /sbin unarchived.txt unarchived.sh files 'liggering' arround baduidgid.txt baduidgid.sh files with unknown UID/GID usrlocal.txt usrlocal.sh files in /usr/local tree empty.txt empty.sh empty files or packages badfiles.txt badfiles.sh known bad files in packages EOT while read file script desc; do echo -n "Checking for $desc ..."; lang=bash $lang $confdir/test_$script > /var/adm/sde-debug/$file 2>&1 if [ -s /var/adm/sde-debug/$file ]; then echo " found errors!" else echo " ok."; rm -f /var/adm/sde-debug/$file fi done dump_env > /var/adm/sde-debug/buildenv.txt cp -a $base/config/$config/config /var/adm/sde-debug/config.txt touch /var/adm/sde-debug/* fi } srctar= runmake=0 hook_add inmake 5 "main_debug"