diff --git a/recipes-diya/diya-overlay/diya-overlay.bb b/recipes-diya/diya-overlay/diya-overlay.bb index 46c609d..cf25720 100644 --- a/recipes-diya/diya-overlay/diya-overlay.bb +++ b/recipes-diya/diya-overlay/diya-overlay.bb @@ -24,11 +24,11 @@ do_install() { install -d ${D}/${sysconfdir}/init.d/ install -d ${DEPLOY_DIR_IMAGE} install -m 0755 ${WORKDIR}/confd ${D}/${sysconfdir}/init.d/confd - install -d ${D}/usr/sbin/ + install -d ${D}/sbin/ install -d ${D}/etc/default/volatiles # install -m 0644 ${WORKDIR}/80_diya ${D}${sysconfdir}/default/volatiles - install -m 0755 ${WORKDIR}/expandfs.sh ${D}/usr/sbin/expandfs.sh - install -m 0755 ${WORKDIR}/boot-to-recovery ${D}/usr/sbin/boot-to-recovery + install -m 0755 ${WORKDIR}/expandfs.sh ${D}/sbin/expandfs.sh + install -m 0755 ${WORKDIR}/boot-to-recovery ${D}/sbin/boot-to-recovery install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/ cat << EOF >> ${DEPLOY_DIR_IMAGE}/extraconfig.txt diff --git a/recipes-diya/diya-overlay/files/confd b/recipes-diya/diya-overlay/files/confd index 0429fe5..88d5fa9 100644 --- a/recipes-diya/diya-overlay/files/confd +++ b/recipes-diya/diya-overlay/files/confd @@ -13,7 +13,7 @@ case "$1" in # need to turn it on manually echo 0 > /sys/class/backlight/backlight/bl_power if [ -f "/boot/fs_resize" ]; then - /usr/sbin/expandfs.sh + /sbin/expandfs.sh touch /boot/home_partition_should_be_formated rm /boot/fs_resize reboot diff --git a/recipes-diya/initramfs/files/confd b/recipes-diya/initramfs/files/confd index 69db6b7..3442e45 100644 --- a/recipes-diya/initramfs/files/confd +++ b/recipes-diya/initramfs/files/confd @@ -15,7 +15,7 @@ case "$1" in # mount boot mount /dev/mmcblk0p1 /boot - cat << EOF >> /boot/extraconfig.txt + cat << EOF > /boot/extraconfig.txt # initramfs recovery-${MACHINE}.cpio.gz followkernel EOF ;;