Untitled

Format: Shell
 ( View Raw)
Date: Sat, 21 Jan 2023 at 00:10:30

#!/bin/bash

shopt -s expand_aliases
. ~/.profile

rm -f /tmp/gd

docker run -it --init --rm \
    -v $(pwd):/build \
    -v $(pwd)/dl:/build/buildroot/dl \
    -v $(pwd)/output/rk3588:/rk3588 \
    -u $(id -u):$(id -g) \
    -v /etc/passwd:/etc/passwd:ro \
    -v /etc/group:/etc/group:ro \
    -v /tmp:/tmp \
    -w /rk3588 \
    batoceralinux/batocera.linux-build \
    /build/buildroot/support/scripts/graph-depends \
        --package linux \
        --outfile /tmp/gd
cat /tmp/gd | idot
rm -f /tmp/gd