1.install Docker
2. Pull image
docker pull vyos/vyos-build:current-arm64
3. create image
git clone -b current --single-branch https://github.com/vyos/vyos-build
cd vyos-build
docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current-arm64 bash
start
sudo make clean
sudo ./build-vyos-image --architecture arm64 --build-by "[email protected]" generic --debian-mirror "http://deb.debian.org/debian" --debian-security-mirror "http://security.debian.org/" --vyos-mirror "http://dev.packages.vyos.net/repo" --debug
error fix
apt update
apt install -y python3-cracklib kpartx
but there some new bug show
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vyos-1x is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package linux-image-6.6.79-vyos
E: Couldn't find any package by glob 'linux-image-6.6.79-vyos'
E: Couldn't find any package by regex 'linux-image-6.6.79-vyos'
E: Package 'vyos-1x' has no installation candidate
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
vyos-1x
and linux-image-6.6.79-vyos
can not be find
what i do can fix this?