[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412922: [PATCH] win32-loader integration



On Wed, Aug 29, 2007 at 04:33:04PM -0400, Joey Hess wrote:
> Robert Millan wrote:
> > +	if [ -n "$(INITRD_GTK)" ]; then \
> > +		echo -en "$(ARCH)/linux=linux\n$(ARCH)/initrd=initrd.gz\n"; \
> > +		echo -en "$(ARCH)/gtk/linux=linux\n$(ARCH)/gtk/initrd=initrdg.gz\n"; \
> 
> > +	if [ -n "$(INITRD_GTK)" ]; then \
> > +		echo -en "$(ARCH)/linux=install/vmlinuz\n$(ARCH)/initrd=install/initrd.gz\n"; \
> > +		echo -en "$(ARCH)/gtk/linux=install/vmlinuz\n$(ARCH)/gtk/initrd=install/gtk/initrd.gz\n"; \
> 
> > +	if [ "$(TYPE)" = "netboot/gtk" ]; then \
> > +		echo -en "user_interface=graphical\n"; \
> 
> Why is this set here, when it's not set in all the other similar
> stanzas?

Currently the win32-loader.ini format is a bit cryptic if you're not familiar
with the source.  I'm not sure a proper spec would be useful, since the
interface can be dynamicaly adjusted as needed (maybe even in a single commit,
since they're in the same repository).  Anyway, the whole thing is currently:

[installer]
user_interface=(graphical|text)
; Optional argument.  Indicates the _only_ interface that this media provides.
; If ommitted, it means both are available.
arch=(i386|amd64)
; Optional argument.  Again, indicates the only architecture provided by this
; media.  If ommitted, it means both are provided (Multi-arch).
misc entries for different combinations of linux/initrd, text/gtk, i386/amd64

[live]
; optional section, same format as [installer].  this would allow mixed
; installer/live CDs to exist in the future

[grub]
; where grub images are in the CD

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



Reply to: