accidentally got kernel version instead of machine from uname; fixed

This commit is contained in:
Pratham Patel 2023-11-09 21:47:09 +05:30
parent 55549f6891
commit d04d4ddbea
No known key found for this signature in database

View File

@ -574,10 +574,10 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -n -p \
mv COPYING COPYING-%{version}-%{release}
# cp %{_sourcedir}/config-$(uname -r) .config
# cp %{_sourcedir}/config-$(uname -m) .config
# make savedefconfig
# grep -vf %{defconfig} ./defconfig > config-$(uname -r)
cp %{_sourcedir}/config-$(uname -r) %{elconfig}
# grep -vf %{defconfig} ./defconfig > config-$(uname -m)
cp %{_sourcedir}/config-$(uname -m) %{elconfig}
./scripts/kconfig/merge_config.sh %{defconfig} %{elconfig}
# Set the EXTRAVERSION string in the top level Makefile.