Message ID | 20241123082736.26822-1-masahiroy@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | kbuild: deb-pkg: add python3:native to build dependency | expand |
On Sat, Nov 23, 2024 at 05:26:45PM +0900, Masahiro Yamada wrote: > Python3 is necessary for running some scripts such as > drivers/gpu/drm/msm/registers/gen_header.py > > Both scripts/package/kernel.spec and scripts/package/PKGBUILD already > list Python as the build dependency. > > Do likewise for scripts/package/mkdebian. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > scripts/package/mkdebian | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian > index fc3b7fa709fc..4ffcc70f8e31 100755 > --- a/scripts/package/mkdebian > +++ b/scripts/package/mkdebian > @@ -202,7 +202,7 @@ Build-Depends-Arch: bc, bison, cpio, flex, > gcc-${host_gnu} <!pkg.${sourcename}.nokernelheaders>, > kmod, libelf-dev:native, > libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>, > - rsync > + python3:native, rsync > Homepage: https://www.kernel.org/ > > Package: $packagename-$version > -- > 2.43.0 > > Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index fc3b7fa709fc..4ffcc70f8e31 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -202,7 +202,7 @@ Build-Depends-Arch: bc, bison, cpio, flex, gcc-${host_gnu} <!pkg.${sourcename}.nokernelheaders>, kmod, libelf-dev:native, libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>, - rsync + python3:native, rsync Homepage: https://www.kernel.org/ Package: $packagename-$version
Python3 is necessary for running some scripts such as drivers/gpu/drm/msm/registers/gen_header.py Both scripts/package/kernel.spec and scripts/package/PKGBUILD already list Python as the build dependency. Do likewise for scripts/package/mkdebian. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- scripts/package/mkdebian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)