From: Brian Dolbec <dolsen@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] Re: Catalyst pull request
Date: Thu, 30 Jan 2014 12:40:07 -0800 [thread overview]
Message-ID: <20140130124007.57bd04f1@big_daddy.dol-sen.ca> (raw)
In-Reply-To: <20140130164611.GK14197@odin.tremily.us>
On Thu, 30 Jan 2014 08:46:11 -0800
"W. Trevor King" <wking@tremily.us> wrote:
> On Thu, Jan 30, 2014 at 09:56:03AM +0100, Guy Martin wrote:
> > On 2014-01-30 00:34, W. Trevor King wrote:
> > > On Wed, Jan 29, 2014 at 05:24:30PM -0500, Rick "Zero_Chaos"
> > > Farina
> > >> On 01/29/2014 10:19 AM, Guy Martin wrote:
> > >> > https://github.com/gmsoft-tuxicoman/catalyst/compare/6046e57...gmsoft?expand=1
> > >
> > > I think 6046e57 is useful, but it's already in pending with
> > > 70f7cfcand fcbcea4 [1]…
> >
> > This patch just make it easier to develop and test with a git
> > branch. I think it's a good addition and will definitely not break
> > anything.
>
> Agreed on both counts. I'm just recommending the older 70f7cfc and
> fcbcea4 over 6046e57.
There isn't going to be any real development work in the stable 2.X
branch. Just bug fixes until 3.0 is ready for release. So, it won't
prove very useful in general. Plus I'm ready to commit the one in
pending for the main development branch.
>
> > > I've never used PALO [2], so I'm agnostic on 0f4c970. I agree
> > > with dol-sen's #gentoo-releng comment that it would be better to
> > > make this timeout configurable, but since this is code I'll never
> > > use, I don't feel very strongly about it ;).
> >
> > The timeout will be configurable when booting. The user always has
> > the option to change the value. It's just there because when I
> > install a box remotely, I can easily panic the kernel (like ctrl-d
> > in the netboot) and I have no way to recover the box.
>
> If you can't set this remotely already, I don't expect a user will be
> able to change the value remotely either. You want to set this in
> Catalyst instead, so I think it's fair to support users who want to
> change (or disable) the timeout in Catalyst too.
How about just a general kernel_opts field in the spec
ie. kernel_opts: panic=30 foo=bar
That makes it possible to add more than just a panic= to the
commandline while still being simple for catalyst. It is just one
variable. The help comment above it in the example spec can list the
options recommended.
>
> > >> > Regarding commit 333808b,
> > >
> > > I don't understand the first hunk in 333808b:
> > >
> > > …
> > >
> > > Why create /tmp/kerncache if kerncache is disabled?
> >
> > This directory is used later on in the kmerge.sh script for a few
> > files. For example you have :
> > /tmp/kerncache/${clst_kname}/${clst_kname}-${clst_version_stamp}.EXTRAVERSION
> > /tmp/kerncache/${clst_kname}/${clst_kname}-${clst_version_stamp}.USE
> >
> > I wasn't sure about the use of these files so I went for the safe
> > route to create the directory. A proper fix might simply be to avoid
> > creating these files at all if kerncache isn't used.
>
> The proper fix route sounds better to me ;).
Yes, if this is to go into the stable branch. It should be done
properly.
>
> > >> > the second hunk adds --selective=n to emerge always merge the
> > >> > kernel. When having two kernels in the livecd specs, the first
> > >> > build works fine but the second one fails because the sources
> > >> > are removed and not reemerged.
> > >
> > > I'm not entirely sure how this is supposed to work, but I'm not
> > > wild about --selective=n. Are the two kernels you're adding to
> > > the livecd both from the same package? …
> >
> > Yes they are both from gentoo-sources. On hppa we have to compile a
> > 32 and a 64bit kernel, provide them both to palo and it'll decide
> > which one to boot base on the machine it's booting. Some hppa box
> > can boot only 32 or 64 while some can boot both.
>
> Got it, thanks. I'll poke around and see if I can come up with
> something that works and preserves the @world entry. Can you point me
> towards some example spec files for testing?
>
> Thanks,
> Trevor
>
If you could address the above issues, I think the rest of the team
would approve the changes for the 2.X branch. I can also add them to
the pending branch queue for merge into master. I have done very
little to the kernel code areas, so there should be few to no conflicts
with the rewrite changes.
Brian Dolbec
next prev parent reply other threads:[~2014-01-30 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fdc2147802831b84da9f23eeb93634f0@tuxicoman.be>
2014-01-29 22:24 ` [gentoo-catalyst] Re: Catalyst pull request Rick "Zero_Chaos" Farina
2014-01-29 23:34 ` W. Trevor King
[not found] ` <14fdc26924392b40107d9167cbdec5bd@tuxicoman.be>
2014-01-30 16:46 ` W. Trevor King
2014-01-30 20:40 ` Brian Dolbec [this message]
2014-01-30 21:12 ` W. Trevor King
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=20140130124007.57bd04f1@big_daddy.dol-sen.ca \
--to=dolsen@gentoo.org \
--cc=gentoo-catalyst@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