[Bug 720933] New: kiwi: don't use hard coded file/program lists in suseStripInitrd
https://bugzilla.novell.com/show_bug.cgi?id=720933 https://bugzilla.novell.com/show_bug.cgi?id=720933#c0 Summary: kiwi: don't use hard coded file/program lists in suseStripInitrd Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: ASSIGNED Severity: Enhancement Priority: P5 - None Component: System Imaging AssignedTo: ms@suse.com ReportedBy: ms@suse.com QAContact: adrian@suse.com CC: rschweikert@suse.com Found By: --- Blocker: --- It would be good if we can eliminate the hard coded file and program lists from the suseStripInitrd code. if we move that information to the XML or to a module file it will be easier to control the contents of the initrd especially if there is data added by bootincluded archives and/or packages kiwi has a mechanism with basePackBootIncludes / baseUnpackBootIncludes which can preserve the information and restore it later. But that could be done better if we can control the list as part of the perl code -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=720933 https://bugzilla.novell.com/show_bug.cgi?id=720933#c1 --- Comment #1 from Marcus Schaefer <ms@suse.com> 2011-10-06 10:09:39 UTC --- along with this change there is also the request to allow adding of drivers in the boot image <drivers> section controlled from the system image XML in the same way as we do it with the bootinclude="true" attribute on the package sections -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=720933 https://bugzilla.novell.com/show_bug.cgi?id=720933#c2 --- Comment #2 from Marcus Schaefer <ms@suse.com> 2011-10-06 10:10:25 UTC --- this would allow to add kernel modules from the standard kernel more flexible -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=720933 https://bugzilla.novell.com/show_bug.cgi?id=720933#c4 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rschweikert@suse.com Severity|Enhancement |Minor --- Comment #4 from Marcus Schaefer <ms@suse.com> 2011-11-15 11:45:08 UTC --- ok I'm finally done with this one. There are no fixed lists in the strip code now anymore. Beside that it's possible to: * add items to existing drivers sections from within the system image * add strip sections and therefore override the default from within the system image Especially the strip section is new. kiwi provides default sections in modules/KIWIConfig.txt. Basically there are three types of strip sections: 1. type="delete" remove all files listed here 2. type="tools" remove all binaries from bin|sbin /usr/bin|sbin locations except for the ones listed here 3. type="libs" check with ldd and remove all those libraries with no reference except for the ones listed here if no strip sections are provided in the system image xml the default ones are used. That way the user has full control over the contents of the initrd Robert does this meet your needs ? It would be great if you can add some documentation about this change in the kiwi docs. Your writing sounds so much better than mine Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=720933 https://bugzilla.novell.com/show_bug.cgi?id=720933#c5 Marcus Schaefer <ms@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|rschweikert@suse.com | Resolution| |FIXED --- Comment #5 from Marcus Schaefer <ms@suse.com> 2011-11-16 10:06:02 UTC --- also updated the documentation http://isny.homelinux.com/data/kiwi.html#sec.bootcustomization closing now -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com