[meego-packaging] [meego-commits] 13688: New package Trunk:Testing/boardname

Auke Kok auke-jan.h.kok at intel.com
Mon Feb 14 09:48:06 PST 2011


BTW, I have to implement that last step still - it'll go in the fastinit 
package today.

Auke


On 02/11/11 23:10, Carsten Munk wrote:
> Apps/Scripts will read /etc/boardname. The script is only executed at
> startup, AFAIK.
>
> /Carsten
>
> 2011/2/12 Zhu, Peter J<peter.j.zhu at intel.com>:
>> Hi,
>>
>> It's great we finally provide a way to detect platform at runtime. But this seem not be optimal. Apps have to execute this each time, neither cpu nor memory friendly. How about we get this a daemon and provide a dbus interface for apps to call into?
>>
>> Peter
>>
>>> -----Original Message-----
>>> From: meego-commits-bounces at meego.com
>>> [mailto:meego-commits-bounces at meego.com] On Behalf Of Auke Kok
>>> Sent: Saturday, February 12, 2011 7:53 AM
>>> To: meego-commits at meego.com
>>> Subject: [meego-commits] 13688: New package Trunk:Testing/boardname
>>>
>>> Hi,
>>> Adding new package boardname in project Trunk:Testing. Please review and
>>> accept ASAP.
>>>
>>> Justification for this new package:
>>>
>>>
>>>
>>> Thank You,
>>> Auke Kok
>>>
>>> [This message was auto-generated]
>>>
>>> ---
>>>
>>> Request #13688:
>>>
>>>    submit:   home:auke/boardname(r6) ->  Trunk:Testing/boardname
>>>
>>>
>>> Message:
>>>      None
>>>
>>> State:   new          2011-02-11T10:52:12 auke
>>> Comment: None
>>>
>>>
>>> This is a NEW package in Trunk:Testing project.
>>> The files in the new package:
>>> boardname/
>>>    |__  Makefile
>>>    |__  boardname
>>>    |__  boardname.changes
>>>    |__  boardname.spec
>>>    |__  boardname.yaml
>>>
>>> The content of the YAML file, boardname.yaml:
>>> ================================================================
>>> ===
>>> Name       : boardname
>>> Version    : 0.1
>>> Release    : 1
>>> Group      : System/Base
>>> Summary    : Board vendor/name/version detection tool
>>> Description: |
>>>          This tool allows multiple applications to determine board/skew
>>> specific
>>>          hardware in a consisten manner. Applications that need some form of
>>>          method of determining a custom workaround within a set of
>>> hardware are
>>>          required to parse the output of boardname to determine appropriate
>>>          workaround. Vendors can force boardname override values at
>>> shipping.
>>> Sources    :
>>>      - boardname
>>>
>>> BuildArch: noarch
>>> NoSetup: true
>>> Configure: none
>>> Builder: none
>>> License: GPLv2
>>>
>>> Requires:
>>>      - coreutils
>>>      - grep
>>>
>>> Files:
>>>      - "/sbin/boardname"
>>>
>>>
>>> ================================================================
>>> ===
>>>
>>>
>>> The content of the spec file, boardname.spec:
>>> ================================================================
>>> ===
>>> #
>>> # Do not Edit! Generated by:
>>> # spectacle version 0.18
>>> #
>>> #>>  macros
>>> #<<  macros
>>>
>>> Name:       boardname
>>> Summary:    Board vendor/name/version detection tool
>>> Version:    0.1
>>> Release:    1
>>> Group:      System/Base
>>> License:    GPLv2
>>> BuildArch:  noarch
>>> Source0:    boardname
>>> Source100:  boardname.yaml
>>> Requires:   coreutils
>>> Requires:   grep
>>>
>>>
>>> %description
>>> This tool allows multiple applications to determine board/skew specific
>>> hardware in a consisten manner. Applications that need some form of
>>> method of determining a custom workaround within a set of hardware are
>>> required to parse the output of boardname to determine appropriate
>>> workaround. Vendors can force boardname override values at shipping.
>>>
>>>
>>>
>>>
>>> %prep
>>> # No setup
>>>
>>> #>>  setup
>>> #<<  setup
>>>
>>> %build
>>> #>>  build pre
>>> #<<  build pre
>>>
>>>
>>>
>>> #>>  build post
>>> #<<  build post
>>> %install
>>> rm -rf %{buildroot}
>>> #>>  install pre
>>> install -d %{buildroot}/sbin
>>> install -m 0755 %SOURCE0 ${RPM_BUILD_ROOT}/sbin/
>>> #<<  install pre
>>>
>>> #>>  install post
>>> #<<  install post
>>>
>>>
>>>
>>>
>>>
>>>
>>> %files
>>> %defattr(-,root,root,-)
>>> /sbin/boardname
>>> #>>  files
>>> #<<  files
>>>
>>>
>>>
>>> ================================================================
>>> ===
>>>
>>> _______________________________________________
>>> MeeGo-commits mailing list
>>> MeeGo-commits at meego.com
>>> http://lists.meego.com/listinfo/meego-commits
>> _______________________________________________
>> MeeGo-packaging mailing list
>> MeeGo-packaging at meego.com
>> http://lists.meego.com/listinfo/meego-packaging
>>



More information about the MeeGo-packaging mailing list