Coming soon...
For now, a short quickstart guide
You can already download the tarball that contains all binaries used
on the TRK CD and also scripts to automate new builds.
What you need:
* The development tarball. Here 's the one for build 98: trkdev-1.1-build98.tar.gz
* A running Mandrake 9.1 system, with the built in kernel or a kernel
with loopback device support.
* See that you have tools like mkisofs and install the RedHat RPMS provided
in /trkdev/RedHatRPMS/. Also compile color-1.1.tar.gz and put it in
your path somewhere.
Here 's also a textfile with a listing of
all the files included in TRK. Use it to see whether your tool isn 't
already on the CD
A short howto on the tarball:
-unpack it to /, it will create /trkdev
-cd to trkdev
-run ./mountloops, this will mount the initrd image from TRK to /trkdev/trkinitrd
and the bootfloppy /trkdev/trkboot/
-now you can start changing stuff. The structure is as follows
- /trkdev/trkboot: contains bootfloppy emulation image. Normally
you don 't need to change anything here, the script "mknewbuild"
will do that for you.
- /trkdev/trkinitrd: most important part of TRK: the initrd image
or the root filesystem the kernel has to find on the floppy emulated
image. Change stuff in there, you 'll find /etc/ there, but don 't
start putting in any binaries or files because the floppy image is
as good as full. Put new binaries in /trkdev/morebin (they will get
unpacked at boot time after the CD has been found) or even better
to /trkdev/cd/linux. But, I 'm running ahead.
- /trkdev/morebin: morebin contains a part of your writable root filesystem.
It contains binaries that are only needed after TRK has found it 's
own CD. These files get stuffed in a tarball and put on CD. Put any
binary here that needs to sit in /bin, /sbin or needs write capabilities
in his working dir (like f-prot)
- /trkdev/cd/linux: most things go here. All of this stuff stays on
CD-rom at runtime and is symbolically linked to the root filesystem.
It contains /usr, /lib/modules, /var/lib. 80% of the stuff goes in
here.
After you 've made changes, you can create an iso image out of all
that by running "mknewbuild". Be sure to exit all shells out
of /trkdev/trkinit or it can 't get unmounted.
To make a new version of TRK:
[root@host trkdev]# ./mknewbuild
-b c1
...will make you TRK 1.1 build c1 (custom 1)
B a n    t h e    s
p a m m e r s !    I n s t a l l    S U G @
R P L U M !
|