[Bug 1195850] installation hooks are not working
https://bugzilla.suse.com/show_bug.cgi?id=1195850 https://bugzilla.suse.com/show_bug.cgi?id=1195850#c3 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(locilka@suse.com) | --- Comment #3 from Lukas Ocilka <locilka@suse.com> --- The main creator was actually Vladimir in 2013 https://github.com/yast/yast-yast2/pull/148 Honestly, we should rather think about the usage and usefulness rather than going back in time. - First of all, as Giacomo says, he has tried this to solve bug #1195118, but that did not work anyway, so code change would be needed anyway - Second, a hook-script does not know by itself whether YaST runs chrooted or outside chroot and cannot simply check it, plus it's not documented - We've already discussed that YaST should check both paths inst-sys and chroot - Ideally, script should run from within the environment where it's places unless explicitly defined otherwise (in human speech: if you find me at the balcony, I start at the balcony instead of starting at the Moon which I'm just watching with my telescope) All in all - Script found in inst-sys should be called in inst-sys (to be fixed) - Script found in chroot should be called in chroot (to be implemented) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com