-
-
Save kergoth/f5f8f5361f2c1ca7817c105cfb58931e to your computer and use it in GitHub Desktop.
bitbake docker bits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COREBASE="$PWD" | |
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH" | |
alias ls="ls --color=auto" | |
alias mktemp="/usr/bin/mktemp" | |
bitbake () { | |
docker run --rm -it -v "$PWD:$PWD" -v "$COREBASE/..:$COREBASE/.." -v ~/.ssh:/home/build/.ssh -v "$XDG_CONFIG_HOME/git:/home/build/.config/git" cbrake/oe-build /bin/bash -c "cd \"$PWD\" && env \"PATH=$PATH\" \"BUILDDIR=$BUILDDIR\" \"BB_ENV_EXTRAWHITE=$BB_ENV_EXTRAWHITE\" bitbake \"\$@\"" - "$@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment