kevin leptons 435ddd6422 update document
2016-05-06 00:29:53 +07:00
2016-05-03 23:16:20 +07:00
2016-05-06 00:01:13 +07:00
2016-05-05 18:54:54 +07:00
2016-04-23 13:29:32 +07:00
2016-04-29 14:51:04 +07:00
2016-05-01 23:00:49 +07:00
2016-05-06 00:29:53 +07:00
2016-05-04 01:51:37 +07:00
2016-04-22 22:31:14 +07:00
2016-04-29 14:50:57 +07:00
2016-05-04 16:29:09 +07:00

linux from scratch automated build

  • automated build linux from scratch in docker environemnt
  • allow developer can test imediately linux distribution in virtual machine
  • new style of linux distribution

screen

vm.ghost

requirements

  • linux from scratch version 7.8
  • docker version 1.10.3
  • docker image debian:jessie
  • operating system: debian
  • disk space ~32GB

news

  • 2016-05-04: active ghost distribution
  • 2016-05-05: active live distribution
  • 2016-05-06: prepare to next version, detach from linux from scratch

general architecture

|----------------------------------------------------------------------|
| linux from scratch                                                   |
|----------------------------------------------------------------------|
| docker container                                                     |
|----------------------------------------------------------------------|
| host operating system                                                |
|----------------------------------------------------------------------|

- host operating system: provide environment to run docker and virtual
  storage, where store linux from scratch

- docker container: provide environment to build linux from scratch. it is
  use to reduce damage and unnecessary tools to host operating system

- linux from scratch: contains instructions to build linux from scratch,
  write in shell script

documenation

see doc directory

instructions

warning:

  • approximate build time about 6 hours. process run full test for both temporary tools and system
  • no installer present, if you want install to storage target, do it by hand. installer will present in next version

result in ./disk/lfs-disk.img when mount to /mnt/lfs

  • ghost distribution file: ./dist/dest/lfs.ghost.amd64.iso
  • live distribution file: ./dist/dest/lfs-live.amd64.iso

commands

  • run automated setup with ghost distribution
# setup
./run.sh --dist=ghost

# try in virtual machine
./vm.active ghost
  • run automated setup with live distribution
# setup
./run.sh --dist=live

# try in virtual machine
./vm.active live
  • enter box environment under dev user
./run.sh box
  • enter tmp-sys environment under root user
./run.sh tmp-sys
  • enter sys environment under root user
./run.sh sys
Description
automated build linux from scratch
Readme 877 KiB
Languages
Shell 99.5%
Dockerfile 0.4%