public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W. Trevor King" <wking@tremily.us>
To: Guy Martin <gmsoft@tuxicoman.be>
Cc: gentoo-catalyst@lists.gentoo.org, hppa@gentoo.org
Subject: Re: [gentoo-catalyst] Re: Catalyst pull request
Date: Thu, 30 Jan 2014 08:46:11 -0800	[thread overview]
Message-ID: <20140130164611.GK14197@odin.tremily.us> (raw)
In-Reply-To: <14fdc26924392b40107d9167cbdec5bd@tuxicoman.be>

[-- Attachment #1: Type: text/plain, Size: 3199 bytes --]

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.

> > 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.

> >> > 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 ;).

> >> > 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

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2014-01-30 16:46 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 [this message]
2014-01-30 20:40         ` Brian Dolbec
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=20140130164611.GK14197@odin.tremily.us \
    --to=wking@tremily.us \
    --cc=gentoo-catalyst@lists.gentoo.org \
    --cc=gmsoft@tuxicoman.be \
    --cc=hppa@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