mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] Kernel: never provide a development prebuild package
@ 2014-01-21 11:59 Juergen Beisert
  2014-01-21 12:00 ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2014-01-21 11:59 UTC (permalink / raw)
  To: ptxdist

Even if the developer enables the usage of prebuild packages, the Linux kernel
should not be part of it. The kernel is a too sensitive part and its build must
always be forced.
    
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
diff --git a/rules/kernel.make b/rules/kernel.make
index 8301b83..f4b3990 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -37,6 +37,7 @@ KERNEL_CONFIG		:= $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/$(PTXCONF_K
 KERNEL_LICENSE		:= GPLv2
 KERNEL_URL		:= $(call kernel-url, KERNEL)
 KERNEL_SOURCE		:= $(SRCDIR)/$(KERNEL).$(KERNEL_SUFFIX)
+KERNEL_DEVPKG		:= NO
 
 # ----------------------------------------------------------------------------
 # Prepare

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] Kernel: never provide a development prebuild package
  2014-01-21 11:59 [ptxdist] [PATCH] Kernel: never provide a development prebuild package Juergen Beisert
@ 2014-01-21 12:00 ` Robert Schwebel
  2014-01-21 13:22   ` Michael Olbrich
  2014-01-21 13:29   ` Juergen Beisert
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Schwebel @ 2014-01-21 12:00 UTC (permalink / raw)
  To: ptxdist

On Tue, Jan 21, 2014 at 12:59:55PM +0100, Juergen Beisert wrote:
> Even if the developer enables the usage of prebuild packages, the Linux kernel
> should not be part of it. The kernel is a too sensitive part and its build must
> always be forced.
>     
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> ---
> diff --git a/rules/kernel.make b/rules/kernel.make
> index 8301b83..f4b3990 100644
> --- a/rules/kernel.make
> +++ b/rules/kernel.make
> @@ -37,6 +37,7 @@ KERNEL_CONFIG		:= $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/$(PTXCONF_K
>  KERNEL_LICENSE		:= GPLv2
>  KERNEL_URL		:= $(call kernel-url, KERNEL)
>  KERNEL_SOURCE		:= $(SRCDIR)/$(KERNEL).$(KERNEL_SUFFIX)
> +KERNEL_DEVPKG		:= NO
>  
>  # ----------------------------------------------------------------------------
>  # Prepare

The idea of the devpkg mechanism is to build everything beforehand. A
standard usecase is that one team prepares a system and another one does
already care about the application. So it would be helpful to have also
the kernel pre-built.

Can you elaborate what kind of issue you have seen?

rsc 
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] Kernel: never provide a development prebuild package
  2014-01-21 12:00 ` Robert Schwebel
@ 2014-01-21 13:22   ` Michael Olbrich
  2014-01-21 13:29   ` Juergen Beisert
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2014-01-21 13:22 UTC (permalink / raw)
  To: ptxdist

On Tue, Jan 21, 2014 at 01:00:44PM +0100, Robert Schwebel wrote:
> On Tue, Jan 21, 2014 at 12:59:55PM +0100, Juergen Beisert wrote:
> > Even if the developer enables the usage of prebuild packages, the Linux kernel
> > should not be part of it. The kernel is a too sensitive part and its build must
> > always be forced.
> >     
> > Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> > ---
> > diff --git a/rules/kernel.make b/rules/kernel.make
> > index 8301b83..f4b3990 100644
> > --- a/rules/kernel.make
> > +++ b/rules/kernel.make
> > @@ -37,6 +37,7 @@ KERNEL_CONFIG		:= $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/$(PTXCONF_K
> >  KERNEL_LICENSE		:= GPLv2
> >  KERNEL_URL		:= $(call kernel-url, KERNEL)
> >  KERNEL_SOURCE		:= $(SRCDIR)/$(KERNEL).$(KERNEL_SUFFIX)
> > +KERNEL_DEVPKG		:= NO
> >  
> >  # ----------------------------------------------------------------------------
> >  # Prepare
> 
> The idea of the devpkg mechanism is to build everything beforehand. A
> standard usecase is that one team prepares a system and another one does
> already care about the application. So it would be helpful to have also
> the kernel pre-built.
> 
> Can you elaborate what kind of issue you have seen?

The is no "make install" that installs everything that may be needed later.
*.dts* files and Headers to create dtbs, the correct kernel image etc.

mol

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] Kernel: never provide a development prebuild package
  2014-01-21 12:00 ` Robert Schwebel
  2014-01-21 13:22   ` Michael Olbrich
@ 2014-01-21 13:29   ` Juergen Beisert
  1 sibling, 0 replies; 4+ messages in thread
From: Juergen Beisert @ 2014-01-21 13:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

On Tuesday 21 January 2014 13:00:44 Robert Schwebel wrote:
> [...]
> The idea of the devpkg mechanism is to build everything beforehand. A
> standard usecase is that one team prepares a system and another one does
> already care about the application. So it would be helpful to have also
> the kernel pre-built.
>
> Can you elaborate what kind of issue you have seen?

The main kernel images (in my case uimage) are not part of the archive and that 
is why the targetinstall stage fails later on.

This patch was generated and sent after talking to Michael.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-21 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-21 11:59 [ptxdist] [PATCH] Kernel: never provide a development prebuild package Juergen Beisert
2014-01-21 12:00 ` Robert Schwebel
2014-01-21 13:22   ` Michael Olbrich
2014-01-21 13:29   ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox