Not able to build for vmware

Hi all,

I am trying to build a vmware image as described here: Build VyOS — VyOS 1.4.x (sagitta) documentation.

This is the exact steps I have taken so far:

apt-get update
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update
apt-get install -y docker-ce

docker pull vyos/vyos-build:crux
git clone -b crux --single-branch https://github.com/vyos/vyos-build
cd vyos-build
docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash

os=jessie64 branch=crux make build
./configure --architecture amd64 --build-by "j.randomhacker@vyos.io"
sudo make iso

# I then modify the packer.json as per this post: 
# 	https://forum.vyos.io/t/unable-to-build-qemu-image-using-vyos-build-docker-container/3090/3
vim /vyos/scripts/packer.json
make qemu

# I download and install VMware-ovftool-4.4.3-18663434-lin.x86_64.bundle so I have ovftool
chmod +x /root/VMware-ovftool-4.4.3-18663434-lin.x86_64.bundle
./root/VMware-ovftool-4.4.3-18663434-lin.x86_64.bundle

# generate a self-signed cert (it seems the vmware build was requiring it...)
openssl req -x509 -nodes -sha256 -days 365 -newkey rsa:1024 -keyout myself.pem -out myself.pem
./configure --ova-signing-key /vyos/myself.pem
make vmware

The build then runs for some 20-30 mins and it fails at this point:

...
The following packages will be REMOVED:
  isolinux* librsvg2-bin* syslinux-common*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 3999 kB disk space will be freed.
(Reading database ... 62762 files and directories currently installed.)
Removing isolinux (3:6.03+dfsg-5+deb8u2) ...
Removing librsvg2-bin (2.40.5-1+deb8u3) ...
Removing syslinux-common (3:6.03+dfsg-5+deb8u2) ...
[2021-12-21 02:25:11] lb binary_disk
P: Begin installing disk information...
[2021-12-21 02:25:12] lb binary_loadlin
[2021-12-21 02:25:12] lb binary_win32-loader
[2021-12-21 02:25:12] lb binary_includes
P: Begin copying binary includes...
21 blocks
[2021-12-21 02:25:12] lb binary_hooks
P: Begin executing hooks...
I: Backwards compat packages.txt
[2021-12-21 02:25:12] lb binary_checksums
P: Begin creating binary md5sum.txt...
Formatting 'disk.raw', fmt=raw size=2147483648
It seems kpartx didn't mount the image correctly: exiting.
Makefile:62: recipe for target 'vmware' failed
make: *** [vmware] Error 1
root@da41a034dd18:/vyos# apt-get install kpartx -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
kpartx is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@da41a034dd18:/vyos#

Any idea what I am doing wrong?