diff --git a/embedian/weston_rootfs.sh b/embedian/weston_rootfs.sh index 894e265..076b54a 100644 --- a/embedian/weston_rootfs.sh +++ b/embedian/weston_rootfs.sh @@ -335,6 +335,16 @@ protected_install pmount # pm-utils protected_install pm-utils +# build-essential (Fix dependendy issue) +protected_install libgcc/testing +protected_install gcc-9/testing +protected_install gcc/testing +protected_install libc6-dev/testing +protected_install libstdc++-9-dev/testing +protected_install g++-9/testing +protected_install g++/testing +protected_install build-essential/testing + apt-get -y autoremove #update iptables alternatives to legacy @@ -533,11 +543,12 @@ function make_weston_sdcard() function flash_sdcard { - pr_info "Flashing \"Image, device tree and rootfs\" partition" + pr_info "Flashing \"Image and device tree\" partition" cp -v ${LPARAM_OUTPUT_DIR}/Image ${P1_MOUNT_DIR}/ mkdir -p ${P1_MOUNT_DIR}/dtbs/ cp -v ${LPARAM_OUTPUT_DIR}/fsl-smarcimx8mq${DISPLAY}.dtb ${P1_MOUNT_DIR}/dtbs/fsl-smarcimx8mq.dtb cp -v ${G_EMBEDIAN_PATH}/uEnv.txt ${P1_MOUNT_DIR}/ + pr_info "Flashing \"rootfs\" partition" tar -xpf ${LPARAM_OUTPUT_DIR}/${DEF_ROOTFS_TARBALL_NAME} \ -C ${P2_MOUNT_DIR}/ } @@ -595,7 +606,7 @@ function make_weston_sdcard() fdisk ${LPARAM_BLOCK_DEVICE} &> /dev/null) || true sync - dd if=/dev/zero of=${LPARAM_BLOCK_DEVICE} bs=1M count=${BOOTLOAD_RESERVE_SIZE} + dd if=/dev/zero of=${LPARAM_BLOCK_DEVICE} bs=1M count=100 sync; sleep 2 # Create a new partition table