[kernel-bugs] [Bug 1179015] [rpm4.16] kernel-source build fails
https://bugzilla.suse.com/show_bug.cgi?id=1179015 https://bugzilla.suse.com/show_bug.cgi?id=1179015#c1 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@suse.com Assignee|kernel-bugs@opensuse.org |msuchanek@suse.com --- Comment #1 from Jiri Slaby <jslaby@suse.com> --- (In reply to Dominique Leuenberger from comment #0)
%build mkdir -p $RPM_BUILD_ROOT/usr/src cd $RPM_BUILD_ROOT/usr/src
# Unpack the vanilla kernel sources tar -xf %{S:0}
It seems we need either to untar in %install or untar somewhere here and 'cp -r' there. Michal, could you take care of that?
%install
This leads to this error in the end: [ 686s] + ln -s /usr/share/doc/packages/kernel-source-5.9.1-7/README.SUSE /home/abuild/rpmbuild/BUILDROOT/kernel-source-5.9.1-7.2.x86_64/usr/src/linux- 5.9.1-7/ [ 686s] ln: failed to create symbolic link '/home/abuild/rpmbuild/BUILDROOT/kernel-source-5.9.1-7.2.x86_64/usr/src/ linux-5.9.1-7/': No such file or directory [ 686s] error: Bad exit status from /var/tmp/rpm-tmp.pP48cR (%install)
-- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com