* [Buildroot] User defined packages?
@ 2009-03-31 14:44 Lloyd Sargent
2009-03-31 15:32 ` Lloyd Sargent
2009-03-31 19:08 ` Markus Heidelberg
0 siblings, 2 replies; 5+ messages in thread
From: Lloyd Sargent @ 2009-03-31 14:44 UTC (permalink / raw)
To: buildroot
As a noob on this list, if there isn't already a way to add user
defined packages, could I suggest the following?
In package/Config.in add the following line:
source "user_package/Config.in"
In a new directory named "user_package" have a file called Config.in
with the following:
menu "User Packages"
source "package/YourUserDefinedPackage/Config.in"
endmenu
The advantage to this is that it allows users to add to their list of
packages without affecting (or in anyway touching) the files within
the "package" directory. And it gives noobs such as myself a feeling
of security that they aren't messing up something important.
Cheers,
Lloyd
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] User defined packages?
2009-03-31 14:44 [Buildroot] User defined packages? Lloyd Sargent
@ 2009-03-31 15:32 ` Lloyd Sargent
2009-03-31 19:08 ` Markus Heidelberg
1 sibling, 0 replies; 5+ messages in thread
From: Lloyd Sargent @ 2009-03-31 15:32 UTC (permalink / raw)
To: buildroot
On Mar 31, 2009, at 9:44 AM, Lloyd Sargent wrote:
> As a noob on this list, if there isn't already a way to add user
> defined packages, could I suggest the following?
>
> In package/Config.in add the following line:
>
> source "user_package/Config.in"
>
> In a new directory named "user_package" have a file called Config.in
> with the following:
>
> menu "User Packages"
> source "package/YourUserDefinedPackage/Config.in"
> endmenu
>
> The advantage to this is that it allows users to add to their list
> of packages without affecting (or in anyway touching) the files
> within the "package" directory. And it gives noobs such as myself a
> feeling of security that they aren't messing up something important.
FYI, I realize it will take more than just getting it in the
menuconfig, but wanted to float this idea.
Cheers,
Lloyd
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] User defined packages?
2009-03-31 14:44 [Buildroot] User defined packages? Lloyd Sargent
2009-03-31 15:32 ` Lloyd Sargent
@ 2009-03-31 19:08 ` Markus Heidelberg
[not found] ` <200903311637.14499.lsargent@txdigital.com>
1 sibling, 1 reply; 5+ messages in thread
From: Markus Heidelberg @ 2009-03-31 19:08 UTC (permalink / raw)
To: buildroot
Lloyd Sargent, 31.03.2009:
> As a noob on this list, if there isn't already a way to add user
> defined packages, could I suggest the following?
>
> In package/Config.in add the following line:
>
> source "user_package/Config.in"
>
> In a new directory named "user_package" have a file called Config.in
> with the following:
>
> menu "User Packages"
> source "package/YourUserDefinedPackage/Config.in"
I guess you meant user_package/ here and not package/
> endmenu
>
> The advantage to this is that it allows users to add to their list of
> packages without affecting (or in anyway touching) the files within
> the "package" directory. And it gives noobs such as myself a feeling
> of security that they aren't messing up something important.
For a real feeling of security you should use a VCS.
I personally don't like the idea of a separate package directory.
Putting them into package/ only touches package/Config.in. You can add a
new 'menu "My Packages"' at the end of the file or wherever if you like,
this doesn't affect the official files much.
Markus
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] User defined packages?
[not found] ` <200903311637.14499.lsargent@txdigital.com>
@ 2009-04-01 0:11 ` Markus Heidelberg
2009-04-01 0:23 ` Lloyd Sargent
0 siblings, 1 reply; 5+ messages in thread
From: Markus Heidelberg @ 2009-04-01 0:11 UTC (permalink / raw)
To: buildroot
Hi, please keep the list in the reply.
So quoting the whole mail.
Lloyd Sargent, 31.03.2009:
> On Tuesday 31 March 2009 14:08:58 Markus Heidelberg wrote:
> > Lloyd Sargent, 31.03.2009:
> > > As a noob on this list, if there isn't already a way to add user
> > > defined packages, could I suggest the following?
> > >
> > > In package/Config.in add the following line:
> > >
> > > source "user_package/Config.in"
> > >
> > > In a new directory named "user_package" have a file called Config.in
> > > with the following:
> > >
> > > menu "User Packages"
> > > source "package/YourUserDefinedPackage/Config.in"
> >
> > I guess you meant user_package/ here and not package/
>
> Oops! Yeah, that's what I means :)
>
> > > endmenu
> > >
> > > The advantage to this is that it allows users to add to their list of
> > > packages without affecting (or in anyway touching) the files within
> > > the "package" directory. And it gives noobs such as myself a feeling
> > > of security that they aren't messing up something important.
> >
> > For a real feeling of security you should use a VCS.
>
> Actually, I use Subversion, but there you go... :)
>
> > I personally don't like the idea of a separate package directory.
> > Putting them into package/ only touches package/Config.in. You can add a
> > new 'menu "My Packages"' at the end of the file or wherever if you like,
> > this doesn't affect the official files much.
>
> I was looking at it going forward. We have a need to update our packages from
> time to time. It seems to me easier to copy a directory than go in and edit a
> file over and over.
I did the same: updating to newer releases. But when working in a VCS
(git for me), it should not be necessary to bother with copying files or
directories around at all. Rebasing onto the next release or merging the
changes in should do it.
Markus
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] User defined packages?
2009-04-01 0:11 ` Markus Heidelberg
@ 2009-04-01 0:23 ` Lloyd Sargent
0 siblings, 0 replies; 5+ messages in thread
From: Lloyd Sargent @ 2009-04-01 0:23 UTC (permalink / raw)
To: buildroot
On Mar 31, 2009, at 7:11 PM, Markus Heidelberg wrote:
> Hi, please keep the list in the reply.
> So quoting the whole mail.
>
> Lloyd Sargent, 31.03.2009:
>> On Tuesday 31 March 2009 14:08:58 Markus Heidelberg wrote:
>>> Lloyd Sargent, 31.03.2009:
>>>> As a noob on this list, if there isn't already a way to add user
>>>> defined packages, could I suggest the following?
>>>>
>>>> In package/Config.in add the following line:
>>>>
>>>> source "user_package/Config.in"
>>>>
>>>> In a new directory named "user_package" have a file called
>>>> Config.in
>>>> with the following:
>>>>
>>>> menu "User Packages"
>>>> source "package/YourUserDefinedPackage/Config.in"
>>>
>>> I guess you meant user_package/ here and not package/
>>
>> Oops! Yeah, that's what I means :)
>>
>>>> endmenu
>>>>
>>>> The advantage to this is that it allows users to add to their
>>>> list of
>>>> packages without affecting (or in anyway touching) the files within
>>>> the "package" directory. And it gives noobs such as myself a
>>>> feeling
>>>> of security that they aren't messing up something important.
>>>
>>> For a real feeling of security you should use a VCS.
>>
>> Actually, I use Subversion, but there you go... :)
>>
>>> I personally don't like the idea of a separate package directory.
>>> Putting them into package/ only touches package/Config.in. You can
>>> add a
>>> new 'menu "My Packages"' at the end of the file or wherever if you
>>> like,
>>> this doesn't affect the official files much.
>>
>> I was looking at it going forward. We have a need to update our
>> packages from
>> time to time. It seems to me easier to copy a directory than go in
>> and edit a
>> file over and over.
>
> I did the same: updating to newer releases. But when working in a VCS
> (git for me), it should not be necessary to bother with copying
> files or
> directories around at all. Rebasing onto the next release or merging
> the
> changes in should do it.
Ah, good point.
Cheers,
Lloyd
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-01 0:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 14:44 [Buildroot] User defined packages? Lloyd Sargent
2009-03-31 15:32 ` Lloyd Sargent
2009-03-31 19:08 ` Markus Heidelberg
[not found] ` <200903311637.14499.lsargent@txdigital.com>
2009-04-01 0:11 ` Markus Heidelberg
2009-04-01 0:23 ` Lloyd Sargent
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.