lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B66CE72.1020003@suse.cz>
Date:	Mon, 01 Feb 2010 13:52:02 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	John Saalwaechter <saalwaechter@...il.com>
Cc:	lkml <linux-kernel@...r.kernel.org>, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] scripts: use %_tmppath in "make rpm-pkg"

On 1.2.2010 01:18, John Saalwaechter wrote:
> The mkspec script hardcodes "/var/tmp" into the generated rpm spec file's
> BuildRoot. The user, however, may have a custom setting for %_tmppath,
> which should be used in BuildRoot.  This patch changes mkspec's
> BuildRoot output to appropriately use %_tmppath.

Thanks, applied. Please CC linux-kbuild@ on changes like this.

Michal


> Signed-off-by: John Saalwaechter <saalwaechter@...il.com>
> ---
> diff -uprN a/scripts/package/mkspec b/scripts/package/mkspec
> --- a/scripts/package/mkspec    2010-01-28 15:06:20.000000000 -0800
> +++ b/scripts/package/mkspec    2010-01-31 15:46:23.815300460 -0800
> @@ -39,7 +39,7 @@ if ! $PREBUILT; then
>  echo "Source: kernel-$__KERNELRELEASE.tar.gz"
>  fi
> 
> -echo "BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root"
> +echo "BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root"
>  echo "Provides: $PROVIDES"
>  echo "%define __spec_install_post /usr/lib/rpm/brp-compress || :"
>  echo "%define debug_package %{nil}"

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ