DOI QR코드

DOI QR Code

An Analysis on Building Steps of LFS Linux System

LFS 리눅스 시스템 구축 과정 분석

  • Lee, Kyesang (Department of Information and Communications Engineering, Dong-eui University)
  • Received : 2016.11.30
  • Accepted : 2016.12.19
  • Published : 2017.02.28

Abstract

With the recent wide adoption of Linux in the fields of IoT, embedded, mobile, desktop and server industries, the importances of understanding the Linux system architecture as well as customizing the Linux system are increasing very steeply. Accordingly, the capabilities of building every component of Linux system from source code files have been important. The LFS (Linux From Scratch) site[1] guides the steps of building the basic Linux system from source files. The steps consist of build host preparation step, temporary system building step, final system building step, and system configuration and boot preparation step. However, the underlying concepts behind the steps used in building LFS are difficult to understand, particularly to the beginner. This paper analyzes the LFS build steps and reveal the core build concepts and principles used in each step. Additionally, this paper shows the measured package build times obtained from our build experience.

최근 리눅스가 IoT, 임베디드, 모바일, 데스크톱 및 서버 산업 등에서 널리 사용됨에 따라, 리눅스 시스템 구조에 대한 이해와 맞춤형 리눅스 시스템 구축 기술의 중요성은 날로 커지고 있다. 이에 비례하여 리눅스 시스템의 모든 구성 요소를 소스 파일로부터 구축할 수 있는 능력이 매우 중요해 졌다. LFS (Linux From Scratch) 사이트[1]는 소스로 부터 기본 리눅스 시스템을 구축하는 과정을 안내한다. LFS 구축 과정은 빌드 호스트 준비 단계, 임시 시스템 구축 단계, 최종 시스템 구축 단계와 시스템 설정 및 부트 준비 단계로 구성된다. 하지만 LFS 시스템 구축 과정에 내재한 개념은 초보자가 쉽게 이해하기 힘들다. 본 논문은 LFS 시스템의 구축 단계를 분석 정리하고, 각 단계에서 사용된 핵심빌드 개념 및 원리를 제시한다. 끝으로, 본 연구의 구축 사례에서 측정한 설치 소요 시간을 보인다.

Keywords

References

  1. LFS Project. Linux From Scratch [Internet]. Available: http://www.linuxfromscratch.org/lfs/.
  2. B. M. Chang, Unix/Linux: From Usage to Programming, 1st ed. South Korea, Life and Power Press, 2012.
  3. Distrowatch.com (2017, January). Search Distributions [Internet]. Available: https://distrowatch.com/search.php?category=Source-based.
  4. J. Preshing (2014, November). How to Build a GCC Cross-compiler [Internet]. Available: http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/.
  5. M. Kalle, et. al.. Running Linux. 5h ed. New York. O'Reilly, 2006.
  6. A. Griffith. The Compete Reference GCC. 1st ed. New York. MGH Osborne, 2002.
  7. Ubuntu Home Page (2016, April). Ubuntu Desktop [Internet], Available: https://www.ubuntu.com/desktop