|
|
|
@ -10,7 +10,7 @@ LONGOPTS="help,no-install,kerneldir:,kernel-config:,make-tarball:,kernel-name:,k
|
|
|
|
|
|
|
|
|
|
print_help() {
|
|
|
|
|
cat <<'EOF'
|
|
|
|
|
Usage: cl-kernel [options] [-c FILE|-o] [DESTINATION]
|
|
|
|
|
Usage: cl-kernel [options] [-c FILE|-o] [destination]
|
|
|
|
|
|
|
|
|
|
Make kernel.
|
|
|
|
|
|
|
|
|
@ -283,7 +283,7 @@ mkdir -p ${DESTINATION}
|
|
|
|
|
# tarball should be created in empty directory
|
|
|
|
|
if [[ -n ${KERNEL_TARBALL} ]] && [[ $(ls $DESTINATION | wc -l ) -gt 2 ]];
|
|
|
|
|
then
|
|
|
|
|
die "tarball should be created in empty directory"
|
|
|
|
|
die "tarball should be created in empty directory, need specify destination"
|
|
|
|
|
fi
|
|
|
|
|
BOOT_DIR=${DESTINATION%/}/boot
|
|
|
|
|
|
|
|
|
|