summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-09-13 16:10:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-14 00:54:34 +0100
commita765b9afdf1e781e1ad11f0642817bcfa5cf13ce (patch)
tree41fae0b43a98f4b8490a8f67d815d3113d596100 /meta
parent7eea637db092eb024160af5e76fcf79fcb53c968 (diff)
downloadpoky-a765b9afdf1e781e1ad11f0642817bcfa5cf13ce.tar.gz
libzypp: move package-manger to it own package
[YOCTO #1234] This moves a couple of files to a pkgmgt package so that they will not be installed by default. This removes the Add/Remove Software Icon from rpm based rootfs. (From OE-Core rev: 3be290aac4da885fe5bc31797c4a689196c63b7a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libzypp/libzypp_git.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index 1fc6809a35..aeae7dfd37 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -14,7 +14,7 @@ RDEPENDS_${PN} = "sat-solver"
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15SRCREV = "15b6c52260bbc52b3d8e585e271b67e10cc7c433" 15SRCREV = "15b6c52260bbc52b3d8e585e271b67e10cc7c433"
16PV = "0.0-git${SRCPV}" 16PV = "0.0-git${SRCPV}"
17PR = "r13" 17PR = "r14"
18 18
19SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \ 19SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \
20 file://no-doc.patch \ 20 file://no-doc.patch \
@@ -32,9 +32,16 @@ SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch"
32# ARM specific global constructor workaround 32# ARM specific global constructor workaround
33SRC_URI_append_arm = " file://arm-workaround-global-constructor.patch" 33SRC_URI_append_arm = " file://arm-workaround-global-constructor.patch"
34 34
35PACKAGES =+ "${PN}-pkgmgt"
36
35FILES_${PN} += "${libdir}/zypp ${datadir}/zypp ${datadir}/icons" 37FILES_${PN} += "${libdir}/zypp ${datadir}/zypp ${datadir}/icons"
36FILES_${PN}-dev += "${datadir}/cmake" 38FILES_${PN}-dev += "${datadir}/cmake"
37 39
40FILES_${PN}-pkgmgt = "${bindir}/package-manager \
41 ${bindir}/package-manager-su \
42 ${datadir}/applications/package-manager.desktop \
43 "
44
38EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}" 45EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
39 46
40PACKAGE_ARCH = "${MACHINE_ARCH}" 47PACKAGE_ARCH = "${MACHINE_ARCH}"