Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232132 - stackable runlevels
Summary: stackable runlevels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-18 01:20 UTC by SpanKY
Modified: 2009-10-14 00:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2008-07-18 01:20:50 UTC
i have need of many profiles which largely have the same exact base.  if we made profiles stackable like portage profiles, that would make my life so much easier.  so, similar to portage, the spec would be simple.  we'd have a "parent" (or maybe ".parent" ?) file that if it exists, we read (ignoring blank/comment lines) and every other line will be the name of a parent profile.  it isnt a path spec or anything like that, just the profile name.

for example, if /etc/runlevels/moo/parent looked like:
<<< snip >>>
# eat it!

mommy
daddy
priest
<<< snip >>>

then the runlevel "moo" would recurse into its parents "mommy", "daddy", "priest".

only gotcha to watch out for i think would be circular parents.