freebsd-ports/net/gpxe/files/patch-util__geniso
Olli Hauer d1681b68ca PR: 14471
Submitted by:  Guerkan Karaman <gk.freebsd _at_ googlemail.com>
Approved by:   glarkin (mentor)

gPXE is an open-source PXE implementation and bootloader.

Create network booting code that allows computers to load
their operating system from a network or to extend an
existing PXE implementation with support for additional
protocols, such iSCSI, HTTP, TFTP, NFS, FTP and ATA
over Ethernet.

WWW: http://etherboot.org/wiki/index.php
2010-08-12 20:20:23 +00:00

17 lines
367 B
Text

--- ./util/geniso.orig 2010-06-29 21:31:33.000000000 +0200
+++ ./util/geniso 2010-08-07 17:45:13.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Generate a isolinux ISO boot image
#
@@ -50,7 +50,7 @@
fi
b=$(basename $f)
g=${b%.lkrn}
- g=${g//[^a-z0-9]}.krn
+ g=$(echo $g | sed -e 's/[^a-z0-9]//g').krn
case "$first" in
"")
echo DEFAULT $g