summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 9c681f382b..9cbfdd3db3 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -20,6 +20,8 @@ AWKPOSTINSTSCRIPT = "${POKYBASE}/scripts/rootfs_rpm-extract-postinst.awk"
20RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; package_generate_rpm_conf" 20RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; package_generate_rpm_conf"
21RPM_POSTPROCESS_COMMANDS = "" 21RPM_POSTPROCESS_COMMANDS = ""
22 22
23opkglibdir = "${localstatedir}/lib/opkg"
24
23fakeroot rootfs_rpm_do_rootfs () { 25fakeroot rootfs_rpm_do_rootfs () {
24 set +x 26 set +x
25 27
@@ -164,7 +166,7 @@ rootfs_rpm_log_check() {
164 166
165remove_packaging_data_files() { 167remove_packaging_data_files() {
166 exit 1 168 exit 1
167 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/ 169 rm -rf ${IMAGE_ROOTFS}${opkglibdir}
168} 170}
169 171
170install_all_locales() { 172install_all_locales() {
@@ -172,7 +174,7 @@ install_all_locales() {
172 174
173 PACKAGES_TO_INSTALL="" 175 PACKAGES_TO_INSTALL=""
174 176
175 INSTALLED_PACKAGES=`grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"` 177 INSTALLED_PACKAGES=`grep ^Package: ${IMAGE_ROOTFS}${opkglibdir}/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"`
176 178
177 for pkg in $INSTALLED_PACKAGES 179 for pkg in $INSTALLED_PACKAGES
178 do 180 do