LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2015, 06:36 PM   #1
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
[ 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

Last edited by Wayne Sallee; 06-19-2015 at 07:08 AM.
 
Old 06-19-2015, 07:18 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
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?"
 
Old 06-19-2015, 07:20 AM   #3
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

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

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

Last edited by Wayne Sallee; 06-19-2015 at 07:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to create package from scratch FeyFre Slackware 10 12-13-2012 04:01 PM
[SOLVED] About Zlib (1.2.6) package in Linux From Scratch Andrew_Kaunchy Linux From Scratch 2 05-02-2012 09:46 PM
Need help with making a package management system (doing Linux From Scratch) ReyJavikVI Linux - General 4 07-21-2009 07:48 AM
6.7 Linus From Scratch, package linux-2.6.22.5 Geemo Linux - Newbie 12 11-30-2008 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration