Commit c32b3691391372430bef783569e5ba421618e572
1 parent
5fe0cef331
Exists in
debian_buster_mx8mm
and in
1 other branch
Resolve build-essential dependency problem
Showing 1 changed file with 13 additions and 2 deletions Side-by-side Diff
embedian/weston_rootfs.sh
... | ... | @@ -335,6 +335,16 @@ |
335 | 335 | # pm-utils |
336 | 336 | protected_install pm-utils |
337 | 337 | |
338 | +# build-essential (Fix dependendy issue) | |
339 | +protected_install libgcc/testing | |
340 | +protected_install gcc-9/testing | |
341 | +protected_install gcc/testing | |
342 | +protected_install libc6-dev/testing | |
343 | +protected_install libstdc++-9-dev/testing | |
344 | +protected_install g++-9/testing | |
345 | +protected_install g++/testing | |
346 | +protected_install build-essential/testing | |
347 | + | |
338 | 348 | apt-get -y autoremove |
339 | 349 | |
340 | 350 | #update iptables alternatives to legacy |
341 | 351 | |
... | ... | @@ -533,11 +543,12 @@ |
533 | 543 | |
534 | 544 | function flash_sdcard |
535 | 545 | { |
536 | - pr_info "Flashing \"Image, device tree and rootfs\" partition" | |
546 | + pr_info "Flashing \"Image and device tree\" partition" | |
537 | 547 | cp -v ${LPARAM_OUTPUT_DIR}/Image ${P1_MOUNT_DIR}/ |
538 | 548 | mkdir -p ${P1_MOUNT_DIR}/dtbs/ |
539 | 549 | cp -v ${LPARAM_OUTPUT_DIR}/fsl-smarcimx8mq${DISPLAY}.dtb ${P1_MOUNT_DIR}/dtbs/fsl-smarcimx8mq.dtb |
540 | 550 | cp -v ${G_EMBEDIAN_PATH}/uEnv.txt ${P1_MOUNT_DIR}/ |
551 | + pr_info "Flashing \"rootfs\" partition" | |
541 | 552 | tar -xpf ${LPARAM_OUTPUT_DIR}/${DEF_ROOTFS_TARBALL_NAME} \ |
542 | 553 | -C ${P2_MOUNT_DIR}/ |
543 | 554 | } |
... | ... | @@ -595,7 +606,7 @@ |
595 | 606 | fdisk ${LPARAM_BLOCK_DEVICE} &> /dev/null) || true |
596 | 607 | sync |
597 | 608 | |
598 | - dd if=/dev/zero of=${LPARAM_BLOCK_DEVICE} bs=1M count=${BOOTLOAD_RESERVE_SIZE} | |
609 | + dd if=/dev/zero of=${LPARAM_BLOCK_DEVICE} bs=1M count=100 | |
599 | 610 | sync; sleep 2 |
600 | 611 | |
601 | 612 | # Create a new partition table |