refactory recipes, move system dependencies code to board specific layer

This commit is contained in:
DanyLE
2025-03-27 11:41:46 +01:00
parent b333742f9f
commit 8791a5d86d
5 changed files with 13 additions and 25 deletions

View File

@ -41,12 +41,6 @@ IMAGE_PREPROCESS_COMMAND += "image_patch;"
image_patch () {
# delete unused image
rm -rf ${IMAGE_ROOTFS}/boot/*
# create /etc/fstab
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
/dev/mmcblk1p1 /boot auto defaults 0 0
/dev/mmcblk1p4 /home auto defaults 0 0
EOF
cat << EOF > ${IMAGE_ROOTFS}/etc/hostname
diya-recovery
EOF