Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V2 0/7] opkg refactoring
@ 2015-01-16 22:15 Paul Barker
  2015-01-16 22:15 ` [PATCH V2 1/7] opkg-arch-config: Renamed from opkg-config-base Paul Barker
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Paul Barker @ 2015-01-16 22:15 UTC (permalink / raw)
  To: OE Core

Sorry it has took so long to respin these as V2, it's been a busy few weeks!

Original notes:

    Summary of changes:
      - The opkg recipe is cleanup up and opkg.inc is merged into opkg_0.2.4.bb.

      - opkg-collateral is updated and then merged into the main opkg recipe.

      - The cryptically named opkg-config-base is given the much more obvious
        name opkg-arch-config.

      - poky-feed-config-opkg is dropped, it is recommended that people use
        distro-feed-configs from meta-oe.

      - A new opkg-keyrings recipe is created to package up keys used to verify
        packages and package feeds. The functionality within opkg which this
        depends upon is backported.

    After these changes:
      - All generic files are in 'opkg', including the main opkg config which
        should be upgraded in step with opkg itself.

      - Arch-specific config is only in 'opkg-arch-config' which has
        MACHINE_ARCH.  Additional arch-specific config can easily be added to
        this package with a bbappend.

      - Distro-specific config is in 'distro-feed-config' and 'opkg-keyrings'.
        Additional distro-specific config is probably best added as extra
        recipes.

    I think this is a much cleaner layout but let me know if you disagree, I'm
    happy to discuss/improve/respin these patches.

    All these changes work locally in qemuarm and the on-target upgrade path is
    mostly clean. opkg-collateral does get left behind on the target filesystem
    after an upgrade but it's effectively an empty package. I don't think this
    poses any problems.

V2 changes:
  - Add RCONFLICTS and RPROVIDES where RREPLACES is specified

  - Drop lists_dir patch as this has been merged

  - opkg-collateral is no longer left behind on the target filesystem after an
    upgrade.

Paul Barker (7):
  opkg-arch-config: Renamed from opkg-config-base
  opkg-collateral: Simplify source files
  opkg: Merge opkg.inc into recipe and tidy up
  opkg: Merge in opkg-collateral
  poky-feed-config-opkg: Remove
  opkg: Backport improvements to opkg-key
  opkg-keyrings: New recipe

 meta/classes/rootfs_ipk.bbclass                    |  2 +-
 meta/conf/layer.conf                               |  2 +-
 .../feed-config/poky-feed-config-opkg_1.0.bb       | 44 -----------
 ...-config-base_1.0.bb => opkg-arch-config_1.0.bb} |  5 +-
 meta/recipes-devtools/opkg/opkg-collateral.bb      | 24 ------
 meta/recipes-devtools/opkg/opkg-collateral/dest    |  1 -
 meta/recipes-devtools/opkg/opkg-collateral/src     |  0
 meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb    | 48 ++++++++++++
 meta/recipes-devtools/opkg/opkg.inc                | 76 ------------------
 .../opkg/0001-opkg-key-Backport-improvements.patch | 78 +++++++++++++++++++
 .../opkg.conf.comments => opkg/opkg.conf}          |  2 +
 meta/recipes-devtools/opkg/opkg_0.2.4.bb           | 90 +++++++++++++++++++++-
 12 files changed, 222 insertions(+), 150 deletions(-)
 delete mode 100644 meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb
 rename meta/recipes-devtools/opkg/{opkg-config-base_1.0.bb => opkg-arch-config_1.0.bb} (79%)
 delete mode 100644 meta/recipes-devtools/opkg/opkg-collateral.bb
 delete mode 100644 meta/recipes-devtools/opkg/opkg-collateral/dest
 delete mode 100644 meta/recipes-devtools/opkg/opkg-collateral/src
 create mode 100644 meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
 delete mode 100644 meta/recipes-devtools/opkg/opkg.inc
 create mode 100644 meta/recipes-devtools/opkg/opkg/0001-opkg-key-Backport-improvements.patch
 rename meta/recipes-devtools/opkg/{opkg-collateral/opkg.conf.comments => opkg/opkg.conf} (92%)

-- 
1.9.1



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

end of thread, other threads:[~2015-02-11 22:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 22:15 [PATCH V2 0/7] opkg refactoring Paul Barker
2015-01-16 22:15 ` [PATCH V2 1/7] opkg-arch-config: Renamed from opkg-config-base Paul Barker
2015-01-16 22:15 ` [PATCH V2 2/7] opkg-collateral: Simplify source files Paul Barker
2015-01-16 22:15 ` [PATCH V2 3/7] opkg: Merge opkg.inc into recipe and tidy up Paul Barker
2015-01-16 22:15 ` [PATCH V2 4/7] opkg: Merge in opkg-collateral Paul Barker
2015-01-16 22:15 ` [PATCH V2 5/7] poky-feed-config-opkg: Remove Paul Barker
2015-01-16 22:15 ` [PATCH V2 6/7] opkg: Backport improvements to opkg-key Paul Barker
2015-01-16 22:15 ` [PATCH V2 7/7] opkg-keyrings: New recipe Paul Barker
2015-02-11  0:43   ` Richard Tollerton
2015-02-11  8:14     ` Paul Barker
2015-02-11 22:49       ` Richard Tollerton
2015-02-07 10:47 ` opkg refactoring Peter Urbanec
2015-02-07 11:55   ` Paul Barker
2015-02-07 14:10     ` Peter Urbanec
2015-02-08 16:14     ` Mike Looijmans

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