2016-03-08 13:42:20 -06:00
|
|
|
## DESCRIPTION:
|
2016-08-04 12:39:33 -05:00
|
|
|
## config for ONIE image
|
2016-03-08 13:42:20 -06:00
|
|
|
##
|
|
|
|
|
|
|
|
## Partition size in MB
|
|
|
|
## The default size is 32GB
|
|
|
|
: ${ONIE_IMAGE_PART_SIZE:=32768}
|
|
|
|
|
|
|
|
## Target hardware information
|
|
|
|
: ${TARGET_PLATFORM:=x86_64}
|
|
|
|
: ${TARGET_MACHINE:=generic}
|
|
|
|
|
|
|
|
ONIEIMAGE_VERSION=r0
|
|
|
|
|
2021-06-22 13:12:22 -05:00
|
|
|
## Filesystem root
|
|
|
|
FILESYSTEM_ROOT=./fsroot-${TARGET_MACHINE}
|
|
|
|
|
2016-03-08 13:42:20 -06:00
|
|
|
## Filename for squashfs file system
|
|
|
|
FILESYSTEM_SQUASHFS=fs.squashfs
|
|
|
|
|
|
|
|
## Filename for onie installer payload, will be the main part of onie installer
|
2023-12-04 16:41:52 -06:00
|
|
|
INSTALLER_PAYLOAD=fs.zip
|
2016-03-08 13:42:20 -06:00
|
|
|
|
2020-05-11 02:34:57 -05:00
|
|
|
## Filename for docker file system
|
2017-01-29 13:33:33 -06:00
|
|
|
FILESYSTEM_DOCKERFS=dockerfs.tar.gz
|
|
|
|
|
2017-02-06 10:17:16 -06:00
|
|
|
## docker directory on the root filesystem
|
|
|
|
DOCKERFS_DIR=docker
|
|
|
|
|
2019-08-07 01:04:00 -05:00
|
|
|
## docker ramfs disk space
|
2023-08-31 03:49:03 -05:00
|
|
|
DOCKER_RAMFS_SIZE=2500M
|
2019-08-07 01:04:00 -05:00
|
|
|
|
2016-03-08 13:42:20 -06:00
|
|
|
## Output file name for onie installer
|
2016-09-06 15:15:10 -05:00
|
|
|
OUTPUT_ONIE_IMAGE=target/sonic-$TARGET_MACHINE.bin
|
2017-02-05 17:59:59 -06:00
|
|
|
|
2018-11-21 00:32:40 -06:00
|
|
|
## Output file name for raw image
|
2017-08-27 22:13:38 -05:00
|
|
|
OUTPUT_RAW_IMAGE=target/sonic-$TARGET_MACHINE.raw
|
|
|
|
|
2018-11-21 00:32:40 -06:00
|
|
|
## Raw image size in MB
|
2023-09-07 11:19:54 -05:00
|
|
|
RAW_IMAGE_DISK_SIZE=1700
|
2017-08-27 22:13:38 -05:00
|
|
|
|
2018-11-21 00:32:40 -06:00
|
|
|
## Output file name for kvm image
|
|
|
|
OUTPUT_KVM_IMAGE=target/sonic-$TARGET_MACHINE.img
|
|
|
|
|
|
|
|
## Kvm image size in GB
|
|
|
|
KVM_IMAGE_DISK_SIZE=16
|
|
|
|
|
2017-02-05 17:59:59 -06:00
|
|
|
## Output file name for aboot installer
|
|
|
|
OUTPUT_ABOOT_IMAGE=target/sonic-aboot-$TARGET_MACHINE.swi
|
|
|
|
|
|
|
|
## Aboot boot image name
|
|
|
|
ABOOT_BOOT_IMAGE=.sonic-boot.swi
|
2021-09-01 19:28:13 -05:00
|
|
|
|
|
|
|
## Output file name for 4-asic kvm image
|
|
|
|
OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-$TARGET_MACHINE.img
|
|
|
|
|
|
|
|
### Output file name for 6-asic kvm image
|
|
|
|
OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-$TARGET_MACHINE.img
|
2023-12-04 16:41:52 -06:00
|
|
|
|
|
|
|
## Output file name for dsc installer
|
|
|
|
OUTPUT_DSC_IMAGE=target/sonic-$TARGET_MACHINE.tar
|