diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2010-08-12 20:20:23 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2010-08-12 20:20:23 +0000 |
commit | d1681b68ca6b933cedd3cbac9760a37e72b0f80c (patch) | |
tree | 3aa3744f8048438ff16ce2aee52d4e9a27d7f277 /net/gpxe/files/patch-util__genliso | |
parent | Revamp this port: (diff) |
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
Notes
Notes:
svn path=/head/; revision=259146
Diffstat (limited to 'net/gpxe/files/patch-util__genliso')
-rw-r--r-- | net/gpxe/files/patch-util__genliso | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/gpxe/files/patch-util__genliso b/net/gpxe/files/patch-util__genliso new file mode 100644 index 000000000000..38f0f99c3f44 --- /dev/null +++ b/net/gpxe/files/patch-util__genliso @@ -0,0 +1,19 @@ +--- ./util/genliso.orig 2010-06-29 21:31:33.000000000 +0200 ++++ ./util/genliso 2010-08-07 17:45:23.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # Generate a legacy floppy emulation ISO boot image + # +@@ -49,8 +49,8 @@ + # shorten name for 8.3 filesystem + b=$(basename $f) + g=${b%.lkrn} +- g=${g//[^a-z0-9]} +- g=${g:0:8}.krn ++ g=$(echo $g | sed -e 's/[^a-z0-9]//g').krn ++ g=$(echo $g | awk '{print substr($0,0,8)}').krn + case "$first" in + "") + echo DEFAULT $g |