From a3a6e818c93e7b24be1756c827396240f283f44a Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Tue, 1 Jun 2021 07:01:02 +0300 Subject: [PATCH] Improve example command --- kernel.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index d884ea4..672ae84 100644 --- a/kernel.spec +++ b/kernel.spec @@ -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}