avs_mtk_voice/meta/meta-mediatek-mt8516/recipes-audio/images/mtk-image-aud-8516-mw.bb

111 lines
3.1 KiB
BlitzBasic

IMAGE_INSTALL = "packagegroup-core-boot-aud ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
inherit create-link
inherit create-mtdverity
inherit mkusrdata
inherit pack-update-zip
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-mtk-upgrade-kit-native \
${@base_contains('LICENSE_FLAGS_GMRENDER', 'yes', 'packagegroup-mtk-gstreamer1.0', '' ,d)} \
"
IMAGE_INSTALL_append = " \
${@base_contains('LICENSE_FLAGS_FFMPEG', 'yes', 'ffmpeg', '' ,d)} \
${@base_contains('LICENSE_FLAGS_AISPEECH', 'yes', 'aispeech', '' ,d)} \
${@base_contains('LICENSE_FLAGS_GMRENDER', 'yes', 'gmediarender', '' ,d)} \
${@base_contains('LICENSE_FLAGS_BLUEZ', 'yes', 'bluez5', 'bluetooth' ,d)} \
openssl \
wpa-supplicant \
alsa-utils \
alsa-lib \
wpa-supplicant-passphrase \
mtkcombotool\
mtkwlan \
mtkcombo \
curl \
prog \
appmainprog \
ppc \
ppccli \
mtk-audio-service \
mtk-alsa-plugins \
wifi-mw \
wlanMon \
android-tools-adbd \
mtd-utils \
iperf \
mtd-utils-ubifs \
custom \
nvram \
libnvramcustom \
upgrade_app \
buildinfo \
tzapp \
coreutils \
data-ubi-mnt \
glibc-gconv-gb18030 \
glibc-gconv-gbgbk \
glibc-gconv-gbk \
glibc-gconv-euc-cn \
glibc-gconv-libgb \
utf-gbk \
dingdong-mw \
wireless-tools \
ntp \
cjson \
smtcn-mw \
gdb \
"
install_proc() {
rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-analyze
rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-nspawn
rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-run
rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-cgtop
rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-cgls
#rm -rf ${IMAGE_ROOTFS}/usr/bin/systemd-*
#rm -rf ${IMAGE_ROOTFS}/bin/systemd-*
#rm -rf ${IMAGE_ROOTFS}/lib/systemd/systemd-logind
#rm -rf ${IMAGE_ROOTFS}/lib/systemd/system/systemd-logind.service
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/ntpd.ntp
#rm -rf ${IMAGE_ROOTFS}/bin/loginctl
#rm -rf ${IMAGE_ROOTFS}/usr/bin/coredumpctl
#rm -rf ${IMAGE_ROOTFS}/lib/systemd/systemd-coredump
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/ntpdate
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/useradd
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/usermod
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/userdel
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/groupmod
#rm -rf ${IMAGE_ROOTFS}/usr/bin/gpasswd
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/groupadd
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/chgpasswd
#rm -rf ${IMAGE_ROOTFS}/sbin/vipw.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/grpck
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/groupmems
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/groupdel
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/chpasswd.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/bin/chown
#rm -rf ${IMAGE_ROOTFS}/usr/bin/chgrp
#rm -rf ${IMAGE_ROOTFS}/usr/bin/chfn.shadow
#rm -rf ${IMAGE_ROOTFS}/bin/login.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/grpunconv
#rm -rf ${IMAGE_ROOTFS}/usr/sbin/grpconv
#rm -rf ${IMAGE_ROOTFS}/usr/bin/passwd.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/bin/chsh.shadow
#rm -rf ${IMAGE_ROOTFS}/bin/su.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/bin/newgrp.shadow
#rm -rf ${IMAGE_ROOTFS}/usr/bin/factory_rf
}
ROOTFS_POSTPROCESS_COMMAND += " install_proc"