From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] kernel prepare stage creates extra series file
Date: Mon, 16 Oct 2017 15:26:35 +0200 [thread overview]
Message-ID: <20662997.bj2uNlvSvL@ada> (raw)
In-Reply-To: <20171016124051.g7njo2urfqutq5he@pengutronix.de>
Hi,
(What I didn't mention before: the BSP is on ptxdist 2017.09.0.)
Am Montag, 16. Oktober 2017, 14:40:51 CEST schrieb Michael Olbrich:
> The only place ptxdist creates a series file, is, when it cannot find one
> (This is in scripts/lib/ptxd_make_world_patchin.sh line 282). In that case,
> you should see a warning, when it is created. Maybe PTXCONF_KERNEL_SERIES
> is not set correctly?
This is set to: series${PTXDIST_PLATFORMSUFFIX}
So:
$ p print PTXDIST_PLATFORMSUFFIX
.at91foo
$ p print PTXCONF_KERNEL_SERIES
"series.at91foo"
$ ls -l patches/linux-4.9.47/series.at91foo
-rw-r--r-- 1 adahl adahl 18229 Sep 29 11:33 patches/linux-4.9.47/
series.at91foo
If I just drop the kernel prepare stage and execute it again, this 'series'
file is not created.
But, what I found, after you mentioned this warning, which should come:
-----------------------------
target: kernel-header.extract
-----------------------------
extract: pkg_src=/home/adahl/[…]/linux-4.9.47.tar.xz
extract: pkg_extract_dir=XXX/platform-at91foo/build-target/kernel-
header-4.9.47
ptxdist: error: series file for 'XXX/patches/linux-4.9.47' is missing
There's no option to the set the series file for the kernel header package,
like for the kernel package.
As a workaround: I looked which selects the kernel-header package here and it
seems it is only oprofile, which I only need for debugging. So for now I
deactivate the kernel header package, which circumvents my initial problem,
this also saves quite some build time. :-)
Would still be interesting to look, why the kernel-header package ignores the
right series file somehow, and creates a new one which applies the same
patches.
Greets
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2017-10-16 13:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 11:53 Alexander Dahl
2017-10-16 12:40 ` Michael Olbrich
2017-10-16 13:26 ` Alexander Dahl [this message]
2017-10-16 13:42 ` Michael Olbrich
2017-10-16 13:52 ` Alexander Dahl
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=20662997.bj2uNlvSvL@ada \
--to=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/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