Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3928

[meta-repo] Replace "gentoo:" with "core-kit:" in /etc/portage/make.profile/parent

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      After switching to meta-repo, using tools such as equery produce the following error messages even though the tools appear to work fine.

      x48rph@Funtoo_Kits ~/Eric $ equery belongs /usr/bin/antlr
       * Searching for /usr/bin/antlr ... 
      !!! Unable to parse profile: '/etc/portage/make.profile'
      !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent'
      dev-java/antlr-2.7.7-r8 (/usr/bin/antlr)
      

      As it stands any profile that is added after switching to meta-repo uses 'core-kit:' by default:

      Funtoo_Kits portage # cat make.profile/parent 
      gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
      gentoo:funtoo/1.0/linux-gnu/build/current
      gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-piledriver
      gentoo:funtoo/1.0/linux-gnu/flavor/core
      core-kit:funtoo/1.0/linux-gnu/mix-ins/X
      core-kit:funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5
      

      So all that needs done is a simple one-time update to /etc/portage/make.profile/parent to change 'gentoo:' to 'core-kit:' which could for instance be accomplished by adding a simple "sed" or similar command to the portage ebuild in meta-repo.

            Unassigned Unassigned
            x48rph x48rph [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: