yocto에서 맞춤 이미지를 만들려고합니다. 이미지를 만들 때 glibc-locale에서 오류가 발생합니다 (do_package 단계).Yocto glibc-locale do_package가 설치되어 있지만 패키지에 포함되어 있지 않습니다.
INSANE_SKIP _ $ {PN} = "설치-vs- :
오류는 내가이 (가) glibc-locale_2.24.bb 파일에 다음을 추가 해결하기 위해 노력
ERROR: glibc-locale-2.24-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package: { "a lot of file in /usr/lib/gconv, /usr/share/i18n paths" } Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. glibc-locale: 820 installed and not shipped files. [installed-vs-shipped] ERROR: glibc-locale-2.24-r0 do_package: Fatal QA errors found, failing task. ERROR: glibc-locale-2.24-r0 do_package: Function failed: do_package ERROR: Logfile of failure stored in: /home/test/rpi/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/glibc-locale/2.24-r0/temp/log.do_package.30243 ERROR: Task (/home/test/poky-morty/meta/recipes-core/glibc/glibc-locale_2.24.bb:do_package) failed with exit code '1'
입니다 나는이 작업을 수행 할 때, 더 이상 된 glibc do_package 단계에서 오류가없는
"제공하지만 난 do_rootfs 단계에서 오류가 있습니다
,536,913,632 10ERROR: ekt-image-1.0-r0 do_rootfs: Unable to install packages. Command '/home/test/rpi/build/tmp/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/test/rpi/build/tmp/work/raspberrypi3-poky-linux-gnueabi/ekt-image/1.0-r0/opkg.conf -t /home/test/rpi/build/tmp/work/raspberrypi3-poky-linux-gnueabi/ekt-image/1.0-r0/temp/ipktemp/ -o /home/test/rpi/build/tmp/work/raspberrypi3-poky-linux-gnueabi/ekt-image/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version install locale-base-en-us' returned 255:
Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'locale-base-en-us'.
ERROR: ekt-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/test/rpi/build/tmp/work/raspberrypi3-poky-linux-gnueabi/ekt-image/1.0-r0/temp/log.do_rootfs.10085
ERROR: Task (/home/test/rpi/meta-rpi/images/ekt-image.bb:do_rootfs) failed with exit code '1'
glibc, glibc-locale을 정리하려고했지만 작동하지 않습니다.
편집 :
FILES_kernel-base += "/usr/share/i18n/charmaps/*"
FILES_kernel-base += "/usr/share/i18n/locales/*"
FILES_kernel-base += "/usr/lib/gconv/*"
FILES_kernel-base += "/usr/share/i18n*"
또한이 라인 : 내 glibc는-locale.inc 파일에 다음 줄을 추가하려고
FILES_${PN} += "/usr/share/i18n/charmaps/*"
FILES_${PN} += "/usr/share/i18n/locales/*"
FILES_${PN} += "/usr/lib/gconv/*"
FILES_${PN} += "/usr/share/i18n*"
을하지만 내 문제가 해결되지 않습니다.