Cli deploy command run failed with nothing happened
I try to deploy linux on android with cli only and pushed this cloned project to /data/data/, then run command sh /data/datwana/linuxdeploy-cli/cli.sh -d deploy in cli nothing happened with no errors but just few directories were created - tmp, mnt, include and config (Include directory is in the cloned project and config was copied from the one successfully deployed with released linuxdeploy apk).
Maybe I missed lots of environment configurations? Thanks in advacne for any piece of advice.
I guess i meet the same situation, and i find out:
1. the .conf
the config/linux.conf (or other profile) is created by the linuxdeploy.apk from app ui.
without that, sh ./cli.sh help show nothing about
PARAMETERS:
--distrib="alpine"
The code name of Linux distribution, which will be installed.
--target-type="file"
The container deployment type, can specify "file", "directory", "partition", "ram" or "custom".
and sh ./cli.sh deploy do nothing.
2. the normal outpus
the normal outputs be like:
# ls config/
alpine.conf
# sh ./cli.sh help | grep PARAMETERS: -C4
-u - unmount the container after stop
status [NAME ...] - display the status of the container and components
help [NAME ...] - show this help or help of components
PARAMETERS:
--distrib="alpine"
The code name of Linux distribution, which will be installed.
--target-type="file"
# sh ./cli.sh config
alpine alpine armhf latest-stable bootstrap
# sh ./cli.sh deploy
:: Installing bootstrap/rootfs ...
Checking installation path ... done
Making new disk image (512 MB) ... done
Making file system (ext4) ... done
Checking file system ... done
Mounting the container:
/ ... done
/proc ... done
/sys ... done
/dev ... done
/dev/shm ... done
/dev/pts ... done
:: Installing bootstrap/alpine ...
Retrieving rootfs archive ... done
:: Configuring core/mnt ...
:: Configuring core/net ...
Installing packages:
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/armhf/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/armhf/APKINDEX.tar.gz
v3.22.0-153-g5cdfcdd300f [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
v3.22.0-161-g8f1b56396d2 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
OK: 22471 distinct packages available
(1/8) Installing libmd (1.1.0-r0)
(2/8) Installing libbsd (0.12.2-r0)
(3/8) Installing skalibs-libs (2.14.4.0-r0)
(4/8) Installing utmps-libs (0.1.3.1-r0)
(5/8) Installing linux-pam (1.7.0-r4)
(6/8) Installing shadow (4.17.3-r0)
(7/8) Installing sudo (1.9.16_p2-r1)
(8/8) Installing tzdata (2025b-r0)
Executing busybox-1.37.0-r18.trigger
OK: 10 MiB in 24 packages
:: Configuring core/motd ...
:: Configuring core/hosts ...
:: Configuring core/hostname ...
:: Configuring core/mnt ...
:: Configuring core/net ...
:: Configuring core/timezone ...
:: Configuring core/su ...
:: Configuring core/locale ...
:: Configuring core/aid ...
:: Configuring core/profile ...
usermod: no changes
:: Configuring core/sudo ...
:: Configuring core/unchroot ...
# sh ./cli.sh shell
:: Configuring core/mnt ...
:: Configuring core/net ...
Alpine Linux v3.22 [running via Linux Deploy]
#
# ls
bin etc lib media opt root sbin sys usr
dev home lost+found mnt proc run srv tmp var
#