meefik/linuxdeploy-cli

Deployment using METHOD="chroot" fails

enekux opened this issue · 2 comments

Hello I would like to deploy a container using METHOD="chroot".
This is the conf file:
$ linuxdeploy -p linux conf -x
METHOD="chroot"
SOURCE_PATH="http://mirror.yandex.ru/debian/"
DISTRIB="debian"
ARCH="amd64"
SUITE="stretch"
TARGET_PATH="/home/webmaster/linuxdeploy-cli/rootfs/linux"
CHROOT_DIR="/home/webmaster/linuxdeploy-cli/rootfs/linux"
TARGET_TYPE="directory"
USERNAME="webmaster"
INCLUDE="bootstrap"

When I try to do the deployment I get this error:
$ linuxdeploy -p linux deploy
:: Installing bootstrap/rootfs ...
Checking installation path ... done
Checking file system ... skip
Mounting partitions:
/ ... fail

What is wrong?

Thank you,

If instead of "chroot" I use "proot", the deployment works ok but when I want to connect to the console I get:

$ linuxdeploy -p linux shell -u root
:: Configuring core/mnt ...
:: Configuring core/net ...
proot error: unknown option '-l'.
fatal error: see proot --help.

I am following your guide here:
http://meefik.ru/blog/2016/01/26/linuxdeploy-cli-on-pc/

As it looks the portal http://proot.me/ is down. So instead of downloading the portable version I have installed proot from repositories and the version installed is:
$ proot -V
5.1.0

Linux Delpoy use PRoot version 5.1.1 https://github.com/meefik/PRoot/releases/tag/v5.1.1