* [PATCH 0/1 v2][dizzy] yocto-bsp fix
@ 2015-01-28 15:49 Tom Zanussi
2015-01-28 15:49 ` [PATCH 1/1 v2] yocto-bsp: Add branch to SRC_URI for custom kernels Tom Zanussi
[not found] ` <1422968382.18649.4.camel@picadillo>
0 siblings, 2 replies; 3+ messages in thread
From: Tom Zanussi @ 2015-01-28 15:49 UTC (permalink / raw)
To: akuster808, poky; +Cc: Tom Zanussi
This patchset contains a fix for Yocto Bug 6518 (yocto-bsp create
creates faulty SRC_URI). Please apply to dizzy-next.
Changes since v1:
* the wrong patch was sent for v1 - v2 adds the right one.
The following changes since commit 9fc095a439c36014c73b3a8f240afba09fe0e4d7:
image.bbclass: avoid boot error on read-only systemd image (2015-01-15 16:01:47 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/custom-kbranch-dizzy-v2
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/custom-kbranch-dizzy-v2
Tom Zanussi (1):
yocto-bsp: Add branch to SRC_URI for custom kernels
.../{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb" | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1 v2] yocto-bsp: Add branch to SRC_URI for custom kernels
2015-01-28 15:49 [PATCH 0/1 v2][dizzy] yocto-bsp fix Tom Zanussi
@ 2015-01-28 15:49 ` Tom Zanussi
[not found] ` <1422968382.18649.4.camel@picadillo>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Zanussi @ 2015-01-28 15:49 UTC (permalink / raw)
To: akuster808, poky; +Cc: Tom Zanussi
Without 'branch' in the SRC_URI, a SRCREV specified for a non-master
KBRANCH will result in a fetch failure since the branch tested by the
fetcher will default to master, which doesn't contain the SRCREV.
This fixes the problem by adding branch=KBRANCH to the SRC_URI.
Fixes [Yocto #6518].
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
.../{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb" | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git "a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb" "b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb"
index 6d3cc6f..c85e731 100644
--- "a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb"
+++ "b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb"
@@ -31,9 +31,9 @@ inherit kernel
require recipes-kernel/linux/linux-yocto.inc
{{ if kernel_choice == "custom" and custom_kernel_remote == "y": }}
-SRC_URI = "{{=custom_kernel_remote_path}};protocol=git;bareclone=1"
+SRC_URI = "{{=custom_kernel_remote_path}};protocol=git;bareclone=1;branch=${KBRANCH}"
{{ if kernel_choice == "custom" and custom_kernel_remote == "n": }}
-SRC_URI = "git://{{=custom_kernel_local_path}};protocol=file;bareclone=1"
+SRC_URI = "git://{{=custom_kernel_local_path}};protocol=file;bareclone=1;branch=${KBRANCH}"
SRC_URI += "file://defconfig"
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1 v2][dizzy] yocto-bsp fix
[not found] ` <1422968382.18649.4.camel@picadillo>
@ 2015-02-03 16:31 ` akuster808
0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2015-02-03 16:31 UTC (permalink / raw)
To: Tom Zanussi; +Cc: poky
merged into staging.
- armin
On 02/03/2015 04:59 AM, Tom Zanussi wrote:
> ping
>
> On Wed, 2015-01-28 at 09:49 -0600, Tom Zanussi wrote:
>> This patchset contains a fix for Yocto Bug 6518 (yocto-bsp create
>> creates faulty SRC_URI). Please apply to dizzy-next.
>>
>> Changes since v1:
>> * the wrong patch was sent for v1 - v2 adds the right one.
>>
>> The following changes since commit 9fc095a439c36014c73b3a8f240afba09fe0e4d7:
>>
>> image.bbclass: avoid boot error on read-only systemd image (2015-01-15 16:01:47 +0000)
>>
>> are available in the git repository at:
>>
>> git://git.yoctoproject.org/poky-contrib.git tzanussi/custom-kbranch-dizzy-v2
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/custom-kbranch-dizzy-v2
>>
>> Tom Zanussi (1):
>> yocto-bsp: Add branch to SRC_URI for custom kernels
>>
>> .../{{ if kernel_choice == \"custom\": }} linux-yocto-custom.bb" | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> --
>> 1.9.3
>>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-03 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 15:49 [PATCH 0/1 v2][dizzy] yocto-bsp fix Tom Zanussi
2015-01-28 15:49 ` [PATCH 1/1 v2] yocto-bsp: Add branch to SRC_URI for custom kernels Tom Zanussi
[not found] ` <1422968382.18649.4.camel@picadillo>
2015-02-03 16:31 ` [PATCH 0/1 v2][dizzy] yocto-bsp fix akuster808
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.