@ -9,7 +9,7 @@ gen_minkernpackage()
then
/bin/tar -xj -C ${ TEMP } /minkernpackage -f ${ CMD_KERNCACHE } kernel-${ ARCH } -${ KV }
/bin/tar -xj -C ${ TEMP } /minkernpackage -f ${ CMD_KERNCACHE } config-${ ARCH } -${ KV }
if [ " ${ KERNEL_BINARY_2 } " != '' -a " ${ GENERATE_Z_IMAGE } " = '1 ' ]
if [ " ${ ENABLE_PEGASOS_HACKS } " = 'yes ' ]
then
/bin/tar -xj -C ${ TEMP } /minkernpackage -f ${ CMD_KERNCACHE } kernelz-${ ARCH } -${ KV }
fi
@ -17,14 +17,13 @@ gen_minkernpackage()
cd " ${ KERNEL_DIR } "
cp " ${ KERNEL_BINARY } " " ${ TEMP } /minkernpackage/kernel- ${ KV } " || gen_die 'Could not the copy kernel for the min kernel package!'
cp ".config" " ${ TEMP } /minkernpackage/config- ${ ARCH } - ${ KV } " || gen_die 'Could not the copy kernel config for the min kernel package!'
if [ " ${ KERNEL_BINARY_2 } " != '' -a " ${ GENERATE_Z_IMAGE } " = '1 ' ]
if [ " ${ ENABLE_PEGASOS_HACKS } " = 'yes ' ]
then
cp " ${ KERNEL_BINARY_2 } " " ${ TEMP } /minkernpackage/kernelz- ${ KV } " || gen_die "Could not copy the kernelz for the min kernel package"
fi
fi
if [ " ${ GENERATE_Z_IMAGE} " != '1 ' ]
if [ " ${ ENABLE_PEGASOS_HACKS} " != 'yes ' ]
then
if [ " ${ KERN_24 } " != '1' ]
then
@ -71,7 +70,7 @@ gen_kerncache()
cp " ${ KERNEL_BINARY } " " ${ TEMP } /kerncache/kernel- ${ ARCH } - ${ KV } " || gen_die 'Could not the copy kernel for the kernel package!'
cp " ${ KERNEL_DIR } /.config " " ${ TEMP } /kerncache/config- ${ ARCH } - ${ KV } "
cp " ${ KERNEL_DIR } /System.map " " ${ TEMP } /kerncache/System.map- ${ ARCH } - ${ KV } "
if [ " ${ KERNEL_BINARY_2} " != '' -a " ${ GENERATE_Z_IMAGE } " = '1 ' ]
if [ " ${ ENABLE_PEGASOS_HACKS} " = 'yes ' ]
then
cp " ${ KERNEL_BINARY_2 } " " ${ TEMP } /kerncache/kernelz- ${ ARCH } - ${ KV } " || gen_die "Could not copy the kernelz for the kernel package"
fi
@ -100,7 +99,7 @@ gen_kerncache_extract_kernel()
" ${ TEMP } /kernel- ${ ARCH } - ${ KV } " \
" kernel- ${ KNAME } - ${ ARCH } - ${ KV } "
if [ " ${ KERNEL_BINARY_2} " != '' -a " ${ GENERATE_Z_IMAGE } " = '1' ]
if [ " ${ ENABLE_PEGASOS_HACKS} " = 'yes' ]
then
copy_image_with_preserve "kernelz" \
" ${ TEMP } /kernelz- ${ ARCH } - ${ KV } " \