Hi.
I was building a woof-CE Puppy by the use of a preferred kernel.
For this I needed to copy the kernel into directory huge_kernel
inside of the woof-out* directory. Two times the built was interrupted
as I forgot to copy the kernel first.
So I modified the script merge2out and added a few lines of code at the
end of the script above the last commented line.
Code: Select all
### END ###
If there is a directory 00-Kernel where woof-CE is stored and if there
is a kernel stored inside it will be copied automatically into the directory huge_kernel.
Code: Select all
# Copying local Kernel - RSH 2024-06-24
if [ -d ../00-Kernel ]; then
echo "Found"
file="`dir ../00-Kernel`"
echo "$file"
cp -af ../00-Kernel/"$file" ${WOOF_OUT}/huge_kernel/"$file"
else
echo "Not Found"
fi
### END ###