List Info

Thread: About EXCLUDE in the paco patch




About EXCLUDE in the paco patch
user name
2006-07-23 14:59:54
Hello.

Just a comment on the jhalfs-1.0 paco patch.

In common/config, the PACO_EXCLUDE variable is set thusly:

	PACO_EXCLUDE=/$

I guess $ is the directory from which jhalfs is
run.

I think directories /dev, /proc, /sys and /tmp should be
also 
excluded by default. I suggest:

	PACO_EXCLUDE=$:/dev:/proc:/sys:/tmp

Otherwise the resulting logs will contain many unwanted
files.

Another question:

I have tried to build LFS-6.2-pre2 with jhalfs-1.0, and I
had to 
copy the paco tarball into the
$/jhalfs/sources 
manually, because jhalfs did not copy it automatically. This

caused the build process to fail at the beggining of chapter
6.


__david
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
About EXCLUDE in the paco patch
user name
2006-07-24 08:57:37
David Rosal wrote:
> Hello.
>
> Just a comment on the jhalfs-1.0 paco patch.
>
> In common/config, the PACO_EXCLUDE variable is set
thusly:
>
>     PACO_EXCLUDE=/$
>
> I guess $ is the directory from which
jhalfs is run.

Yes. It's taken directly from the config files, and expands
to 
$BUILDDIR/$SCRIPT_ROOT.

>
> I think directories /dev, /proc, /sys and /tmp should
be also excluded 
> by default. I suggest:
>
>     PACO_EXCLUDE=$:/dev:/proc:/sys:/tmp
>
> Otherwise the resulting logs will contain many unwanted
files.

I did exclude the mentioned dirs in the earlier versions of
the patch. 
In later testing it seemed it wasn't necessary, as my logs
don't contain 
any entries from those dirs, and hence I removed them from
the setting 
to make it look cleaner. If anyone got problems with mess in
the logs, 
please tell me and I'll exclude the needed dirs again.

>
> Another question:
>
> I have tried to build LFS-6.2-pre2 with jhalfs-1.0, and
I had to copy 
> the paco tarball into the
$/jhalfs/sources manually, 
> because jhalfs did not copy it automatically. This
caused the build 
> process to fail at the beggining of chapter 6.

Yes, very annoying I must admit :(
It's described in the README.PACO that the source package
needs to be 
downloaded and copied to the sources dir manually, as the
jhalfs script 
don't handle that part. I keep forgetting and the build
bails. Luckily, 
you can just copy the package to the sources dir and type
make again, 
and the build continues where it left off.

Hopefully I'll be able to incorporate automatic download
when I get some 
free time for my computer.. ;)


Tor Olav
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )