[OE-core] [PATCH V2 0/7] opkg refactoring

Paul Barker paul at paulbarker.me.uk
Fri Jan 16 22:15:22 UTC 2015


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



More information about the Openembedded-core mailing list