Jiri Slaby changed bug 1179015
What Removed Added
CC   jslaby@suse.com
Assignee kernel-bugs@opensuse.org msuchanek@suse.com

Comment # 1 on bug 1179015 from
(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: