crystal! thanks! :)

On 3/28/07, VOROSKOI Andras <[EMAIL PROTECTED]> wrote:
On Tue, Mar 27, 2007 at 10:23:19PM -0300, Cláudio Henrique wrote:
> What it is the best way to test the changes we do? I thought it would
> be like any other package. :)

I usually do the following:
You need stable, translations and current repos.
You make your changes in setup, then sudo make.
Now you got an initrd and a vmlinuz file.
Now cd your fw-current repo and get the boot dir(recursively) from here:
http://ftp.frugalware.org/pub/frugalware/frugalware-current/

Now you need a volumes.xml in boot dir. Something similar to this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE volumes SYSTEM "http://frugalware.org/dtd/volumes.dtd";>

<volumes>
        <fst_root>/home/voroskoi/darcs/current</fst_root>
        <out_dir>/home/voroskoi/darcs/current</out_dir>
        <volume>
                <arch>i686</arch>
                <media>net</media>
        </volume>
</volumes>

Copy the initrd and vmlinuz files to boot dir and start mkiso. You'll get
an ISO image in out_dir. You can test that with virtalbox for example.

Sometimes it's good to set DEBUG=true in setup's Makefile, so the setup
will run in gdb. Very useful for bughunting.

Hopefully i was clear, feel free to ask!

--
voroskoi

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel





--
In order to be effective truth must penetrate like an arrow - and that
is likely to hurt. 'Posthumous Pieces' by Wei Wu Wei


_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to