refined version grabing regexp
This commit is contained in:
parent
3b79c8cd84
commit
8ae46dcd7c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ make $NUMJOBS
|
|||
make modules_install INSTALL_MOD_PATH=$PKG
|
||||
|
||||
KERNEL_TAG=$(grep "CONFIG_LOCALVERSION=" .config | sed 's|CONFIG_LOCALVERSION=||' | tr -d \" )
|
||||
KERNEL_VERSION=$(grep -o "2\.6\.[0-9a-z\-\.]*" .config)$KERNEL_TAG
|
||||
KERNEL_VERSION=$(grep -o "2\.6\..*[0-9]" .config)$KERNEL_TAG
|
||||
|
||||
mkdir -p $PKG/boot/$KERNEL_VERSION
|
||||
cp .config System.map arch/x86/boot/bzImage $PKG/boot/$KERNEL_VERSION
|
||||
|
|
Loading…
Add table
Reference in a new issue