<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3252</bug_id>
          
          <creation_ts>2012-10-09 06:54:47 +0000</creation_ts>
          <short_desc>Binary level package selection and configuration tool.</short_desc>
          <delta_ts>2024-02-08 16:15:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Package Management Issues</product>
          <component>package-management-issues</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc>https://wiki.yoctoproject.org/wiki/Binary_configuration_support</bug_file_loc>
          <status_whiteboard>  </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>4728</dependson>
          <blocked>4729</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="venkata ramana g">venkatarg</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>hongxu.jia</cc>
    
    <cc>irfan.rehman</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sanil.kumar</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>valentin.popa</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26395</commentid>
    <comment_count>0</comment_count>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2012-10-09 06:54:47 +0000</bug_when>
    <thetext>---Requirement:

Binary level package selection and configuration tool.

	a) Selects/deselects and integrates binary packages, i,e., OS packages &amp; Various Applications packages from package pool, to generate the final image ready to deploy.
	b) Binary level offline configuration includes 
		Configure the users/passwords
		Configure the network	
		Configure the host name	
		Select the services to be started by default
		Security related configuration
		Generate initrd in ramfs/ext3/... format

---Use case:

1) In the case where OS, Application Development and product customization teams are separate teams,
   the challenge is each teams need to have clean and clear deliveries from one to other, so that integration, final target image creation and customization becomes easy.

	a) OS team: should be able to create OS package pool specific to machine and also should deliver tool chain and ADT to Application Development team.
	b) Application development team: should use the deliverables to build, debug &amp; test applications and should be able to generate the application package(s).
	c) Product team: selects/deselects and integrates binary OS packages &amp; Various binary Applications packages from different teams and will generate the final image ready to deploy.
   	Product team also needs to customize the binary image and do some offline configuration before generating the final image.
	Product team also needs to deploy the final image to target.
	

2) In the case where same board is used for various needs and OS need not be built again, but already built OS image needed to be customized and used.

---Suggestions:

Tentative changes need to be done to current model to support this requirement include

1) Poky should able to generate a OS Package pool.
2) A tool to support integrating the binary packages from OS package pool and ADT built packages to generate OS image.
   Also can think whether HOB can be modified to support the same.ie.,without building from sources
3) A tool to support binary level offline configuration
   Also can think whether HOB can be enhanced to support Offline image configuration.
4) ADT and Eclipse plugin should generate the binary application packages in the format allowing binary package integration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26520</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-10-11 14:40:11 +0000</bug_when>
    <thetext>Venkata,

This is too broad as a requirement so mark it for future.  But if you have anything specific that you think is a 1.4 candidate, could you please file more specific bugs for them?

Thanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31314</commentid>
    <comment_count>2</comment_count>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2013-04-01 05:43:24 +0000</bug_when>
    <thetext>Posted RFC: Post build configuration.
https://lists.yoctoproject.org/pipermail/yocto/2013-March/015095.html

Looking forward this enhancement as part of 1.5
Working to make a prototype, with a configuration file and command line interface to configure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33229</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-05-23 10:05:50 +0000</bug_when>
    <thetext>Reclassifying (since this is not related to Hob) and moving to 1.5 as requested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33882</commentid>
    <comment_count>4</comment_count>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2013-06-13 13:21:45 +0000</bug_when>
    <thetext>Develop post build configuration platform which supports extending the configurations for various configuration needs. The platform should
1. support various package level and image level binary configurations.
2. work with poky and outside poky at binary level.
3. support Configuration file format, Human readable and writable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33883</commentid>
    <comment_count>5</comment_count>
      <attachid>1267</attachid>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2013-06-13 13:28:24 +0000</bug_when>
    <thetext>Created attachment 1267
Sample configuration file format to meet configuration needs

#   Description   : This is a sample format, only for reference however actual functions configuration funtions will differ
#   version       : 0.1
#
#   BNF for conf file:
#
        # sectiondef    : &apos;[&apos; sectioninfo &apos;]&apos; [statements]
        # statements    : [ statement ]*
        # statement     : operation &apos;(&apos; [paramlist] &apos;)&apos;
        # operation     : identifier
        # paramlist     : param [, param ]*
        # param         : directparam | fullparam | embstatement
        # directparam   : nondelimiters | &apos;&quot;&apos; anycharcters &apos;&quot;&apos;
        # fullparam     : identifier &apos;=&apos; (directparam | embstatement)
        # embstatement  : statement
        # identifier    : [ alphanums_-. ]
        # nondelimiters : &lt;anycharcters except [ or ( or &quot; or , or ) or ] &gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33884</commentid>
    <comment_count>6</comment_count>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2013-06-13 13:45:06 +0000</bug_when>
    <thetext>Configuration support contains following components:

ConfFile - Configuration file
ConfLib  - Various Configuration methods supported, contains both package level
            and image level configurations.

ConfParser - Parser for configuration file, as per its Conf BNF
ConfApply  - Support applying the configuration options on the image
ConfQuery  - Support querying various configuration options/data from Conf file,
             after parsing the conf file. 
             (also can provide interface to update the conf file from UI tool 
               in future)
ConfDoc    - Prints the list of various configuration methods supported as part
             of ConfLib and thier usage. Help information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35764</commentid>
    <comment_count>7</comment_count>
    <who name="venkata ramana g">venkatarg</who>
    <bug_when>2013-08-20 12:20:14 +0000</bug_when>
    <thetext>Please find the design details of the feature @
https://wiki.yoctoproject.org/wiki/Binary_configuration_support</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92469</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-02-03 16:32:00 +0000</bug_when>
    <thetext>There is likely still a need for something like this but the people, ideas and exact requirements have changed in the 10 years since. I think it would make sense to restart any efforts in this area from a fresh perspective although ideas can be taken from the info here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92470</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-02-03 16:36:16 +0000</bug_when>
    <thetext>I&apos;ve CCed Hongxu, since he wrote much of the Linux Assembly Tool ( https://github.com/Wind-River/meta-lat ) so if people are interested, they can take a look at that layer. Also Hongxu might want to look at the requirements here to see if there are ideas that could be implemented in LAT. I&apos;m not suggesting that there are since only know a tiny bit about LAT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98162</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-02-08 16:15:32 +0000</bug_when>
    <thetext>The world has changed since this issue was raised and we&apos;d need to re-evaluate the proposal.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1267</attachid>
            <date>2013-06-13 13:28:24 +0000</date>
            <delta_ts>2013-06-13 13:28:24 +0000</delta_ts>
            <desc>Sample configuration file format to meet configuration needs</desc>
            <filename>oct_sample_configuration_0.1.conf</filename>
            <type>text/plain</type>
            <size>3001</size>
            <attacher name="venkata ramana g">venkatarg</attacher>
            
              <data encoding="base64">IyAgIEF1dGhvciAgICAgICAgOiB2ZW5rYXRhcmdAaHVhd2VpLmNvbQojICAgRGVzY3JpcHRpb24g
ICA6IFRoaXMgaXMgYSBzYW1wbGUgZm9ybWF0LCBvbmx5IGZvciByZWZlcmVuY2UgaG93ZXZlciBh
Y3R1YWwgZnVuY3Rpb25zIGNvbmZpZ3VyYXRpb24gZnVudGlvbnMgd2lsbCBkaWZmZXIKIyAgIHZl
cnNpb24gICAgICAgOiAwLjEKIwojICAgQk5GIGZvciBjb25mIGZpbGU6CiMKIyBzZWN0aW9uZGVm
CTogJ1snIHNlY3Rpb25pbmZvICddJyBbc3RhdGVtZW50c10gICAgICAgICAKIyBzdGF0ZW1lbnRz
CTogWyBzdGF0ZW1lbnQgXSogICAgICAgICAgICAgICAgICAgICAgICAgICAKIyBzdGF0ZW1lbnQg
CTogb3BlcmF0aW9uICcoJyBbcGFyYW1saXN0XSAnKScgICAgICAgICAgICAgIAojIG9wZXJhdGlv
biAJOiBpZGVudGlmaWVyCiMgcGFyYW1saXN0IAk6IHBhcmFtIFssIHBhcmFtIF0qICAgICAgICAg
ICAgICAgICAgICAgICAgIAojIHBhcmFtICAgICAJOiBkaXJlY3RwYXJhbSB8IGZ1bGxwYXJhbSB8
IGVtYnN0YXRlbWVudCAgIAojIGRpcmVjdHBhcmFtIAk6IG5vbmRlbGltaXRlcnMgfCAnIicgYW55
Y2hhcmN0ZXJzICciJyAgICAKIyBmdWxscGFyYW0gICAJOiBpZGVudGlmaWVyICc9JyAoZGlyZWN0
cGFyYW0gfCBlbWJzdGF0ZW1l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