# PYNQ V2.7 SD image build fail for board PYNQ-Z2

**URL:** <https://discuss.pynq.io/t/pynq-v2-7-sd-image-build-fail-for-board-pynq-z2/4243>\
**Category:** Support\
**Created:** [May 24, 2022, 10:36pm UTC](https://discuss.pynq.io/t/pynq-v2-7-sd-image-build-fail-for-board-pynq-z2/4243 "2022-05-24T22:36:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [May 30, 2022, 6:56pm UTC](https://discuss.pynq.io/t/pynq-v2-7-sd-image-build-fail-for-board-pynq-z2/4243/8 "2022-05-30T18:56:53Z")

</div>

Here is the solution:

> [@Novel Issues: Quick Porting of PYNQ using Pre-built images](https://discuss.pynq.io/t/novel-issues-quick-porting-of-pynq-using-pre-built-images/4187/6):
>
> So the ENV setup following my steps are working? From my experience the name of the xsa dont matter as it will rename it if it is unique on the folder. PREBUILT=/media/sf\_ZC706\_shared/focal.arm.2.7.0\_2021\_11\_17.tar.gz For this don’t put this is the sharing folder right might lead to issue as well. Move to location home and rerun again. $(BUILD\_ROOT)/PYNQ/build.sh remove line started @105 to 165 to reduce the build of other unnecessary board and licensing issue. Try make with the same set…

---

_[View the full topic](https://discuss.pynq.io/t/pynq-v2-7-sd-image-build-fail-for-board-pynq-z2/4243)._
