Instead of having the source files 'opkg.conf.comments', 'dest' and 'src', we simply have one 'opkg.conf' file containing all the necessary configuration.
This does mean that replacing 'src' in a bbappend to define distro-specific package feeds is no longer supported, but these feed configurations should be packaged separately from the rest of the opkg configuration anyway so that things can be updated independently. The best recipe to use for managing feed configs is currently distro-feed-config in the meta-oe layer. Signed-off-by: Paul Barker <p...@paulbarker.me.uk> --- meta/recipes-devtools/opkg/opkg-collateral.bb | 7 +------ meta/recipes-devtools/opkg/opkg-collateral/dest | 1 - .../opkg/opkg-collateral/{opkg.conf.comments => opkg.conf} | 2 ++ meta/recipes-devtools/opkg/opkg-collateral/src | 0 4 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 meta/recipes-devtools/opkg/opkg-collateral/dest rename meta/recipes-devtools/opkg/opkg-collateral/{opkg.conf.comments => opkg.conf} (92%) delete mode 100644 meta/recipes-devtools/opkg/opkg-collateral/src diff --git a/meta/recipes-devtools/opkg/opkg-collateral.bb b/meta/recipes-devtools/opkg/opkg-collateral.bb index 3825ffb..b16579c 100644 --- a/meta/recipes-devtools/opkg/opkg-collateral.bb +++ b/meta/recipes-devtools/opkg/opkg-collateral.bb @@ -4,15 +4,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r2" -SRC_URI = "file://opkg.conf.comments \ - file://dest \ - file://src " +SRC_URI = "file://opkg.conf" OPKGLIBDIR = "${localstatedir}/lib" do_compile () { - cat ${WORKDIR}/opkg.conf.comments >${WORKDIR}/opkg.conf - cat ${WORKDIR}/src >>${WORKDIR}/opkg.conf - cat ${WORKDIR}/dest >>${WORKDIR}/opkg.conf echo "option lists_dir ${OPKGLIBDIR}/opkg" >>${WORKDIR}/opkg.conf } diff --git a/meta/recipes-devtools/opkg/opkg-collateral/dest b/meta/recipes-devtools/opkg/opkg-collateral/dest deleted file mode 100644 index 088ca40..0000000 --- a/meta/recipes-devtools/opkg/opkg-collateral/dest +++ /dev/null @@ -1 +0,0 @@ -dest root / diff --git a/meta/recipes-devtools/opkg/opkg-collateral/opkg.conf.comments b/meta/recipes-devtools/opkg/opkg-collateral/opkg.conf similarity index 92% rename from meta/recipes-devtools/opkg/opkg-collateral/opkg.conf.comments rename to meta/recipes-devtools/opkg/opkg-collateral/opkg.conf index e1fdada..c2e9e92 100644 --- a/meta/recipes-devtools/opkg/opkg-collateral/opkg.conf.comments +++ b/meta/recipes-devtools/opkg/opkg-collateral/opkg.conf @@ -24,3 +24,5 @@ # Offline mode (for use in constructing flash images offline) #option offline_root target +# Default destination for installed packages +dest root / diff --git a/meta/recipes-devtools/opkg/opkg-collateral/src b/meta/recipes-devtools/opkg/opkg-collateral/src deleted file mode 100644 index e69de29..0000000 -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core