Untitled

Format: Shell
 ( View Raw)
Date: Fri, 20 Jan 2023 at 23:57:20

#!/bin/bash

shopt -s expand_aliases
. ~/.profile

rm -f /tmp/gd
mkfifo /tmp/gd

idot /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
rm /tmp/gd