Questions about using Woof

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
nutts4life
Posts: 263
Joined: Fri 15 Feb 2008, 09:52
Location: UK

Questions about using Woof

#1 Post by nutts4life »

Hey guys,

So, i'm well rehearsed in unleashed as i've created a few puplets in my time... but woof.

Man, i'm not enjoying this. I'm getting there though.

I have lots of questions and i need help!

So i've downloaded woof using bones.

I've modified the DISTRO specs so i can create my own Lucid.

Code: Select all

#One or more words that identify this distribution:
DISTRO_NAME='Lucid'
#A three-digit numeric value, version number of this distribution:
DISTRO_VERSION=202
#A two-digit numeric value, minor-version number of this distribution:
DISTRO_MINOR_VERSION=00
#The distro whose binary packages were used to build this distribution:
DISTRO_BINARY_COMPAT='ubuntu'
#Prefix for some filenames: exs: qrkysave.2fs, qrky-120.sfs
DISTRO_FILE_PREFIX='lupu'
#The version of the distro whose binary packages were used to build this distro:
DISTRO_COMPAT_VERSION='lucid'
#the kernel pet package used:
DISTRO_KERNEL_PET='linux_kernel-2.6.33.2-tickless_smp-2-q1.pet'
So, i've run each for the scripts.
So that's setup, download, createpackages.

And all seems to be fine... although it does take a long time!

Now when i go to build, i get all kinds of kernel errors.
When i look in package-pet, there is no linux_kernel pet in there.

How does this get downloaded?

The actual build completes, but of course there is no vmlinuz.

Also, if i wanted to then add or remove a package from the DISTRO_SPEC-ubuntu-lucid file. Do i need to re-create packages... i.e. do i need to run step 2createpakacges again... then build?

Any help... please!!!

n4l.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#2 Post by playdayz »

Sure, I am doing other stuff right now, I will get back to this later today. it is possible, and the long time is just at the beginning--after that it is quick to make a change and rebuild.

tubby
Posts: 317
Joined: Sat 24 Jan 2009, 15:49

#3 Post by tubby »

The kernel package you are looking for is here,

http://distro.ibiblio.org/pub/linux/dis ... es-quirky/

I am not on the computer that i build on at the moment, but i do not think you can mix quirky and lucid packages without a bit of package download rewriting.

User avatar
nutts4life
Posts: 263
Joined: Fri 15 Feb 2008, 09:52
Location: UK

#4 Post by nutts4life »

thanks tubby,

I've now done a succesful build.
I understand what i need to be doing with DISTRO_SPEC-ubuntu...
as this was similar to unleashed.

But how do I add a package, knowing where it comes from?

In other words, If i want to make sure the package is picked up from the ubuntu sources, NOT the puppy sources... how do i make sure of that?

And vica versa.

I guess i don't understand how it knows where to look for the packages?

Thanks,

n4l.

tubby
Posts: 317
Joined: Sat 24 Jan 2009, 15:49

#5 Post by tubby »

Open the script "2createpackages" as text and you should see how the packages are selected.
If you look at the distro_pkgs_specs for the build you are working on also it might help you.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#6 Post by playdayz »

Hey n4l

yes|petpackage||exe,dev,doc,nls = pet package

yes|debpackage|debpackage1,debpackage2|exe,dev,doc,nls = deb package

User avatar
nutts4life
Posts: 263
Joined: Fri 15 Feb 2008, 09:52
Location: UK

#7 Post by nutts4life »

Ok, i'm kind of getting it now.

But here's two issues:

I've gone into my Disto_spec-ubuntu.... file and added a few libraries... say libavcodec.
I've also decided i want to take firefox from the pet packages... NOT from ubuntu.

So I say yes to a few libraries and modify the firefox line to have an empty second node:
yes|firefox||exe,dev,doc>null,nls>null

All good.

So i run 1downloads and it downloads the new firefox and the libraries.

I run 2createpackages, and create 'firefox'. It then creates the package for BOTH the pet and the .deb firefox.

How do i stop that?

Thanks,

n4l

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#8 Post by playdayz »

yes|firefox||exe,dev,doc>null,nls>null
no|firefox|firefox|exe,dev,doc,nls

the no says not to build the deb package and not to include it in the distro. Is that what you were asking?

Post Reply