Bug 1108422 - Provide a way for yast build tools to install dead symlinks
Provide a way for yast build tools to install dead symlinks
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/PIlB7zXr/2573-tw...
:
Depends on:
Blocks: 971671
  Show dependency treegraph
 
Reported: 2018-09-14 08:40 UTC by Sasi Olin
Modified: 2022-09-19 14:40 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasi Olin 2018-09-14 08:40:42 UTC
As an example: https://github.com/noahadvs/yast-theme/tree/master/icons/breeze/apps would provide a set of dead symlinks, to be attached to breeze icon theme during installation (as a necessary dependency). Currently, build tools don't seem to provide that functionality.
Comment 1 Josef Reidinger 2018-09-14 09:27:47 UTC
Well, I suggest to create that links during install phase otherwise I worry even build system will complain that it does not exists. Will it work for you?
Comment 2 Sasi Olin 2018-09-14 12:55:50 UTC
RPM is able to have dead symlinks in it, OBS will manage it :D
Comment 3 Arvin Schnell 2018-09-14 13:47:54 UTC
So there is no problem after all?
Comment 4 Sasi Olin 2018-09-14 14:17:07 UTC
Issue is with YaST build tools not supporting that scenario, and it's an issue as yast-theme repo uses those tools to build before packaging, not with RPM not being able to hold that afterwards.
Comment 5 Stefan Schubert 2018-09-17 08:01:10 UTC
(In reply to Stasiek Michalski from comment #4)
> Issue is with YaST build tools not supporting that scenario, and it's an
> issue as yast-theme repo uses those tools to build before packaging, not
> with RPM not being able to hold that afterwards.

I must admit we still do not get it. What do you mean with "YaST build tools" ? Could you please give us an example call ?
Comment 6 Stefan Schubert 2018-09-17 08:01:40 UTC
.
Comment 7 Sasi Olin 2018-09-20 22:13:06 UTC
The current method of installing icons: https://github.com/yast/yast-theme/blob/master/icons/hicolor/64x64/apps/Makefile.am
won't work with symlinks.

Build tools refer to the module that creates makefiles that are used for further installation: https://github.com/yast/yast-devtools
Comment 8 Stefan Schubert 2018-09-21 07:28:07 UTC
Thanks. Now it is much more clear :-)
Tacked in our Trello board.
Comment 9 Sasi Olin 2018-11-30 18:04:15 UTC
Replaced Makefile with Rakefile method.
Comment 10 Stefan Hundhammer 2019-05-08 09:46:05 UTC
See also bug #1133415c#6 and 7.