Fix vendor directory for RPI crosscompile

This commit is contained in:
casey langen 2022-12-25 14:03:14 -08:00
parent 3c189301b4
commit 7f8d5cf28f

View File

@ -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
@ -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