Hi,
I refer:Root File System — Jetson Linux<br/>Developer Guide 34.1 documentation to build minimal rootfs.
But I meet error:
root@2d830962363c:/Linux_for_Tegra/tools/samplefs# sudo ./nv_build_samplefs.sh --abi aarch64 --distro ubuntu --flavor minimal --version jammy
********************************************
Create ubuntu sample filesystem
********************************************
nv_build_samplefs.sh - download_samplefs
ERROR: Cannot download base image, please check internet connection first
nv_build_samplefs.sh - cleanup
When I check the script nv_build_samplefs.sh:
function download_samplefs()
{
echo "${script_name} - download_samplefs"
validate_url="$(wget -S --spider "${base_url}" 2>&1 | grep "HTTP/1.1 200 OK" || ret=$?)"
if [ -z "${validate_url}" ]; then
echo "ERROR: Cannot download base image, please check internet connection first" > /dev/stderr
exit 1
fi
wget -O "${base_tarball}" "${base_url}" > /dev/null 2>&1
source_samplefs="${base_tarball}"
}
However “base_url” is not defined. How to fix it? And I use JP6.0.