mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
add base initscripts to initramfs image
This commit is contained in:
parent
6eae0b51c0
commit
c6e7fb2290
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user