thinkpad-x13s: don't try to add Lunar x13s repos if BUILD_MINIMAL=yes

This commit is contained in:
Ricardo Pardini 2023-08-28 14:42:27 +02:00
parent 6accc96ea3
commit 7d2fca63bd

View File

@ -102,6 +102,11 @@ function pre_customize_image__add_ubuntu_concept_x13s_packages_if_ubuntu_lunar()
return 0
fi
if [[ "${BUILD_MINIMAL}" == "yes" ]]; then
display_alert "Skipping Ubuntu Concept PPA for ${BOARD}" "for ${RELEASE} MINIMAL :: only available for non-minimal" "info"
return 0
fi
display_alert "Adding Ubuntu Concept x13s PPA" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:ubuntu-concept/x13s --yes --no-update