1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00
meta-rpi-diya/wic/rpi.wks.in

12 lines
879 B
Plaintext
Raw Normal View History

2021-12-17 20:30:04 +01:00
# 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.
2023-07-10 09:32:40 +02:00
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 32
# read only roofs
2023-07-10 10:46:21 +02:00
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path=home/ --exclude-path=var/etc
2023-07-10 09:32:40 +02:00
# modifiable configurations stored in /var/etc
2023-07-10 10:46:21 +02:00
part /var/etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var/etc --ondisk mmcblk0 --fstype=ext4 --label diya-etc --align 1024 --size 32
2023-07-10 09:32:40 +02:00
# home partition
2021-12-17 20:30:04 +01:00
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