Page 1 of 1

Woof-CE merge2out addition

Posted: Mon Jun 24, 2024 7:54 am
by RSH

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 ###

Re: Woof-CE merge2out addition

Posted: Thu Jun 27, 2024 5:32 am
by stemsee

what if you have a small collection of kernels in there?


Re: Woof-CE merge2out addition

Posted: Thu Jun 27, 2024 2:43 pm
by mikeslr
stemsee wrote: Thu Jun 27, 2024 5:32 am

what if you have a small collection of kernels in there?

Well, (a) you could spend a couple days creating and testing code so that when run a choice will be offered or (b) since you know which kernel you want to use, don't place any other kernel in 00-Kernel.

AFAICT, much of the complexity of woof is knowing what you want it to do in the first place. Why add to that?