public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steven J. Long" <slong@rathaus.eclipse.co.uk>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Re: Tightly-coupled core distro
Date: Tue, 27 Nov 2012 08:11:31 +0000	[thread overview]
Message-ID: <20121127081130.GA4054@rathaus.eclipse.co.uk> (raw)
In-Reply-To: <CAGfcS_kG7+usPPJ8-eVyFSCiKCLe0SQLOPE+u0JWCSczZ3mJGw@mail.gmail.com>

On Mon, Nov 19, 2012 at 11:52:46AM -0500, Rich Freeman wrote:
> On Mon, Nov 19, 2012 at 11:32 AM, Alec Warner <antarus@gentoo.org> wrote:
> >
> > Debian / Ubuntu have a tool that basically does this. Its
> > update-initramfs. I believe it is called from..the postinst of
> > packages that are supposed to be in the initramfs? honestly I'd have
> > to look up how they implemented it.
> 
> Not a bad idea, with a corresponding eselect tool to control what kind
> of initramfs you have (dracut, genkernel, none,
> remind-me-but-I-roll-my-own, etc).  The ebuild would just call the
> function, and the function would handle it accordingly.
>
The issue there is "packages that are supposed to be in the initramfs," since
we've been told the initramfs is a custom thing for our situation. (Which is
kinda my issue with just dumping the whole problem on end-users and admins 
who are not using a prepackaged distro without customisation, instead of
maintaining backward-compatibility.)

Mind, I don't have an issue with developers deciding certain packages are
critical: after all the same knowledge informs what should be on root.

I just don't think that the above answers the problem comprehensively (and
thus it isn't worth the maintenance headache, if it can be avoided.)

All the tutorials, and packages, I've seen on the forums take you through
deciding exactly what you need in the initramfs. So given that each user
has a potentially different set of stuff on there, the robust method would
appear to require the mangler to know which packages had files on there, and
to update them accordingly (or run the generation tool, or warn, as you said)
when one of that set were updated.

Simply triggering a warning when one of a named set is built, sounds like a
start. (The initramfs generation script could run qfile to build/check the
set.) Thereafter it's "just" a matter of hooking into that, if the functionality
is not already present.

(I don't run unstable portage any more, as I need to be close to what end-users
of our emerge wrapper are using, so I'm not up on the current state of 2.2. I'd
prefer not to have to script round this issue, since it doesn't affect me at all.)

Regards,
SteveL.
-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)


  parent reply	other threads:[~2012-11-27  7:55 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20353.41193.129711.306663@a1i15.kph.uni-mainz.de>
2012-04-08 22:04 ` [gentoo-dev] Re: [gentoo-dev-announce] Council meeting summary for 3 April 2012 Greg KH
2012-04-08 23:28   ` Rich Freeman
2012-04-09 18:09     ` [gentoo-dev] " Steven J Long
2012-04-09 19:20       ` Zac Medico
2012-04-11  2:28         ` [gentoo-dev] " Steven J Long
2012-04-11  4:09           ` Zac Medico
2012-04-11  5:18             ` William Hubbs
2012-04-11 16:10               ` [gentoo-dev] " Steven J Long
2012-04-28 21:09                 ` Mike Frysinger
2012-05-04 16:36                   ` [gentoo-dev] " Steven J Long
2012-05-04 16:47                     ` Mike Frysinger
2012-05-04 17:24                       ` [gentoo-dev] " Steven J Long
2012-04-11 14:13             ` [gentoo-dev] " Steven J Long
2012-04-11 19:57               ` Zac Medico
2012-04-22  2:43                 ` [gentoo-dev] " Steven J Long
2012-04-22  2:53                   ` Rich Freeman
2012-04-22  5:28                     ` [gentoo-dev] " Steven J Long
2012-04-22  6:00                       ` Mike Gilbert
2012-04-22  9:07                         ` [gentoo-dev] " Ulrich Mueller
2012-04-22  9:28                           ` [gentoo-dev] " Steven J Long
2012-04-22 17:55                             ` Mike Gilbert
2012-04-22 18:13                               ` Zac Medico
2012-05-04 15:20                                 ` [gentoo-dev] " Steven J Long
2012-05-04 19:50                                   ` Zac Medico
2012-05-04 15:10                               ` Steven J Long
2012-04-22  9:11                         ` [gentoo-dev] Re: Re: Re: Re: " Steven J Long
2012-04-23  1:25                       ` [gentoo-dev] " Walter Dnes
2012-04-23  6:04                         ` Zac Medico
2012-04-23 14:29                           ` Walter Dnes
2012-04-23  6:30                         ` [gentoo-dev] " Fabian Groffen
2012-05-04 14:50                         ` [gentoo-dev] Re: Re: Re: Re: Re: Re: Re: [gentoo-dev-announce] " Steven J Long
2012-05-05  1:05                           ` Greg KH
2012-05-08  1:40                             ` [gentoo-dev] Tightly-coupled core distro [was: Council meeting summary for 3 April 2012] Steven J Long
2012-05-08  2:09                               ` Richard Yao
2012-05-09 18:32                               ` Greg KH
2012-05-09 18:51                                 ` Fabio Erculiani
2012-05-09 22:36                                   ` Greg KH
2012-05-10  1:08                                     ` Patrick Lauer
2012-05-10  3:08                                       ` Rich Freeman
2012-05-10  4:34                                     ` Fabio Erculiani
2012-05-10 16:54                                       ` Olivier Crête
2012-05-14 18:48                                         ` Luca Barbato
2012-05-10 23:41                                       ` Alec Warner
2012-05-17  4:39                                         ` [gentoo-dev] " Steven J Long
2012-05-10 11:44                                     ` [gentoo-dev] " Chí-Thanh Christopher Nguyễn
2012-05-10 14:39                                       ` Zac Medico
2012-05-12  0:39                                       ` Greg KH
2012-05-10 18:57                                     ` David Leverton
2012-05-10 19:22                                       ` Zac Medico
2012-05-10 19:30                                         ` David Leverton
2012-05-11  1:27                                       ` [gentoo-dev] " Duncan
2012-05-10 19:55                                   ` [gentoo-dev] " Markos Chandras
2012-05-10 19:59                                     ` Ciaran McCreesh
2012-05-10 20:13                                       ` Michał Górny
2012-05-10 20:14                                         ` Ciaran McCreesh
2012-05-10 20:23                                           ` Michał Górny
2012-05-10 20:48                                     ` Fabio Erculiani
2012-05-11  0:59                                       ` [gentoo-dev] " Duncan
2012-05-11  2:53                                         ` Duncan
2012-05-13  2:24                                         ` Walter Dnes
     [not found]                                   ` <4bdd949a377d40eb85590870be440551@HUBCAS1.cs.stonybrook.edu>
2012-11-18  7:54                                     ` [gentoo-dev] " Richard Yao
2012-11-18  8:08                                       ` Greg KH
2012-11-18  8:10                                         ` Richard Yao
2012-11-18  8:19                                           ` Greg KH
2012-11-18  8:19                                             ` Richard Yao
2012-11-18  8:27                                             ` Greg KH
2012-11-18  8:38                                               ` Pacho Ramos
2012-11-18  8:21                                         ` Diego Elio Pettenò
2012-11-18  8:49                                           ` Samuli Suominen
2012-11-18 11:11                                           ` Vadim A. Misbakh-Soloviov
2012-11-18 12:26                                             ` Rich Freeman
2012-11-18 16:49                                               ` [gentoo-dev] " Duncan
2012-11-18 15:04                                             ` [gentoo-dev] " Diego Elio Pettenò
2012-11-18 15:16                                               ` Samuli Suominen
2012-11-18 15:31                                                 ` Diego Elio Pettenò
2012-11-18 15:32                                                 ` Fabian Groffen
2012-11-18 15:34                                                 ` Vadim A. Misbakh-Soloviov
2012-11-18 15:42                                                   ` Diego Elio Pettenò
2012-11-18 15:51                                                     ` Fabian Groffen
2012-11-19  8:20                                                       ` Vadim A. Misbakh-Soloviov
2012-11-19 12:14                                                         ` Rich Freeman
2012-11-19 13:08                                                         ` Fabian Groffen
2012-11-18 15:50                                                   ` Luca Barbato
2012-11-19 13:07                                                 ` [gentoo-dev] Re: Tightly-coupled core distro Steven J. Long
2012-11-19 16:32                                                   ` Alec Warner
2012-11-19 16:52                                                     ` Rich Freeman
2012-11-19 16:54                                                       ` Diego Elio Pettenò
2012-11-27  8:11                                                       ` Steven J. Long [this message]
2012-11-19 17:43                                                   ` Peter Stuge
2012-11-19 18:16                                                     ` Rich Freeman
2012-11-19 18:33                                                       ` Peter Stuge
2012-11-18 15:43                                               ` [gentoo-dev] Tightly-coupled core distro [was: Council meeting summary for 3 April 2012] Vadim A. Misbakh-Soloviov
2012-11-18 15:47                                                 ` Diego Elio Pettenò
2012-11-18 15:54                                                   ` Fabian Groffen
2012-11-18 16:00                                                     ` Diego Elio Pettenò
2012-11-18 16:14                                                       ` Fabio Erculiani
2012-11-18 15:56                                                   ` Luca Barbato
2012-11-18 17:19                                                   ` [gentoo-dev] " Duncan
2012-11-18 18:15                                                     ` Stelian Ionescu
2012-05-17  4:16                                 ` Steven J Long
2012-04-11 11:44           ` [gentoo-dev] Re: Re: Re: [gentoo-dev-announce] Council meeting summary for 3 April 2012 Rich Freeman
2012-04-11 15:09             ` [gentoo-dev] " Steven J Long
2012-04-11 16:55               ` Rich Freeman
2012-04-22  3:30                 ` [gentoo-dev] " Steven J Long
2012-04-10 18:45   ` [gentoo-dev] " William Hubbs
2012-04-11  9:34     ` Ralph Sennhauser
2012-04-28 23:44     ` Luca Barbato
2012-04-29  6:44       ` Michał Górny
2012-04-29  7:04         ` Luca Barbato
2012-04-29 22:40           ` Zac Medico
2012-04-29 23:38             ` Luca Barbato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121127081130.GA4054@rathaus.eclipse.co.uk \
    --to=slong@rathaus.eclipse.co.uk \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox