Skip to content

Lesords/my-linux-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-linux-builder

Introduction

This repository is to make compiling the kernel easier

Build and run docker container

git clone [email protected]:Lesords/my-linux-builder.git --depth 1
cd my-linux-builder
docker build . -t teeny-linux-builder
docker container run -it teeny-linux-builder

Ps: Currently, you can only generate images that satisfy the kernel compilation environment

Generate root filesystem image

cd test
../scripts/gen_rootfs.sh

This script will generate a root filesystem image in the current directory.

Note that, the root filesystem generated by default is incomplete and no umount operation is performed. If you have already compiled busybox, you can put the compilation results in the test folder, and then execute the script.

The file structure is as follows:

test
├── busybox
│   └── _install
└── init.sh

Test

Put the image and root file system in the test folder

Then, run

./init.sh

About

To make compiling the kernel easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published