From 2b92257eb8d83091d1045af732ccdce83e18873a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 Jun 2012 12:11:11 +0200 Subject: [PATCH] vmklive: add -h, required a working syslinux version. --- srcpkgs/vmklive/files/mklive.sh.in | 3 ++- srcpkgs/vmklive/template | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/vmklive/files/mklive.sh.in b/srcpkgs/vmklive/files/mklive.sh.in index 965881dd280..893cc7d4590 100644 --- a/srcpkgs/vmklive/files/mklive.sh.in +++ b/srcpkgs/vmklive/files/mklive.sh.in @@ -173,7 +173,7 @@ _EOF # # main() # -while getopts "C:c:k:o:r:s:v:" opt; do +while getopts "C:c:k:o:r:s:v:h" opt; do case $opt in C) CONFIG_FILE="$OPTARG";; c) COMPRESSTYPE="$OPTARG";; @@ -182,6 +182,7 @@ while getopts "C:c:k:o:r:s:v:" opt; do r) ROOTDIR="$OPTARG";; s) SPLASH_IMAGE="$OPTARG";; v) ISO_VOLUME="$OPTARG";; + h) usage;; esac done shift $(($OPTIND - 1)) diff --git a/srcpkgs/vmklive/template b/srcpkgs/vmklive/template index 65aeae815fb..205e50dd532 100644 --- a/srcpkgs/vmklive/template +++ b/srcpkgs/vmklive/template @@ -1,11 +1,11 @@ # Template file for 'vmklive' pkgname=vmklive -version=0.9.3 -replaces="xbps-mklive>=0 vanilla-mklive>=0" +version=0.9.4 +revision=1 noextract=yes noarch=yes -fulldepends="dracut>=018_2 cdrtools squashfs-tools syslinux" -revision=1 +replaces="xbps-mklive>=0 vanilla-mklive>=0" +fulldepends="dracut>=018_2 cdrtools squashfs-tools syslinux>=4.05_2" short_desc="Void Linux live image maker" maintainer="Juan RP " license="Public domain"