LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-30-2008, 04:09 PM   #1
hanku
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Delete Linux-2.6.22.5 Package


I am currently on Chapter 6.7, installation of Linux API headers and just realize that I delete the Linux-2.6.22.5 tar ball from my sources directory. Is there a way to retrieve it from the LiveCD again? I used the LiveCD as my host system up to chapter 5.

Thanks in advance for the help,
 
Old 09-30-2008, 05:15 PM   #2
hanku
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Do I have to start over for committing this dumb mistake?
 
Old 09-30-2008, 05:48 PM   #3
suicideducky
Member
 
Registered: Aug 2006
Location: New Zealand
Distribution: Gentoo
Posts: 72

Rep: Reputation: 15
On the root of the livecd is a directory called lfs-sources
in there are all the source files required, cant you just copy it out of there into your $LFS/sources/ ?
 
Old 09-30-2008, 06:17 PM   #4
hanku
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Alrite, I was in the chroot environment. I exited and copied the missing packages to the sources directory from lfs-sources, then re-enter the chroot environment. Just making sure, is there anything wrong by doing this?
 
Old 09-30-2008, 09:25 PM   #5
suicideducky
Member
 
Registered: Aug 2006
Location: New Zealand
Distribution: Gentoo
Posts: 72

Rep: Reputation: 15
my recommendation would be to use a 2nd shell to do the copying and avoid exiting the environment, but exiting and re-entering the chroot should work also as long as you make sure to do all the work you origionally did when you entered the chroot.
 
Old 10-02-2008, 09:16 AM   #6
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
Quote:
Originally Posted by suicideducky View Post
my recommendation would be to use a 2nd shell to do the copying and avoid exiting the environment, but exiting and re-entering the chroot should work also as long as you make sure to do all the work you origionally did when you entered the chroot.
I second that! more mistakes can be made while exiting and entering chroot, just user anotehr terminal to copy/add files the $LFS/source directory permissions are set withthe sticky bit to it should be okay to do so.
 
Old 10-03-2008, 12:40 PM   #7
hanku
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the tips guys!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Chapter 5 (After installing each package, delete its source and build directories) brayden516 Linux From Scratch 2 04-17-2008 11:50 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM
Need to delete a slack package phek Linux - General 2 11-08-2001 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:26 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