public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] Drop deps checking
@ 2018-08-15  7:45 Alexander Smirnov
  2018-08-15  7:45 ` [PATCH 1/1] buildhcroot/build.sh: Disable " Alexander Smirnov
  2018-08-15  7:55 ` [PATCH 0/1] Drop " Jan Kiszka
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Smirnov @ 2018-08-15  7:45 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Hi all,

this patch was a part of cross-compilation series. Initially it was proposed
to use '--no-check-builddeps' parameter, but seems dpkg-buildpackage from Jessie
doesn't support it. I've found, that '-d' means the same and it's supported in
all the suites.

Sorry for the delay, testing all the configurations took much time.

Alexander Smirnov (1):
  buildhcroot/build.sh: Disable deps checking

 meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0


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

* [PATCH 1/1] buildhcroot/build.sh: Disable deps checking
  2018-08-15  7:45 [PATCH 0/1] Drop deps checking Alexander Smirnov
@ 2018-08-15  7:45 ` Alexander Smirnov
  2018-08-15  7:58   ` Jan Kiszka
  2018-08-15  7:55 ` [PATCH 0/1] Drop " Jan Kiszka
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Smirnov @ 2018-08-15  7:45 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov, Jan Kiszka

This change is needed in order to avoid failures of dpkg-buildpackage
when a package provides python-pip:native or python-mako:native as
build-depends. ":native" would make the builddeps check fail while that
is needed to install (via mk-build-deps) the host-side version of
these packages in a cross-build case.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
index c2967d2..e2dabab 100644
--- a/meta/recipes-devtools/buildchroot/files/build.sh
+++ b/meta/recipes-devtools/buildchroot/files/build.sh
@@ -61,4 +61,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do
 done
 
 # Build the package
-dpkg-buildpackage -a$target_arch
+dpkg-buildpackage -a$target_arch -d
-- 
2.11.0


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

* Re: [PATCH 0/1] Drop deps checking
  2018-08-15  7:45 [PATCH 0/1] Drop deps checking Alexander Smirnov
  2018-08-15  7:45 ` [PATCH 1/1] buildhcroot/build.sh: Disable " Alexander Smirnov
@ 2018-08-15  7:55 ` Jan Kiszka
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2018-08-15  7:55 UTC (permalink / raw)
  To: Alexander Smirnov, isar-users

On 2018-08-15 09:45, Alexander Smirnov wrote:
> Hi all,
> 
> this patch was a part of cross-compilation series. Initially it was proposed
> to use '--no-check-builddeps' parameter, but seems dpkg-buildpackage from Jessie
> doesn't support it. I've found, that '-d' means the same and it's supported in
> all the suites.

This comment should go into the commit, not the cover letter. I was just 
about to ask for using the explicit and self-describing (thus usually 
preferred) switch when I read this here.

Jan

> 
> Sorry for the delay, testing all the configurations took much time.
> 
> Alexander Smirnov (1):
>    buildhcroot/build.sh: Disable deps checking
> 
>   meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

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

* Re: [PATCH 1/1] buildhcroot/build.sh: Disable deps checking
  2018-08-15  7:45 ` [PATCH 1/1] buildhcroot/build.sh: Disable " Alexander Smirnov
@ 2018-08-15  7:58   ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2018-08-15  7:58 UTC (permalink / raw)
  To: Alexander Smirnov, isar-users

On 2018-08-15 09:45, Alexander Smirnov wrote:
> This change is needed in order to avoid failures of dpkg-buildpackage
> when a package provides python-pip:native or python-mako:native as
> build-depends. ":native" would make the builddeps check fail while that
> is needed to install (via mk-build-deps) the host-side version of
> these packages in a cross-build case.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

As this is now "your" patch (according to the authorship), my signed-off 
would come at most after yours. But you probably better add my acked-by 
here.

Thanks,
Jan

> Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
> ---
>   meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
> index c2967d2..e2dabab 100644
> --- a/meta/recipes-devtools/buildchroot/files/build.sh
> +++ b/meta/recipes-devtools/buildchroot/files/build.sh
> @@ -61,4 +61,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do
>   done
>   
>   # Build the package
> -dpkg-buildpackage -a$target_arch
> +dpkg-buildpackage -a$target_arch -d
> 


-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

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

end of thread, other threads:[~2018-08-15  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15  7:45 [PATCH 0/1] Drop deps checking Alexander Smirnov
2018-08-15  7:45 ` [PATCH 1/1] buildhcroot/build.sh: Disable " Alexander Smirnov
2018-08-15  7:58   ` Jan Kiszka
2018-08-15  7:55 ` [PATCH 0/1] Drop " Jan Kiszka

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