Skip to content

proximus/linux-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Linux From Scratch Automatic Build System

# Install packages needed for build
$ sudo apt-get install bash binutils bison bzip2 coreutils diffutils gawk gcc grep gzip m4 make patch perl sed tar texinfo xz-utils

# Make a file containing the disk image
$ fallocate -l 20G image-lfs-7.1.raw

# Create filesystem on the disk image
$ mkfs.ext4 -F image-lfs-7.1.raw

# Create lfs mount point
$ mkdir -pv lfs

# Mount the disk image
$ sudo mount -o loop image-lfs-7.1.raw lfs/

# Construct the temporary system
$ ./prox-dist.sh -t conf/lfs-7.1-tools.cfg

# Prepare Virtual Kernel File Systems
$ sudo ./prox-dist.sh -t conf/lfs-7.1-mount.cfg

# Clone the build system into the disk image
git clone [email protected]:proximus/linux-build.git lfs/usr/src/linux-build

# Enter the Chroot Environment
$ eval $(./prox-dist.sh -e)

more to come...

About

Linux From Scratch Build System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published