[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] bootp --with-configfile
From: |
Thierry Laronde |
Subject: |
[PATCH] bootp --with-configfile |
Date: |
Tue, 6 Mar 2001 15:53:15 +0100 |
User-agent: |
Mutt/1.2.5i |
Hello,
As suggested by Okuji, I have added the option `--with-configfile' to
`bootp' allowing the automatic loading of the configuration file as given by
the BOOTP/DHCP server. Okuji was right : it is more clean, and, BTW, quite
simple.
Please note that there is no straightforward way to avoid endless loops
(firt menu.lst with `bootp --with-configfile' calling another file with this
very same command etc...), because the filename must be combined to the
`root' partition in order to be uniquely defined (you can call first say
(hd0,0)/grub/menu.lst and give "/grub/menu.lst/" as the second filename,
which can be another file if root is not (hd0,0)).
Here is the proposed ChangeLog entry :
* stage2/builtins.c (bootp_func): added option `--with-configfile'
instructing GRUB to load the config file given by the BOOTP/DHCP
server via the tag 150;
added prototype for configfile_func
* docs/grub.texi (netboot): added explanations about this
Regards,
--
Thierry LARONDE, Centre de Ressources Informatiques, Archamps - France
http://www.cri74.org
PingOO, serveur de com sur distribution GNU/Linux: http://www.pingoo.org
grub.diff
Description: Text document
- [PATCH] bootp --with-configfile,
Thierry Laronde <=