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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 2 Oct 2023 16:15:51 -0700
From:   Nathan Chancellor <nathan@...nel.org>
To:     Masahiro Yamada <masahiroy@...nel.org>
Cc:     linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH] kbuild: make binrpm-pkg always produce kernel-devel
 package

On Sun, Oct 01, 2023 at 09:38:22PM +0900, Masahiro Yamada wrote:
> The generation of the kernel-devel package is disabled for binrpm-pkg
> presumably because it was quite big (>= 200MB) and took a long time to
> package.
> 
> Commit fe66b5d2ae72 ("kbuild: refactor kernel-devel RPM package and
> linux-headers Deb package") reduced the package size to 12MB, and now
> it is quick to build. It won't hurt to have binrpm-pkg generate it by
> default.
> 
> If you want to skip the kernel-devel package generation, you can pass
> RPMOPTS='--without devel':
> 
>   $ make binrpm-pkg RPMOPTS='--without devel'
> 
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>

Reviewed-by: Nathan Chancellor <nathan@...nel.org>
Tested-by: Nathan Chancellor <nathan@...nel.org>

> ---
> 
>  scripts/Makefile.package | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/scripts/Makefile.package b/scripts/Makefile.package
> index 05b8c3e29aac..3addd1c0b989 100644
> --- a/scripts/Makefile.package
> +++ b/scripts/Makefile.package
> @@ -94,8 +94,6 @@ rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec
>  	$(if $(filter a b, $(build-type)), \
>  		--target $(UTS_MACHINE)-linux --build-in-place --noprep --define='_smp_mflags %{nil}' \
>  		$$(rpm -q rpm >/dev/null 2>&1 || echo --nodeps)) \
> -	$(if $(filter b, $(build-type)), \
> -		--without devel) \
>  	$(RPMOPTS))
>  
>  # deb-pkg srcdeb-pkg bindeb-pkg
> -- 
> 2.39.2
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ