jhalfs experimental BLFS part: Optional "sudo make install" and SRC_ARCHIVE ?

Tor Olav Stava t-ol-sta at online.no
Mon Mar 20 12:06:12 PST 2006


M.Canales.es wrote:

>El Lunes, 20 de Marzo de 2006 11:35, Tor Olav Stava escribió:
>  
>
>>Would it be possible to make the "sudo" optional for the install
>>commands in BLFS?
>>I know the scripts will have to be run as root (or user with installing
>>privilege), which may be risky, but it's the only way I can make Paco
>>work with BLFS. It's not possible to log suid programs. :(
>>    
>>
>
>That is easy. Remove this code from blfs.xsl (inside the "screen" tenplate 
>near the end of the file):
>
>
>          <xsl:if test="@role = 'root'">
>            <xsl:text>sudo </xsl:text>
>          </xsl:if>
>
>  
>
Ok, thanks.. That's easy to implement in a patch ;)

>>It would also be excellent if the BLFS part would honour the SRC_ARCHIVE
>>set in the common/config file. It works nicely with HLFS and LFS, but I
>>can see the packages are handled a bit different in BLFS.
>>    
>>
>
>That is more diffult to solve due an issue with patches management. I will see 
>what could be done when starting the BLFS code depuration (after finish the 
>CLFS code review that I will start tomorrow).
>
>  
>
That's understandable, I'm just want to avoid the unecessary downloads, 
cause I've already got most of the needed packages. Not to mention 
people with slow internet connections :)

Just a wish ;)


Tor Olav




More information about the alfs-discuss mailing list