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

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