Update README to explain how to change chroot directory
This commit is contained in:
parent
4f5d8f02a2
commit
c1218df6a8
21
README.md
21
README.md
@ -12,9 +12,28 @@ chmod +x ./install-and-chroot.sh
|
|||||||
./install-and-chroot.sh
|
./install-and-chroot.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
By default it writes files into `/alpine`. So enter into chroot:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/alpine/enter-chroot
|
||||||
|
```
|
||||||
|
|
||||||
|
But you can change destination directory if needed:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
chmod +x ./install-and-chroot.sh
|
||||||
|
DIR="/my_alpine_chroot" ./install-and-chroot.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
and then:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/my_alpine_chroot/enter-chroot
|
||||||
|
```
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
* adapt script to install yunoconfig dependancies (alpine-chroot-install -p)
|
* adapt script to install yunoconfig dependencies (alpine-chroot-install -p)
|
||||||
* git submodule with yunoconfig (and bind it into the chroot?)
|
* git submodule with yunoconfig (and bind it into the chroot?)
|
||||||
* idem with yunorock-recipes
|
* idem with yunorock-recipes
|
||||||
* idem with pkgxx
|
* idem with pkgxx
|
||||||
|
Loading…
Reference in New Issue
Block a user