mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-19 11:28:21 +01:00
12 lines
861 B
Plaintext
12 lines
861 B
Plaintext
# short-description: Create Raspberry Pi SD card image
|
|
# long-description: Creates a partitioned SD card image for use with
|
|
# Raspberry Pi. Boot files are located in the first vfat partition.
|
|
|
|
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 32
|
|
# read only roofs
|
|
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path home/ var/etc/
|
|
# modifiable configurations stored in /var/etc
|
|
part /var/etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var/etc --ondisk mmcblk0 --fstype=ext4 --label diya --align 1024 --size 32
|
|
# home partition
|
|
part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --ondisk mmcblk0 --fstype=ext4 --label home --align 1024 --size 16
|
|
# part /home --ondisk mmcblk0 --fstype=vfat --label music --active --align 1024 --size 16 |