Saturday, December 26, 2020

Chapter 5 : Automating Export of LFS Environment Variable

 Hi,

In this post/chapter I am going to talk about how the export the environment variable required to build a linux system from scratch.

This post/chapter is going to be the shortest of all still it is mandatory for the process.

Start your virtual host from your virtual box, and login as the user.

After you login, Open a terminal and edit the ".profile" of the user using the following command.

$ vi .profile

Append the file with the following...

export LFS=/mnt/lfs

Save the file and exit.

Well that is it, next time you login you do not have to worry about exporting this variable again, this variable is made available when the profile of the user is loaded.




No comments:

Post a Comment

Addressing Modes of 8080 / 8085 MicroProcessor

Hi,   In this post I am going to talk about different addressing modes of 8080/8085...without much talking let us get into the topic.   Ther...