summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2010-06-20 13:18:45 (GMT)
committer Jaromil <jaromil@dyne.org>2010-06-20 13:18:45 (GMT)
commitb79d3d3a683debb75c36bf7bc3f18f47918adca4 (patch)
tree0555fa6f4624addc5165e05d15e5e38b26b06195
parent63997661bc6cd10525a4a6d3a865db67db3bbda9 (diff)
fixes after testing modifications in mkkern
-rwxr-xr-xdyneII/devel/dynesdk10
1 files changed, 3 insertions, 7 deletions
diff --git a/dyneII/devel/dynesdk b/dyneII/devel/dynesdk
index d56b4c9..fbced8b 100755
--- a/dyneII/devel/dynesdk
+++ b/dyneII/devel/dynesdk
@@ -837,10 +837,10 @@ mkkern() {
# retrieve the version of the kernel source we are in
# it is stored in the Makefile..
- KRN=`cat Makefile | awk'
+ KRN=`cat Makefile | awk '
BEGIN { krn="" }
- /^VERSION/ { krn = krn $3 }
- /^PATCHLEVEL/ { krn = krn $3 }
+ /^VERSION/ { krn = krn $3 "." }
+ /^PATCHLEVEL/ { krn = krn $3 "."}
/^SUBLEVEL/ { krn = krn $3 }
/^EXTRAVERSION/ { krn = krn $3 }
END { print krn }'`-dyne
@@ -853,7 +853,6 @@ mkkern() {
act "due to isolinux restrictions on filesystems (8.3 names)"
act "your kernel filename is: $krnfile"
- if ! [ -r ${PFX}/cdrom/dyne/${krnfile} ]; then
act "searching for kernel image bytecode in current kernel tree: ./arch/`uname -i`/boot/bzImage"
@@ -889,9 +888,6 @@ mkkern() {
fi
- else
- act "kernel $krnfile is already present in ${PFX}/cdrom/dyne/"
- fi
if ! [ -r ${PFX}/cdrom/dyne/${krnfile} ]; then
error "compile your kernel sources in $PFX/kernel"