From 97b4d44124e65a6e29bda58a0a2ae6afc27e4ad1 Mon Sep 17 00:00:00 2001 From: crims0n Date: Thu, 2 Dec 2021 17:50:51 +0000 Subject: [PATCH 1/3] Update README.md --- README.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf4ac35..98964a6 100644 --- a/README.md +++ b/README.md @@ -35,4 +35,43 @@ Для сборки с помошью докера создайте в домашней папке папку build, поместите туда minios-slax, запустите 01-runme.sh из папки docker. Данное действие установит необходимые программы и создаст образ. Для запуска сборки отредактируйте под себя и запустите 02-build.sh. Пример содержимого файла: -`docker run --rm -it --name mlc --privileged -v /home/user/build:/build local/mlc` +`docker run --rm -it --name mlc --privileged -v /home/user/build:/build local/mlc /build/minios-slax/install -` + +# MiniOS + +These scripts build a bootable MiniOS ISO image. + +For installation use ** install ** - script for guided installation, ** autoinstall ** - script for automatic installation. + +** Never run scripts from linux-live! They will break your system. ** + +** Supported commands: ** `setup_host build_bootstrap build_chroot build_live build_modules build_iso` + +* setup_host * - installing packages required for building on the host + +* build_bootstrap * - install a minimal system using debootstrap + +* build_chroot * - installation of the rest of the components required to start the system + +* build_live * - build initramfs and squashfs image + +* build_modules_chroot * - building modules + +* build_iso * - build the final ISO image + +** Syntax: ** `./install [start_cmd] [-] [end_cmd]` +- launch from start_cmd to end_cmd +- if start_cmd is omitted, all commands are executed starting from the first +- if end_cmd is omitted, all commands up to the last are executed +- enter one command to run a specific command +- enter '-' as the only argument to run all commands + + Examples: ./ install build_bootstrap - build_chroot + ./install - build_chroot + ./install build_bootstrap - + ./install build_iso + ./install - + +To build with docker, create a build folder in your home folder, put minios-slax there, run 01-runme.sh from the docker folder. This action will install the required programs and create an image. To start the build, edit for yourself and run 02-build.sh. Sample file content: + +`docker run --rm -it --name mlc --privileged -v /home/user/build:/build local/mlc /build/minios-slax/install -` From eaad9d75719b8fe58c9b70a4abe5d2fb4fd41da8 Mon Sep 17 00:00:00 2001 From: crims0n Date: Thu, 2 Dec 2021 17:51:59 +0000 Subject: [PATCH 2/3] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 98964a6..a1933a2 100644 --- a/README.md +++ b/README.md @@ -41,25 +41,25 @@ These scripts build a bootable MiniOS ISO image. -For installation use ** install ** - script for guided installation, ** autoinstall ** - script for automatic installation. +For installation use **install** - script for guided installation, **autoinstall** - script for automatic installation. -** Never run scripts from linux-live! They will break your system. ** +**Never run scripts from linux-live! They will break your system.** -** Supported commands: ** `setup_host build_bootstrap build_chroot build_live build_modules build_iso` +**Supported commands:** `setup_host build_bootstrap build_chroot build_live build_modules build_iso` -* setup_host * - installing packages required for building on the host +*setup_host* - installing packages required for building on the host -* build_bootstrap * - install a minimal system using debootstrap +*build_bootstrap* - install a minimal system using debootstrap -* build_chroot * - installation of the rest of the components required to start the system +*build_chroot* - installation of the rest of the components required to start the system -* build_live * - build initramfs and squashfs image +*build_live* - build initramfs and squashfs image -* build_modules_chroot * - building modules +*build_modules_chroot* - building modules -* build_iso * - build the final ISO image +*build_iso* - build the final ISO image -** Syntax: ** `./install [start_cmd] [-] [end_cmd]` +**Syntax:** `./install [start_cmd] [-] [end_cmd]` - launch from start_cmd to end_cmd - if start_cmd is omitted, all commands are executed starting from the first - if end_cmd is omitted, all commands up to the last are executed From 87824b6859e2e1b685e34e17647b16d4ad378c96 Mon Sep 17 00:00:00 2001 From: crims0n Date: Thu, 2 Dec 2021 17:53:00 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a1933a2..bf380e9 100644 --- a/README.md +++ b/README.md @@ -66,11 +66,11 @@ For installation use **install** - script for guided installation, **autoinstall - enter one command to run a specific command - enter '-' as the only argument to run all commands - Examples: ./ install build_bootstrap - build_chroot - ./install - build_chroot - ./install build_bootstrap - - ./install build_iso - ./install - + Examples: ./install build_bootstrap - build_chroot + ./install - build_chroot + ./install build_bootstrap - + ./install build_iso + ./install - To build with docker, create a build folder in your home folder, put minios-slax there, run 01-runme.sh from the docker folder. This action will install the required programs and create an image. To start the build, edit for yourself and run 02-build.sh. Sample file content: