xref: /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/canned-wks/directdisk-gpt.wks (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# short-description: Create a 'pcbios' direct disk image
2*4882a593Smuzhiyun# long-description: Creates a partitioned legacy BIOS disk image that the user
3*4882a593Smuzhiyun# can directly dd to boot media.
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunpart /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
7*4882a593Smuzhiyunpart / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunbootloader  --ptable gpt --timeout=0  --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8"
10*4882a593Smuzhiyun
11