| Author |
Message |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6874 Location: Perth, Western Australia
|
Posted: Fri 29 Aug 2008, 22:19 Post subject:
t2-to-puppy support scripts Subject description: For those who are into using T2 |
|
Kirk has recently been playing with T2, Ted Dog a earlier on. A couple of other guys also have had a go.
T2 creates a heap of raw binary packages, we then have the chore of converting those into Puppy packages and to build the 'devx' file.
I wrote some scripts to help with this, and have now collected them and included a README, attached. Also the README is reproduced here:
---------------------
These scripts with '0' to '3' prefix, I wrote back when I compiled T2 and
created the first build that was to become Puppy 4.00.
It has been awhile since I have looked at these scripts, and they will
definitely need improving/updating.
For a start, you will have to change the paths to suit your setup.
I now favour a different way of creating the 'puppy-devx' folder:
I think it is better for the scripts to create all the split packages
in puppy-unleashed/packages, for example:
abiword-1.2.3
abiword_DEV-1.2.3
abiword_NLS-1.2.3
abiword_DOC-1.2.3
However, for those cases where a package will go totally into the
'puppy-devx', then just have the entire package named appropriately,
for example:
automake_DEV-1.2.3
puppy-unleashed/createpuppy script already has the mechanism to aid with
building the 'puppy-devx' from the _DEV packages:
'on' _DEV packages, or any 'on' normal package that also has a _DEV package,
are copied to puppy-unleashed/devx-extra.
The script 'create-devx_xxx.sfs.sh' copies the contents of puppy-unleashed/devx-extra into puppy-devx, then builds the devx_xxx.sfs.
In my system, the layout is:
puppy-development/
create-devx_xxx.sfs.sh puppy-devx/ puppy-unleashed/
Barry Kauler
August 2008
 |
| Description |
|

Download |
| Filename |
t2-to-puppy-scripts.tar.gz |
| Filesize |
6.37 KB |
| Downloaded |
568 Time(s) |
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 30 Aug 2008, 01:19 Post subject:
|
|
Excellent Barry thanks for the scripts, They will come in handy
I'll use them as soon as I get back into T2
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Sat 30 Aug 2008, 01:46 Post subject:
|
|
Thanks Barry!!
Can't wait to check this out.
|
|
Back to top
|
|
 |
Ted Dog

Joined: 13 Sep 2005 Posts: 1064 Location: Heart of Texas
|
Posted: Sat 30 Aug 2008, 07:29 Post subject:
|
|
Thanks, any other [useful] scripts polished or not, would be great. I've been able to compile T2 kernel and all but a small number <4 of the programs using the raw T2 but could never 'finish' combining them into a working puppy redux.
I'll pour over the code, and try again. And to think I wiped all the multiple hundreds of GigaBytes of resulting T2 files supporting multiple CPUs /PPC64 T2 efforts just two weeks ago, @#@!##@^^%$.
Cool weather is about 3 months away, Then I'll fire-up the dozen or so heat producing computers stashed away and try my motley crew of compiler farms as space-heaters once again.
|
|
Back to top
|
|
 |
kirk
Joined: 11 Nov 2005 Posts: 1334 Location: florida
|
Posted: Sat 30 Aug 2008, 21:58 Post subject:
|
|
Thanks Barry, thought you would have made some scripts to do that. For my pentium3 T2 puppy, I just made a main sfs and devx sfs by hand. I'll have to check out the scripts when I get back home next week.
|
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1160 Location: USA
|
Posted: Sun 31 Aug 2008, 00:58 Post subject:
|
|
thats what im talking bout you rock!
thanks a bunch barry i really need to get that svn working ...so little free time though
also you may be interested in knowing that glibc 2.6 took over 4+ hours to build on my system im building PII optimised with the sources from ibiblio
@ted dog you shouldn't gloat about your compile farm in the presence of lowly PII users.... LOL
Edit: *shouldn't X.x
_________________ Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
BeOS Max-Vectorgamma: Tyan thund 2 512 ram 2x PII 300
Vectorsigma (laptop): Gentoo Athlon II X2 2Ghz 4Gb ram radeon 4200 mesa-git
|
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1160 Location: USA
|
Posted: Sat 04 Oct 2008, 15:30 Post subject:
|
|
worked on script 1 a bit so the user can change the paths with out messing in the script
will probably do the same on the others later
| Description |
|

Download |
| Filename |
t2-to-puppy-scripts.tar |
| Filesize |
40 KB |
| Downloaded |
441 Time(s) |
_________________ Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
BeOS Max-Vectorgamma: Tyan thund 2 512 ram 2x PII 300
Vectorsigma (laptop): Gentoo Athlon II X2 2Ghz 4Gb ram radeon 4200 mesa-git
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Sun 12 Oct 2008, 03:49 Post subject:
|
|
how are you guys going about this?
I am up in the air whether to use:
1. puppy + devx + unleashed + 3.1MB T2 environment addon + these scripts
or
2. Full T2 environment + these scripts + try to get the puppy stuff
It kinda seems like option 1 would make it easier to retain its "puppiness" but I am interested to hear any feedback before I endeavor further on my quest for a rolling puppy release with the latest kernel and packages
|
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1160 Location: USA
|
Posted: Mon 13 Oct 2008, 12:45 Post subject:
|
|
T2 8.0 trunk was broken when i checked it out.... and Im not 1337 enough to figure out why... basically it failed to compile glibc in phase 1 (the second pass)
The full T2 environment (as of about 10-1-08 or so is about a 5gb download)
which you get after running the ./scripts/Download -all in the T2 directory
the puppy T2 core source it about 1gb and only contains the minimum required source but it is source from last year with only a few updates and fixes
The process to build T2 puppy is more like this:
start with a distro that fully supports all the tools needed by T2 (such as puppy 4.0 HD install w/ devx extracted manually or slackware 12.1 in my case) >>
install the T2 environment somewhere (doesn't really matter must be on a linux partition though not fat32 or ntfs AFAIK) >>
configure T2 with the piglet001 profile (in barry's T2 package ) >>
if all goes well (which it mostly does with barry's patched source ...not so with the svn version) you will get .tar.bz2 packages >>
process these packages with the t2-to-puppy scripts (somewhere along the way you will probably need to manually edit these packages to cut down their size etc... )
_________________ Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
BeOS Max-Vectorgamma: Tyan thund 2 512 ram 2x PII 300
Vectorsigma (laptop): Gentoo Athlon II X2 2Ghz 4Gb ram radeon 4200 mesa-git
|
|
Back to top
|
|
 |
mysticmarks

Joined: 26 Feb 2007 Posts: 157 Location: California
|
Posted: Mon 20 Oct 2008, 11:42 Post subject:
t2 Subject description: t2 |
|
I've got trunk 8.0 working fine. i've run into the failure to build target issues addressed elsewhere in the forum. I was originally going to remaster puppy, but i've been experimenting a bit with some options in my mind.
@BarryK - I was curious about exactly what scripts are used for boot time processes and config. I would like to go through the scripts and examine how you've structured the persistence in puppy. In all honesty barry, its brilliant. So I don't want to reinvent the wheel[well ok i actually do ], but have taken a look at some other programs that have been designed for a variety of systems which i feel when incorporated into puppy would greatly enhance useability for the below average user.
I recently ran the live cd for the latest linux mint and although ubuntu is fine for most, its not my fav [obviously puppy is ]. I did however find that linux mint team has modified the package management a bit into a tabbed installer that will deal with rpm, deb, etc. i would like to reverse engineer this system and integrate pet installs with it. Moreover, I need to examine the scripst as i want to modify many, and would like to talk with you and others about making a script for this program so that it will interpret the deb rpm etc, and install them to the correct puppy directories. (a real universal puppy installer with well maintained repos built by others easily useable.) let me know. thanks.
|
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1160 Location: USA
|
Posted: Tue 21 Oct 2008, 08:59 Post subject:
|
|
where were these failure to build issues addressed?
My checkout kept failing at glibc in stage 1
_________________ Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
BeOS Max-Vectorgamma: Tyan thund 2 512 ram 2x PII 300
Vectorsigma (laptop): Gentoo Athlon II X2 2Ghz 4Gb ram radeon 4200 mesa-git
|
|
Back to top
|
|
 |
mysticmarks

Joined: 26 Feb 2007 Posts: 157 Location: California
|
Posted: Tue 21 Oct 2008, 15:13 Post subject:
build err Subject description: build err |
|
Can't locate Carp.pm in @INC
(i downloaded the entire trunk and installed from the standard full t2)
i HAVE NOT used any of barry's material, as i dont know exacly what I need since i have the full t2 already.
I have gone into the default config and setup for a x86 cross compile. That downloaded EVERYTHING required to buildany desktop for cross arch.(ie.- ALL WM, graphics, etc)
I was originally intending just to do a i686 optimized, but heck why not.
@BarryK- Can i just move the piglet 001 scripts and associated files onto my t2 install, and modifiy for the arch change to rebuild this crossarch puppy, or will that matter at all? Also, if i dont install a bunch of the puppy files and replace them with various other utilities, will any dependancies for these new programs be downloaded and over write existing ones? Do you believe that it could corrupt any critical puppy files that i should be aware of? I wouldn't want to screw up the build on something that should be obvious [if I was Mr. Barry K ] Would you also explain or link to the explaination of the devx file, and what it currently contains, as well as anything you recently have decided to incorporate as a part of that file at boot time. I would sincerely like to make this something we can all be proud of.
And lastly could you drop a link to the solutions for common build problems. I downloaded the pdf manual, but didnt get far with that, and the FAQ was really lacking @ t2.
|
|
Back to top
|
|
 |
cb88

Joined: 28 Jan 2007 Posts: 1160 Location: USA
|
Posted: Thu 23 Oct 2008, 18:26 Post subject:
|
|
mysticmarks
what revision was your checkout? so you are saying that you actually got t2 to build?
_________________ Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
BeOS Max-Vectorgamma: Tyan thund 2 512 ram 2x PII 300
Vectorsigma (laptop): Gentoo Athlon II X2 2Ghz 4Gb ram radeon 4200 mesa-git
|
|
Back to top
|
|
 |
mysticmarks

Joined: 26 Feb 2007 Posts: 157 Location: California
|
Posted: Fri 24 Oct 2008, 11:09 Post subject:
build Subject description: build |
|
@cb88- No, I have all source required for cross arch build and build time fails at noted info above(its failing building perl). I'm working on it though.
|
|
Back to top
|
|
 |
mysticmarks

Joined: 26 Feb 2007 Posts: 157 Location: California
|
Posted: Fri 24 Oct 2008, 22:46 Post subject:
build err Subject description: build err |
|
Im failing the build at autoconf (4 of 604 pkgs in my setup)
help!
|
|
Back to top
|
|
 |
|