mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
include initramfs image to boot partition
This commit is contained in:
parent
2f9c00e2b6
commit
146df0a2ea
@ -16,7 +16,6 @@ PACKAGE_CLASSES = "package_ipk"
|
|||||||
|
|
||||||
INITRAMFS_IMAGE="core-image-minimal-initramfs"
|
INITRAMFS_IMAGE="core-image-minimal-initramfs"
|
||||||
INITRAMFS_IMAGE_BUNDLE="1"
|
INITRAMFS_IMAGE_BUNDLE="1"
|
||||||
INITRAMFS_KERNEL_IMAGE="recovery-initramfs-${MACHINE}.bin"
|
|
||||||
|
|
||||||
INHERIT += "rm_work"
|
INHERIT += "rm_work"
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE diya; \
|
|||||||
usermod -a -G avahi diya; \
|
usermod -a -G avahi diya; \
|
||||||
usermod -a -G sudo diya \
|
usermod -a -G sudo diya \
|
||||||
"
|
"
|
||||||
IMAGE_BOOT_FILES:append = "fs_resize recovery-initramfs-${MACHINE}.bin "
|
IMAGE_BOOT_FILES:append = "fs_resize Image-initramfs-${MACHINE}.bin "
|
||||||
|
|
||||||
IMAGE_INSTALL:append = "libcurl \
|
IMAGE_INSTALL:append = "libcurl \
|
||||||
libdrm \
|
libdrm \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# long-description: Creates a partitioned SD card image for use with
|
# long-description: Creates a partitioned SD card image for use with
|
||||||
# Raspberry Pi. Boot files are located in the first vfat partition.
|
# 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 100
|
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 32
|
||||||
# read only roofs
|
# read only roofs
|
||||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path home/ var/etc/
|
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 150 --exclude-path home/ var/etc/
|
||||||
# modifiable configurations stored in /var/etc
|
# modifiable configurations stored in /var/etc
|
||||||
|
Loading…
Reference in New Issue
Block a user