1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-01 15:09:47 +02:00

add base initscripts to initramfs image

This commit is contained in:
DanyLE 2023-08-02 17:15:01 +02:00
parent 6eae0b51c0
commit c6e7fb2290

View File

@ -44,6 +44,7 @@ image_patch () {
# create /etc/fstab # create /etc/fstab
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
/dev/mmcblk0p1 /boot auto defaults 0 0 /dev/mmcblk0p1 /boot auto defaults 0 0
/dev/mmcblk0p4 /home auto defaults 0 0
EOF EOF
cat << EOF > ${IMAGE_ROOTFS}/etc/hostname cat << EOF > ${IMAGE_ROOTFS}/etc/hostname