Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] libzypp: remove the desktop icon
@ 2011-09-13 23:41 Saul Wold
  2011-09-13 23:41 ` [PATCH 1/1] libzypp: move package-manger to it own package Saul Wold
  0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2011-09-13 23:41 UTC (permalink / raw)
  To: openembedded-core

Richard

This removes the add/remove icon by packaging stuff in an
uninstalled rpm

Sau!

The following changes since commit c7af358ec427487ccc053316d2f68f6121b97181:

  dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives (2011-09-13 17:11:01 +0100)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib sgw/oe-fix
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=sgw/oe-fix

Saul Wold (1):
  libzypp: move package-manger to it own package

 meta/recipes-extended/libzypp/libzypp_git.bb |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

-- 
1.7.6




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/1] libzypp: move package-manger to it own package
  2011-09-13 23:41 [PATCH 0/1] libzypp: remove the desktop icon Saul Wold
@ 2011-09-13 23:41 ` Saul Wold
  2011-09-13 23:54   ` Richard Purdie
  2011-09-13 23:56   ` Joshua Lock
  0 siblings, 2 replies; 6+ messages in thread
From: Saul Wold @ 2011-09-13 23:41 UTC (permalink / raw)
  To: openembedded-core

[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.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/libzypp/libzypp_git.bb |    9 ++++++++-
 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 1fc6809..aeae7df 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"
 S = "${WORKDIR}/git"
 SRCREV = "15b6c52260bbc52b3d8e585e271b67e10cc7c433"
 PV = "0.0-git${SRCPV}"
-PR = "r13"
+PR = "r14"
 
 SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \
            file://no-doc.patch \
@@ -32,9 +32,16 @@ SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch"
 # ARM specific global constructor workaround
 SRC_URI_append_arm  = " file://arm-workaround-global-constructor.patch"
 
+PACKAGES =+ "${PN}-pkgmgt"
+
 FILES_${PN} += "${libdir}/zypp ${datadir}/zypp ${datadir}/icons"
 FILES_${PN}-dev += "${datadir}/cmake"
 
+FILES_${PN}-pkgmgt = "${bindir}/package-manager \
+                      ${bindir}/package-manager-su \
+                      ${datadir}/applications/package-manager.desktop \
+                     "
+
 EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.6




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libzypp: move package-manger to it own package
  2011-09-13 23:41 ` [PATCH 1/1] libzypp: move package-manger to it own package Saul Wold
@ 2011-09-13 23:54   ` Richard Purdie
  2011-09-13 23:56   ` Joshua Lock
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2011-09-13 23:54 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-09-13 at 16:41 -0700, Saul Wold wrote:
> [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.
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-extended/libzypp/libzypp_git.bb |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libzypp: move package-manger to it own package
  2011-09-13 23:41 ` [PATCH 1/1] libzypp: move package-manger to it own package Saul Wold
  2011-09-13 23:54   ` Richard Purdie
@ 2011-09-13 23:56   ` Joshua Lock
  2011-09-14  0:01     ` Richard Purdie
  1 sibling, 1 reply; 6+ messages in thread
From: Joshua Lock @ 2011-09-13 23:56 UTC (permalink / raw)
  To: openembedded-core

On Tue, 2011-09-13 at 16:41 -0700, Saul Wold wrote:
> [YOCTO #1234]

Aside/nitpick: I really hate this being the first line.

> 
> 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.
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>

We should ensure that we document how to hook up and enable this
functionality too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>

> ---
>  meta/recipes-extended/libzypp/libzypp_git.bb |    9 ++++++++-
>  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 1fc6809..aeae7df 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"
>  S = "${WORKDIR}/git"
>  SRCREV = "15b6c52260bbc52b3d8e585e271b67e10cc7c433"
>  PV = "0.0-git${SRCPV}"
> -PR = "r13"
> +PR = "r14"
>  
>  SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \
>             file://no-doc.patch \
> @@ -32,9 +32,16 @@ SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch"
>  # ARM specific global constructor workaround
>  SRC_URI_append_arm  = " file://arm-workaround-global-constructor.patch"
>  
> +PACKAGES =+ "${PN}-pkgmgt"
> +
>  FILES_${PN} += "${libdir}/zypp ${datadir}/zypp ${datadir}/icons"
>  FILES_${PN}-dev += "${datadir}/cmake"
>  
> +FILES_${PN}-pkgmgt = "${bindir}/package-manager \
> +                      ${bindir}/package-manager-su \
> +                      ${datadir}/applications/package-manager.desktop \
> +                     "
> +
>  EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"

-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libzypp: move package-manger to it own package
  2011-09-13 23:56   ` Joshua Lock
@ 2011-09-14  0:01     ` Richard Purdie
  2011-09-14  0:06       ` Joshua Lock
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2011-09-14  0:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-09-13 at 16:56 -0700, Joshua Lock wrote:
> On Tue, 2011-09-13 at 16:41 -0700, Saul Wold wrote:
> > [YOCTO #1234]
> 
> Aside/nitpick: I really hate this being the first line.

I have to admit I don't like it either but it is what the commit
guidelines suggest. I have wondered about proposing to change them but
haven't had time...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] libzypp: move package-manger to it own package
  2011-09-14  0:01     ` Richard Purdie
@ 2011-09-14  0:06       ` Joshua Lock
  0 siblings, 0 replies; 6+ messages in thread
From: Joshua Lock @ 2011-09-14  0:06 UTC (permalink / raw)
  To: openembedded-core

On Wed, 2011-09-14 at 01:01 +0100, Richard Purdie wrote:
> On Tue, 2011-09-13 at 16:56 -0700, Joshua Lock wrote:
> > On Tue, 2011-09-13 at 16:41 -0700, Saul Wold wrote:
> > > [YOCTO #1234]
> > 
> > Aside/nitpick: I really hate this being the first line.
> 
> I have to admit I don't like it either but it is what the commit
> guidelines suggest. I have wondered about proposing to change them but
> haven't had time...

Oh! I seem to have read/remembered that it should be at the bottom - as
I always do. Particularly as for the wider oe-core userbase the
information is not especially relevant.

I will write a formal proposal for the change.

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-14  0:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 23:41 [PATCH 0/1] libzypp: remove the desktop icon Saul Wold
2011-09-13 23:41 ` [PATCH 1/1] libzypp: move package-manger to it own package Saul Wold
2011-09-13 23:54   ` Richard Purdie
2011-09-13 23:56   ` Joshua Lock
2011-09-14  0:01     ` Richard Purdie
2011-09-14  0:06       ` Joshua Lock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox