Subversion support?
"Sascha Juch" <[email protected]>
| Newsgroups | gmane.linux.pxes.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody,
I'd like to do some tests with PXES 0.9 and therefore wanted to put it
up into a subversion repository.
As in a checked out version from subversion you have .svn-Subfolders
which you don't want to be in the Bootimage (initrd or squasfs) I
searched for the right places to exclude them.
So far I found in PxesconfigModel.pm the following places:
In populate_from_to($$)...
before:
print STDERR "PxesconfigModell::populate_from_to($from,$to)\n"
if $DEBUG > 0;
...
if ( ! -d $from ) {
...
$r = system("/bin/sh -c \"(cd $from; find -depth -print | cpio -pdum $to
> ...
after:
print STDERR "PxesconfigModell::populate_from_to($from,$to)\n"
if $DEBUG > 0;
if ($from =~ /\.svn/ ) { return 0; }
...
if ( ! -d $from ) {
...
$r = system("/bin/sh -c \"(cd $from; find -depth -print | grep -v
\".svn\" | cpio -pdum $to > ...
and in check_and_copy($$$$)
before:
my $val;
$dontaddmoutdir = ...
after:
my $val;
if ( $var =~ /\.svn/ ) { return 0; }
$dontaddmountdir = ...
in du($) I added the exclusion of .svn dirs:
before:
my ($k, $dk) = split(/\s+/, `du -s $dir`);
after:
my ($k, $dk) = split(/\s+/, `du -s --exclude=.svn $dir`);
However, I still get an error message complaining about that there is
not enough space on initrd. The error message is the following:
"Copying extra files: cp: Writing
>>/tmp/pxes/./lib/modules/libxf4bpp.a<<: No space left on device."
And then about 18 other cp: error messages are following - all with the
same reason.
(I have german error messages - so I translated it on the fly, may be
different on your system)
I'm curious how Diego is managing the PXES-Distro. Do you always do an
export before testing the images? I think this would be a little bit
stressy.
It would be nice, if I could get a litle hint on how to fix that. I
think I just missed one or two places, where other copy routines are
called. Did anyone else manage that? Or Diego, could you tell me what
I'm doing wrong?
Thanks a lot in advance,
Sascha.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/