diff --git a/packages.sh b/packages.sh index e4373c7..d9d8fbc 100755 --- a/packages.sh +++ b/packages.sh @@ -700,7 +700,10 @@ mkdir -p ${STAGING_TO_TARGET_DIR} write_build_config [[ ! $? -eq 0 ]] && exit 1 -PACKAGES_TO_BUILD="update-libs update-binaries support jq services music python3 aec-cmdline screen improv getevent core_api" +PACKAGES_TO_BUILD="update-libs update-binaries support jq services music improv getevent core_api" +if [[ "${BUILD_MODEL}" != "LX01" ]]; then + PACKAGES_TO_BUILD+=" aec-cmdline screen" +fi for PKGN in $PACKAGES_TO_BUILD; do process_package $PKGN diff --git a/packages/music/package.mk b/packages/music/package.mk index 9f2ea5c..7749f72 100644 --- a/packages/music/package.mk +++ b/packages/music/package.mk @@ -1,2 +1,7 @@ PACKAGE_NAME="Packages for music playing" -PACKAGE_DEPENDS="mpg123 vorbis-tools opus-tools mpd mpc ffmpeg upmpdcli shairport-sync-metadata snapcast squeezelite" +PACKAGE_DEPENDS="mpg123 vorbis-tools opus-tools mpd mpc ffmpeg shairport-sync-metadata snapcast squeezelite" + +# adds 628 KB to final compressed image +if [ "${BUILD_MODEL}" != "LX01" ]; then + PACKAGE_DEPENDS="${PACKAGE_DEPENDS} upmpdcli" +fi