void-packages/common/travis/show_files.sh
classabbyamp 4649c32a54 .github, common/travis: run CI without root
this should allow package tests that check things like writability to
succeed and have fewer skipped tests in CI.

- switch to using the `void-LIBC-full` container
- use `uchroot` instead of `ethereal`
- simplify some scripts for this change
2025-03-02 00:41:44 -05:00

18 lines
428 B
Bash
Executable file

#!/bin/bash
#
# show_files.sh
set -e
export XBPS_TARGET_ARCH="$2"
while read -r pkg; do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
xbps-query --repository=hostdir/binpkgs/bootstrap \
--repository=hostdir/binpkgs \
--repository=hostdir/binpkgs/nonfree \
-i -f "$subpkg" ||
/bin/echo -e "\x1b[33m $subpkg wasn't found\x1b[0m"
done
done < /tmp/templates