From c1218df6a8e178acd4a1aed8d01f995a3c4c975b Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Tue, 31 Jul 2018 20:57:18 +0200 Subject: [PATCH] Update README to explain how to change chroot directory --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da016d1..7280eef 100644 --- a/README.md +++ b/README.md @@ -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