How to create swap partition ?


Bel Hadj Salem Talel <bhstalel@...>
 

Hi All,

When I run : (bitbake -e | grep ^WKS_FILE=) I get: 
WKS_FILE="imx-imx-boot-bootpart.wks.in"

Here is the content:

part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192
 
bootloader --ptable msdos
What to add here in order to create a swap partition with size 2G.

Thanks for the help.
Talel


Join {yocto@lists.yoctoproject.org to automatically receive all group messages.