livecd-iso-to-disk label patch

Helio Chissini de Castro helio at kde.org
Tue Sep 17 14:12:10 UTC 2013


Here's a small patch to handle a feature introduced on anaconda.

Anaconda options inst.ks allows to create a inst.ks:LABEL=<SOME> to pass
custom kickstart files, and more specific, if you want create an grub menu
with multiple kickstarts, it allows you to do
inst.ks:LABEL=<SOME>:/custom.cfg

This patch allows to override the fixed LIVE label if you want some custom
name. It fix the regexp that befores glob the entire line after LABEL=, and
then overriding all  entries that comes after :
ex.:
Original isolinux.cfg   inst.ks:LABEL=SOME:/media/myks.cfg
With current tool after subst:      inst.ks:LABEL=LIVE
After the patch
 inst.ks:LABEL=<SOME>:/media/myks.cfg

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130917/2fe0f3e0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: livecd-iso-to-disk-label.patch
Type: application/octet-stream
Size: 3656 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130917/2fe0f3e0/attachment.obj>


More information about the anaconda-patches mailing list