check_deps.sh: raw script to quickly check for any broken deps in generated media

This commit is contained in:
Silvan Calarco 2021-04-25 14:32:51 +02:00
parent 11e88789b7
commit e699981cba
1 changed files with 11 additions and 0 deletions

11
check_deps.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
eval $@
[ "$MAKEDIST_TARGET" ] || MAKEDIST_TARGET="openmamba"
[ "$PLATFORM" ] || PLATFORM="rootfs-light"
[ "$MAKEFILE_TARGET" ] || MAKEFILE_TARGET="$MAKEDIST_TARGET-$PLATFORM"
[ "$ARCH" ] || ARCH=x86_64
echo "ARCH=$ARCH MAKEDIST_TARGET=$MAKEDIST_TARGET PLATFORM=$PLATFORM MAKEFILE_TARGET=$MAKEFILE_TARGET"
make --no-print-directory ARCH=$ARCH -C /usr/share/makedist/global CHROOTCMD="chroot /var/makedist/root.tmp" \
LANGUAGE=it INSTALLED="" TARGET=$MAKEDIST_TARGET PLATFORM="$PLATFORM" -s $MAKEFILE_TARGET
echo
echo "Exit code: $?"