Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1647

Improve aglsetup: support one mandatory profile, cleanup unused features ...

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Build and Tools
    • None

      Currently (FF), we have the following options when running aglsetup:

       Available features:
         [meta-agl]
             agl-all-features :( agl-demo  agl-appfw-smack  agl-hmi-framework  agl-profile-graphical-qt5  agl-profile-graphical  agl-audio-4a-framework  agl-netboot )
             agl-appfw-smack
             agl-archiver
             agl-buildstats
             agl-ci
             agl-ci-change-features :( agl-demo  agl-appfw-smack  agl-hmi-framework  agl-profile-graphical-qt5  agl-profile-graphical  agl-audio-4a-framework  agl-devel  agl-netboot  agl-audio-4a-framework  agl-buildstats )
             agl-ci-change-features-nogfx :( agl-devel  agl-netboot  agl-audio-4a-framework  agl-buildstats )
             agl-ci-snapshot-features :( agl-demo  agl-appfw-smack  agl-hmi-framework  agl-profile-graphical-qt5  agl-profile-graphical  agl-audio-4a-framework  agl-devel  agl-netboot  agl-archiver  agl-audio-4a-framework  agl-buildstats )
             agl-ci-snapshot-features-nogfx :( agl-devel  agl-netboot  agl-archiver  agl-audio-4a-framework  agl-buildstats )
             agl-devel
             agl-gplv2
             agl-isafw
             agl-netboot
             agl-profile-graphical
             agl-profile-graphical-html5 :( agl-profile-graphical )
             agl-profile-graphical-qt5 :( agl-profile-graphical )
             agl-profile-hud
             agl-profile-telematics
             agl-ptest
             agl-sota
         [meta-agl-demo]
             agl-demo :( agl-appfw-smack  agl-hmi-framework  agl-profile-graphical-qt5  agl-profile-graphical  agl-audio-4a-framework )
             agl-demo-soundmanager :( agl-appfw-smack  agl-hmi-framework  agl-profile-graphical-qt5  agl-profile-graphical  agl-audio-soundmanager-framework )
             agl-iotivity
             agl-sdl
         [meta-agl-devel]
             agl-audio-4a-framework
             agl-audio-soundmanager-framework
             agl-egvirt
             agl-gstrecorder
             agl-hmi-framework
             agl-oem-extra-libs
             agl-telemetry
         [meta-agl-extra]
             agl-localdev
             blsched
      

      As we can see, there are a few issues:

      • profiles are mixed with other features: that's a bad idea because profiles must not be mixed: only 1 profile should be specified (there's no sense to have telematics+hud for example).Also, for binary feeds, the rule is that a profile can be build 'on top' of another with a separate packages set, but 2 profiles can't be mixed: this would break the inheritance model (a profile has 0 or 1 parent profile = onion model).
      • there's no default profile set: should be agl-profile-core (no parent for this one)
      • there are dependencies expressed in "included.dep" files: but this is only additive. It could be a good idea to be able to say agl-feature1 agl-feature2 -aglfeature3 (minus sign to disable a feature that has been added explicitely or through dependencies)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            sdesneux Stephane Desneux
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: