mirror of
https://git.yoctoproject.org/poky
synced 2026-11-15 02:47:16 +00:00
rootfs_ipk.bbclass: do grep in install_all_locales just once
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4603 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
1 parent
99e0700b4b
commit
8009f0e3fe
1 file changed
+3
-1
@@ -95,7 +95,9 @@ install_all_locales() {
|
||||
|
||||
PACKAGES_TO_INSTALL=""
|
||||
|
||||
for pkg in `grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"`
|
||||
INSTALLED_PACKAGES=`grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"`
|
||||
|
||||
for pkg in $INSTALLED_PACKAGES
|
||||
do
|
||||
for lang in ${IMAGE_LOCALES}
|
||||
do
|
||||
|
||||
Reference in new issue
Block a user