Skip to content

Commit

Permalink
Fix vendor directory for RPI crosscompile
Browse files Browse the repository at this point in the history
  • Loading branch information
clangen committed Dec 25, 2022
1 parent 3c18930 commit 7f8d5cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/archive-standalone-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ fi

ARCH=$(uname -m)
DEB_ARCH=$ARCH
VENDOR=$ARCH
if [[ -n $CROSSCOMPILE ]]; then
FRIENDLY_OS_NAME="linux_${CROSSCOMPILE}"
VENDOR=${CROSSCOMPILE}
ARCH="armhf"
DEB_ARCH="armhf"
elif [[ $ARCH == "x86_64" ]]; then
Expand Down Expand Up @@ -54,7 +56,7 @@ if [[ $CROSSCOMPILE == "rpi" ]]; then
fi

rm vendor
ln -s ../vendor-$ARCH/ ./vendor
ln -s ../vendor-$VENDOR/ ./vendor
printf "\nsetup symlink:\n"
ls -ald vendor

Expand Down

0 comments on commit 7f8d5cf

Please sign in to comment.