I am trying to build a squashfs image for x86_64 with a bigger kernel and root partition but the image will not build correctly.
The only thing that is modified in the .config file is
When trying to create the image using this command the profile option it says profile generic doesn't exist and doesn't build.
make image PROFILE=generic BIN_DIR=/firmware FILES=./files PACKAGES="unzip tar htop fdisk"
make image PROFILE-generic BIN_DIR=/Firmware FILES/files PACKAGES "unzip tar htop fdisk" Profile "generic" does not exist! Use "make info to get a list of available profile names. make: *** [Makefile:218: check profile] Error 1 make: *** [Makefile:240: image] Error 2
When using the command without the profile flag option:
Building images... bash: line 1: /firmware/openwrt-22.03.0-rc6-x86-64-generic-rootfs.tar.gz: Permission denied make: *** [Makefile:156: kernel prepare] Error 1 make: *** [Makefile:188: build_image] Error 2 make: *** [Makefile:126: _call_image] Error 2 make: *** [Makefile:242: image] Error 2
The issue will occur even if the firmware folder was created before trying to build the image.
When using sudo:
Linux-x86_64/staging_dir/host/bin/grub-bios-setup: warning: Your B105 Boot Partition is under 1 MiB, please increase its size..