From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/rpm: use external xz library
Date: Sun, 18 Jan 2015 15:59:37 +0100 [thread overview]
Message-ID: <20150118145937.GH4275@free.fr> (raw)
In-Reply-To: <1421580900-15186-2-git-send-email-romain.naour@openwide.fr>
Romain, All,
On 2015-01-18 12:34 +0100, Romain Naour spake thusly:
> Fixes:
> http://autobuild.buildroot.net/results/2c6/2c61562008418ff58fa3085a3342b0e304923073/
Weird, this build error is about being unable to link with libintl.so
(indeed while building the xz backend, but still about libintl).
Igues I could use that autobuild failure to test your patch 1/3,
though...
Otherwise, I have some comments, see below...
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> ---
> package/rpm/Config.in | 1 +
> package/rpm/rpm.mk | 5 ++++-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/rpm/Config.in b/package/rpm/Config.in
> index 5ec4167..fe7a38a 100644
> --- a/package/rpm/Config.in
> +++ b/package/rpm/Config.in
> @@ -31,6 +31,7 @@ config BR2_PACKAGE_RPM_BZIP2_PAYLOADS
> config BR2_PACKAGE_RPM_XZ_PAYLOADS
> bool "support for xz payloads"
> depends on BR2_INSTALL_LIBSTDCPP
> + select BR2_PACKAGE_XZ
I know you are fixing existing code, but we usually do not have such
sub-options, and we instead rely entirely on the dependant package in
the .mk, without adding such sub-options...
> help
> Support for xz payloads in RPM.
>
> diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
> index 74f5b88..ce7189e 100644
> --- a/package/rpm/rpm.mk
> +++ b/package/rpm/rpm.mk
> @@ -45,7 +45,10 @@ RPM_CONF_OPTS += --with-file=no
> endif
>
> ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y)
> -RPM_CONF_OPTS += --with-xz
> +RPM_CONF_OPTS += --with-xz=external
> +RPM_DEPENDENCIES += xz
> +else
> +RPM_CONF_OPTS += --with-xz=none
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> endif
>
> ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y)
> --
> 1.9.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-01-18 14:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-18 11:34 [Buildroot] [PATCH 1/3] package/rpm: add gettext dependency Romain Naour
2015-01-18 11:34 ` [Buildroot] [PATCH 2/3] package/rpm: use external xz library Romain Naour
2015-01-18 14:59 ` Yann E. MORIN [this message]
2015-01-18 18:57 ` Romain Naour
2015-01-18 11:35 ` [Buildroot] [PATCH 3/3] package/rpm: use 'none' for location path Romain Naour
2015-01-18 15:01 ` Yann E. MORIN
2015-01-18 14:21 ` [Buildroot] [PATCH 1/3] package/rpm: add gettext dependency Yann E. MORIN
2015-01-18 18:57 ` Romain Naour
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=20150118145937.GH4275@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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 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.