Update README to explain how to change chroot directory

master
Olivier DOSSMANN 2018-07-31 20:57:18 +02:00
parent 4f5d8f02a2
commit c1218df6a8
1 changed files with 20 additions and 1 deletions

View File

@ -12,9 +12,28 @@ chmod +x ./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
* 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?)
* idem with yunorock-recipes
* idem with pkgxx