summaryrefslogtreecommitdiffstats
path: root/src/util/genliso
diff options
context:
space:
mode:
authorMarty Connor2007-07-06 14:04:06 +0200
committerMarty Connor2007-07-06 14:04:06 +0200
commit28d8d828b3c36ab05534951694c7e7999eae77cf (patch)
tree1cc521e58cd77f8ff4a7e7508648f07bec9d7820 /src/util/genliso
parentRemap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user is (diff)
downloadipxe-28d8d828b3c36ab05534951694c7e7999eae77cf.tar.gz
ipxe-28d8d828b3c36ab05534951694c7e7999eae77cf.tar.xz
ipxe-28d8d828b3c36ab05534951694c7e7999eae77cf.zip
Rename .lilo extension to .lkrn and updated dependencies
Diffstat (limited to 'src/util/genliso')
-rwxr-xr-xsrc/util/genliso12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/genliso b/src/util/genliso
index b8d9a11df..0a67eb3cc 100755
--- a/src/util/genliso
+++ b/src/util/genliso
@@ -2,9 +2,9 @@
#
# Generate a legacy floppy emulation ISO boot image
#
-# genliso foo.liso foo.zlilo
+# genliso foo.liso foo.lkrn
#
-# the ISO image is the first argument so that a list of .zlilo images
+# the ISO image is the first argument so that a list of .lkrn images
# to include can be specified
#
case $0 in
@@ -16,12 +16,12 @@ case $0 in
esac
case $# in
0|1)
- echo Usage: $0 foo.liso foo.zlilo ...
+ echo Usage: $0 foo.liso foo.lkrn ...
exit 1
;;
esac
case "`mtools -V`" in
-Mtools\ version\ 3.9.9*|Mtools\ version\ 4.*)
+Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|Mtools\ version\ 4.*)
;;
*)
echo Mtools version 3.9.9 or later is required
@@ -57,9 +57,9 @@ do
fi
# shorten name for 8.3 filesystem
b=$(basename $f)
- g=${b%.zlilo}
+ g=${b%.lkrn}
g=${g//[^a-z0-9]}
- g=${g:0:8}.zli
+ g=${g:0:8}.krn
case "$first" in
"")
echo DEFAULT $g