Page 1 of 1

How to build a Puppy with woof2

Posted: Sat 27 Oct 2012, 03:32
by oldyeller
Hello Everyone,

I am putting together this tutorial on woof2. I would also suggest that you use the puppy for which you want to build with woof2.

I strongly suggest that if you have never used woof2 or woof before to build the original puppy first to get a feel on what everything does.

This does require firefox webbrowser.

1) first go here http://bkhome.org/fossil/woof2.cgi/wiki ... +with+Woof and read about getting started with woof2.

2) After you have created your folder and before you did merge2out this is what you should have. Make sure to read all the readme files before you start anything. #2png

Posted: Sat 27 Oct 2012, 03:37
by oldyeller
The next 7 pictures shows what you can choose for creating your Puppy, whether it be arm or x86.

It will also ask about what linux distro you want to build from.

Posted: Sat 27 Oct 2012, 03:48
by oldyeller
Now we will take a look at the gui and the tabs that are there and what they are for. I will try and give ideas on what you can do to change things once you get comfortable with woof2.

Before we look at the gui let us look at the folders and files that will be there. Again you want to go into all the folders and read any of the Readme files first before you do anything. They will give you information that will help with your build.

In can go into the folder rootfs-skeleton and add or even remove some things that you don't want in your build that is in by default. ONLY do this if you know what you are doing.

If you want to make a splash-screen image than go to the boot folder and find boot-dialog and there you will get the information to do so.

Posted: Sat 27 Oct 2012, 04:01
by oldyeller
Now we will take a look at the gui. Here we will take a look at the first four tabes. These pictures are self explaining.

1) The Specification tab here you can name what your puppy will be called and the number of your build. Also you can choose your kernel as well.

2) The Pet Repos tab you don't have to update this when you first download woof2 for it will already be up to date.

3) The Compact Repo tab the same applies here as well.

4) The Download dbs tab here you will need to update the compact distro database and only these get updated.

Posted: Sat 27 Oct 2012, 04:10
by oldyeller
Now on to the next three tabs

1) Choose pkgs tab this one I don't touch the reason is this unless you know what pkgs need to be in puppy, when you add pkgs that will be the only ones that will be in the build.

I will get into how to add pkgs after we go through the gui.

2) Download pkgs tab here there really is nothing that needs to be said, except that if a pkge doesn't get downloaded you will have to get it from the web. Either form ibiblio or archive site of the compact distro that you are using for your build.

3) Build pkgs tab here it takes all the pkgs and unpacks them and makes them ready for the build.

Posted: Sat 27 Oct 2012, 04:15
by oldyeller
Are last two tabs.

1) The kernel tab here to you can choose the kernel and what module option you want.

2) The Build tab. it says it all; this will build your puppy. It will take you through a series of questions throughout the build process that you will need to answer.

I will post these if they are really needed.

Posted: Sat 27 Oct 2012, 04:31
by oldyeller
So how does one add different pkgs to the build that are not a part of the puppy that they want.

1) in the puppy pkgs is where you can add the pet that you want to add. I would already have it downloaded and put in the packages-name of puppy folder. You can get the specs on the pet when you unpack it.

You can unpack by renaming it as a tar.gz file, inside will be the pet specifications that you will need to put in the puppy-pkgs-spec. You do this so that when woof checks for packages to be used it will find what you just added.

But wait you will need to add to the Distro-packages as well.

2) Distro-packages this is where you will say yes for the package you want to add, you can just add the name in. This is also where you can say no to the pkgs you don't want in as well. I would remove the folders as well if they where downloaded before.

Posted: Sat 27 Oct 2012, 11:17
by chrome307
Excellent work .... thank you for submitting this :)

Maybe someone could offer to make it into a PDF with the inclusion of the screenshots??

Posted: Sat 27 Oct 2012, 13:01
by oldyeller
chrome307 wrote:Excellent work .... thank you for submitting this :)

Maybe someone could offer to make it into a PDF with the inclusion of the screenshots??


I can print to pdf from firefox if you like and post it up here as tar.gz file

Posted: Sat 27 Oct 2012, 13:44
by mufeed2012
oldyeller wrote:
chrome307 wrote:Excellent work .... thank you for submitting this :)

Maybe someone could offer to make it into a PDF with the inclusion of the screenshots??


I can print to pdf from firefox if you like and post it up here as tar.gz file
I had already made a PDF File Ready! Here it is!
The Second Image has some kind of problem. It is not Showing Up.

Posted: Sat 27 Oct 2012, 20:57
by tallboy
chrome307 wrote:Excellent work .... thank you for submitting this
Ditto!

This is absolutely a real kickoff that makes me want to play with puppy! Thanks again!

tallboy

Posted: Sat 27 Oct 2012, 21:41
by veronicathecow
Hi oldyeller, many thanks for instructions. I have got to the same place as before (but did some things that I hadn't done the previous time so thanks for that) but I am still getting the same problem as before

I clicked on remove package with the puzzle game highlighted and for about 10 minutes it remained unresponsive but showing high processor usage (3ghz quad core Athlon with 2 Gb RAM so it should fly). It's running on an ext4 not a 2 or 3 so I wonder if that's a problem? Then comes up with choose pet packages,"trouble is there are around 2500 packages and each one i choose is taking upto 10 seconds to move to the right panel and I can only pick one at a time.
Any thoughts appreciated
P.S. I wonder if I can manually edit
/mnt/home/woofproject/woof2/woof-distro/Packages-puppy-noarch-official
and
/mnt/home/woofproject/woof2/woof-distro/x86/ubuntu/Packages-puppy-5-official
and then re-start the gui?

Posted: Sat 27 Oct 2012, 21:52
by oldyeller
veronicathecow wrote:Hi oldyeller, many thanks for instructions. I have got to the same place as before (but did some things that I hadn't done the previous time so thanks for that) but I am still getting the same problem as before

I clicked on remove package with the puzzle game highlighted and for about 10 minutes it remained unresponsive but showing high processor usage (3ghz quad core Athlon with 2 Gb RAM so it should fly). It's running on an ext4 not a 2 or 3 so I wonder if that's a problem? Then comes up with choose pet packages,"trouble is there are around 2500 packages and each one i choose is taking upto 10 seconds to move to the right panel and I can only pick one at a time.
Any thoughts appreciated
I would not do anything in the section of Choose pkgs. Instead download all the pets that come with precise or the puppy you want as a base. When that is done than go and get the pkgs from either ibiblio or from ubuntu. And look at the pictures about adding to the build.

Adding in pkgs through the Choose pkgs section will remove all pkgs from the puppy and only put in what you want so if you don't know all that is needed for puppy you will not be able to build it.

I will be doing a complete pdf of everything in a couple of weeks-need the time as I have other things that I am doing. I will keep up with updating this thread.

Let me know what you decide to do as far as adding the pkgs

Cheers

Posted: Mon 29 Oct 2012, 19:08
by veronicathecow
Hi oldyeller , I am posting from "Tony Precise" iso frugal.
Many thanks. I tried as you said with the defaults to see if I it was all "sane" and apart from the fact that it booted to console and I had to xorgwizrd and startx all seems well so far.
Strangely it booted fine into a virtualbox (apart from the mouse cursor issue which I have not got my head around)
I started running that evening you posted but it was taking so long to download that i left it running over night downloading packages at 50K/s. In the morning it was waiting asking for kernel and then it carried on for a while till the machine crashed big time.
Anyway following day I ran the packages download again and finished that and carried on to produce this iso!
Will have a play with this and then start fiddling with the knobs and levers on the woof program. Thanks again for all your hard work.
Will try the adding to the build bit from your earlier post.

P.S. Tried 2 re-boots now and each time I have to run startx will investigate more
Tony

Posted: Thu 01 Nov 2012, 18:49
by oldyeller
Hello Everyone,

Just a quick reminder about building Precise for you self. There are a lot of bugs being found. So I would suggest to wait until they are fixed in woof or wait for the SP1 that Barry is going to do.

Keep up with news from Barry at his new blog here. And from the new thread here http://murga-linux.com/puppy/viewtopic.php?t=82092

Cheers

Posted: Sat 10 Nov 2012, 18:08
by oldyeller
Hello Everyone

I have just did a pdf of this tutorial some of the pictures are on their own page in order for me to do this.

Will be updating the pdf as more things come up.

Get it here