Em 10-07-2012 14:01, Bruce Dubbs escreveu:> Armin K. wrote:
>> On 07/10/2012 06:35 PM, Bruce Dubbs wrote:
>>> Armin K. wrote:
>>>> On 07/10/2012 06:20 PM, Bruce Dubbs wrote:
>>>>> Armin K. wrote:
>>>>>> Hi there. There was some talk about splitting Xorg Packages into
>>>>>> seperate ones. I went with Xorg Applications first. I did not make
>>>>>> instructions for every package, since there are too many of them, and
>>>>>> nearly all of them are required at runtime of Xorg Server, so it's
>>>>>> dependency list would become big. Anyways, I took the way of generating
>>>>>> the wget and md5sum lists manualy instead of putting them to server.
>>>>>> These lists are generated using xml entities of each package.
>>>>>>
>>>>>> You can see how that looks here:
>>>>>> http://linuxfromscratch.org/~krejzi/xorg/x/x7app.html
>>>>>>
>>>>>> Also, there is a patch for that at
>>>>>> http://linuxfromscratch.org/~krejzi/xorg.patch.gz if desired.
>>>>>>
>>>>>> I won't commit anything if someone does not like that way.
>>>>>>
>>>>>> Drivers splitup is next on my TODO list.
>>>>>
>>>>> It looks OK to me, but I think we need to add in a loop for the build
>>>>> process with the wget list as input.  This would be similar to the
>>>>> script at http://linuxfromscratch.org/~krejzi/xorg/x/xorg7.html
>>>>>
>>>>> for package in app.wget
>>>>> do
>>>>>        packagedir=$(echo $package | sed 's/.tar.bz2//')
>>>>>        [ "x$(echo $packagedir | cut -c1 )" != "x#"  ] || continue
>>>>>        tar -xf $package
>>>>>        pushd $packagedir
>>>>>          ./configure $XORG_CONFIG
>>>>>          make
>>>>>          make install
>>>>>        popd
>>>>>        rm -rf $packagedir
>>>>> done 2>&1 | tee -a ../xorg-app-compile.log #log the entire loop
>>>>>
>>>>>        -- Bruce
>>>>>
>>>>
>>>> I don't have anything against that, but do note that such instructions
>>>> would require configure and make to be ran as root user.
>>>
>>> Hmm.  We don't generally do it, but we could use 'sudo make install'.
>>>
>>>      -- Bruce
>>>
>>
>> I think someone already mentioned that. It could be myself or DJ, I
>> would need to search blfs-dev archives for that. But even that would
>> require user interaction since sudo times out. What do others say? I
>> don't have any issues with building packages as root user, especially
>> "famous" ones.
> 
> I think a paragraph explaining the options would be good.  Let the user 
> decide.  Personally, I use sudo without a PW so there isn't a timeout 
> issue.  We even show how to do that on the sudo page.
> 
> I also show how to do that in the paper I posted last night.


Thank you very much, Armin.

I think sudo would only ask for the PW once, given the time it takes for
each pass through the loop.

I myself do these as root.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to