LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [ solved ] Linux from Scratch ( Package Users ) (https://www.linuxquestions.org/questions/linux-software-2/%5B-solved-%5D-linux-from-scratch-package-users-4175545787/)

Wayne Sallee 06-18-2015 06:36 PM

[ solved ] Linux from Scratch ( Package Users )
 
I'm stuck.

I'm a bit confused with the fact that with package users when you su to the package user, you are put in that user directory.

With the LFS instructions you are to be in the package directory.


Wayne Sallee
Wayne@WayneSallee.com

sundialsvcs 06-19-2015 07:18 AM

I know LFS quite well, and I simply don't understand your problem, based on the two single-sentences with which you have so far described it. :)

It's fairly common for su (or any login-scripts that might run) to initially put you into the $HOME directory of the user you are becoming.

Start over at the beginning and describe your problem in more detail. How, in particular, are you "stuck?"

Wayne Sallee 06-19-2015 07:20 AM

My brain was tired last night. The answer became so obvious after I left the computer.:doh:
Sometimes you've just got to Step Away From The Computer! :D

The answer is:
tar -xvf /sources/<package>.tar.xz && cd <package>
Then follow the lfs instructions, and you will be building in the package user directory.

Wayne Sallee
Wayne@WayneSallee.com


All times are GMT -5. The time now is 08:09 PM.