Profile assistance needed

Thomas Pegg thomasp at linuxfromscratch.org
Sat Feb 5 03:49:34 PST 2005


Jeremy Utley wrote:
> 
>        [stage name="Removing NPTL"]
>                [stageinfo]
>                        [base]&build_dir;/&glibc-directory;[/base]
>                [/stageinfo]
> 
>                [remove]nptl[/remove]
> 
>                [remove]nptl_db[/remove]
>        [/stage]
> 
> 
> Profile writers will recognize the use of the entities above, so I don't 
> feel their use needs to be explained.  The problem is, those two 
> directories (nptl and nptl_db) are not being removed.  The log file says 
> it's executing the commands, but afterward, when it's performing the 
> configuration, you can look and see the two directories are still 
> present.  According to the DTD docs, that should be equivalent to rm -rf 
> nptl and rm -rf ntpl_db performed in /mnt/lfs/tools/build/glibc-2.3.4, 
> but it's not working, and I'm not sure why.
> 
> Anyone got any ideas on this one?
> 
> -J-
Although that's what it seems like it should it doesn't in fact it looks 
as if [remove] is not honoring [base] from [stageinfo], so you have to 
specify the full path in the [remove] elements. I just tried what you 
have above and it didn't work for me either.

-- 
Thomas
LFS User : 4729
Linux User : 298329
warpcore -  06:45:00 up  8:08,  2 users,  load average: 0.17, 0.37, 0.54



More information about the alfs-discuss mailing list