LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Delete Linux-2.6.22.5 Package (https://www.linuxquestions.org/questions/linux-from-scratch-13/delete-linux-2-6-22-5-package-673386/)

hanku 09-30-2008 04:09 PM

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,

hanku 09-30-2008 05:15 PM

Do I have to start over for committing this dumb mistake?

suicideducky 09-30-2008 05:48 PM

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/ ?

hanku 09-30-2008 06:17 PM

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?

suicideducky 09-30-2008 09:25 PM

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.

ProtoformX 10-02-2008 09:16 AM

Quote:

Originally Posted by suicideducky (Post 3296551)
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.

hanku 10-03-2008 12:40 PM

Thanks for the tips guys!


All times are GMT -5. The time now is 03:13 PM.