Tool/software: Linux
Was able to make the Yocto file system to work on a dell laptop E6510 with 8GB. You need to make sure you give it more swap memory. In the link below it shows how to add swap memory but it is not enough for building Yocto with chromium-wayland. If you remove that then it will build with smaller swap memory.
it has the below
How to increase swap file size
|
1
2
3
4
5
6
7
8
|
#create new swap file 512x1M size filled with zerossudo dd if=/dev/zero of=/extraswap bs=1M count=512#setup file as a swap filesudo mkswap /extraswap#enable created swapfilesudo swapon /extraswap |
If you want to use this swap file also after your computer reboot, you have to do also following steps:
|
1
2
3
4
5
|
#edit fstabsudo nano /etc/fstab#add following line to /etc/fstab/extraswap swap swap defaults 0 0 |
sudo dd if=/dev/zero of=/extraswap bs=1M count=512How to increase swap file size
|
1
2
3
4
5
6
7
8
|
#create new swap file 512x1M size filled with zerossudo dd if=/dev/zero of=/extraswap bs=1M count=4096#setup file as a swap filesudo mkswap /extraswap#enable created swapfilesudo swapon /extraswap |
If you want to use this swap file also after your computer reboot, you have to do also following steps:
|
1
2
3
4
5
|
#edit fstabsudo nano /etc/fstab#add following line to /etc/fstab/extraswap swap swap defaults 0 0 |
sudo dd if=/dev/zero of=/extraswap bs=1M count=4096