On 26 January 2017 at 13:04, <[email protected]> wrote:

> @@ -1662,14 +1662,12 @@ class OpkgPM(OpkgDpkgPM):
>              NOTE: Development-helper feature, NOT a full-fledged feed.
>              """
>              if (self.d.getVar('FEED_DEPLOYDIR_BASE_URI') or "") != "":
> +                cfg_dir_name = os.path.join(self.target_rootfs,
> "etc/opkg")
> +                bb.utils.mkdirhier(cfg_dir_name)
>                  for arch in self.pkg_archs.split():
> -                    cfg_file_name = os.path.join(self.target_rootfs,
> -
>  self.d.getVar("sysconfdir"),
> -                                                 "opkg",
> -                                                 "local-%s-feed.conf" %
> arch)
> -
> +                    cfg_file_name = os.path.join(cfg_dir_name,
> "local-%s-feed.conf" % arch)
>                      with open(cfg_file_name, "w+") as cfg_file:
> -                        cfg_file.write("src/gz local-%s %s/%s" %
> +                        cfg_file.write("src/gz local-%s %s/%s\n" %
>                                         (arch,
>                                          self.d.getVar('FEED_DEPLOYDIR_
> BASE_URI'),
>                                          arch))
>

Isn't this a bad clone of the feeds generated by PACKAGE_FEED_URIS so
should be deleted entirely?

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to