"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/fog/bootmenu.class.php" between
fogproject-1.5.5.tar.gz and fogproject-1.5.6.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

bootmenu.class.php  (fogproject-1.5.5):bootmenu.class.php  (fogproject-1.5.6)
skipping to change at line 133 skipping to change at line 133
* @return void * @return void
*/ */
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();
$grubChain = 'chain -ar ${boot-url}/service/ipxe/grub.exe ' $grubChain = 'chain -ar ${boot-url}/service/ipxe/grub.exe '
. '--config-file="%s"'; . '--config-file="%s"';
$sanboot = 'sanboot --no-describe --drive 0x80'; $sanboot = 'sanboot --no-describe --drive 0x80';
$refind = sprintf( $refind = sprintf(
'imgfetch ${boot-url}/service/ipxe/refind.conf%s' 'imgfetch ${boot-url}/service/ipxe/refind.conf%s'
. 'chain -ar ${boot-url}/service/ipxe/refind.efi', . 'chain -ar ${boot-url}/service/ipxe/refind_x64.efi',
"\n" "\n"
); );
if (stripos($_REQUEST['arch'], 'arm') !== false) { if (stripos($_REQUEST['arch'], 'i386') !== false) {
//user arm boot loaders instead //user i386 boot loaders instead
$grubChain = 'chain -ar ${boot-url}/service/ipxe/grub_aa64.exe '
. '--config-file="%s"';
$refind = sprintf( $refind = sprintf(
'imgfetch ${boot-url}/service/ipxe/refind_aa64.conf%s' 'imgfetch ${boot-url}/service/ipxe/refind.conf%s'
. 'chain -ar ${boot-url}/service/ipxe/refind_aa64.efi', . 'chain -ar ${boot-url}/service/ipxe/refind_ia32.efi',
"\n" "\n"
); );
} }
$grub = array( $grub = array(
'basic' => sprintf( 'basic' => sprintf(
$grubChain, $grubChain,
'rootnoverify (hd0);chainloader +1' 'rootnoverify (hd0);chainloader +1'
), ),
'1cd' => sprintf( '1cd' => sprintf(
 End of changes. 3 change blocks. 
7 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)