readme: Add readme
This commit is contained in:
parent
3ea54540d3
commit
45494b4a19
20
README.md
Normal file
20
README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# mklni - Chroot helper for makelni
|
||||
|
||||
## Installation
|
||||
1. Create a new directory
|
||||
2. Download [mklni](https://git.timoxa0.su/timoxa0/mklni/src/branch/main/mklni.sh) in that directory
|
||||
3. Allow executing mklin ```chmod +x mklni```
|
||||
4. Install chroot ```sudo ./mklni install```
|
||||
|
||||
## Usage
|
||||
- Setup build chroot ```sudo ./mklni install```
|
||||
|
||||
- Remove build chroot ```sudo ./mklni uninstall```
|
||||
|
||||
- Make image ```sudo ./mklni build path/to/lnibuild```. Image will be created in same directory
|
||||
|
||||
- Clean raw images ```sudo ./mklni -r or --cleanraw```
|
||||
|
||||
- Clean build chroots ```sudo ./mklni -c or --cleanup```
|
||||
|
||||
- Chroot into ```sudo ./mklni chroot```
|
Loading…
Reference in a new issue