Using minios-install to build modules in MiniOS

Using minios-install to build modules in MiniOS

crims0n

minios-install has two similar commands: minios-install and minios-autoinstall. When the program starts, minios-install asks the user questions, minios-autoinstall performs all operations completely automatically. Both commands only work with root privileges. Running any of these commands without parameters will bring up help. Before starting the build, you need to go to the folder where the build will be performed, create the modules folder and place the build scripts in it. Sample scripts are located in /usr/share/minios-install. In the example with the name !!!-example the simplest installation option is shown, just copy this folder to the modules folder and rename it as the future module will be called, edit the standard.list or minimal.list file (packages for amd64 are installed from standard.list, for i386 - from minimal.list) by adding in it line by line the packages for installation in the module. If desired, in the folder with the name of the module, you can leave only the install file and describe in it all the operations necessary to install your module, for example:
#!/bin/bash
apt update
apt install -y chromium chromium-sandbox

All build operations are performed in tmpfs, so the size of the installed packages together with the size of the resulting module should not exceed the size of free RAM. The assembly is performed oy based on the modules loaded into the system without taking into account the changes made after the system was started. If you need to build DE, then you need to boot into the system, excluding modules with numbers 03 and higher from the minios folder on the USB flash drive. Running commands with the build_modules parameter will start the process of building modules. For example:
# minios-install build_modules
The final build result will be in the current folder where you ran the command.

Report Page