Improve example command

This commit is contained in:
Mikhail Novosyolov 2021-06-01 07:01:02 +03:00
parent 34bb7b5651
commit a3a6e818c9

View file

@ -998,7 +998,8 @@ cfg_file=arch/%{arch_type}/configs/%{arch_suffix}_defconfig-%{flavour}
make ARCH=%{arch_type} oldconfig
# When it is needed to edit kernel configs, run:
# rpmbuild --rebuild --with=fail kernel*.src.rpm
# abf fetch
# rpmbuild --define "_sourcedir $PWD" --with=fail -bb kernel.spec
# and then work with the config in the buildroot with applied patches etc.
%{?_with_fail:exit 1}
mv .config ${cfg_file}