The SliTaz Cook & Cooker documentation says:
"By default Tazdev creates a chroot in /home/slitaz/cooking/chroot but you can specify a custom path in the argument."
but it seems this doesn't work correctly:
# tazdev -gc --rootfs=/home/up/chroot Generating new chroot in: /home/up/chroot ================================================================================ Mirror URL: [ Done ] Installing: slitaz-base-files [ Done ] Installing: busybox [ Done ] Installing: cookutils [ Done ] Installing: tazpkg [ Done ] Installing: lzma [ Done ] Creating resolv.conf... [ Done ] Creating TZ... [ Done ] Restoring host packages list... [ Done ] ================================================================================ Ready to chroot with: tazdev -c # tazdev -c /home/up/chroot Mounting virtual filesystems... mount: /home/up/chroot/proc: mount point does not exist. mount: /home/up/chroot/sys: mount point does not exist. mount: /home/up/chroot/dev/pts: mount point does not exist. mount: /home/up/chroot/dev/shm: mount point does not exist. [ Failed ] Chrooting to: /home/up/chroot chroot: can't execute '/bin/sh': No such file or directory Unmounting virtual filesystems...umount: /home/up/chroot/dev/shm: no mount point specified. umount: /home/up/chroot/dev/pts: no mount point specified. umount: /home/up/chroot/sys: no mount point specified. umount: /home/up/chroot/proc: no mount point specified. [ Done ]
The "chroot" installed by tazdev in /home/up/chroot/
looks like that:
etc/--+--slitaz/--+--slitaz.conf | | | +--tazpkg.conf | +--resolv.conf | +--slitaz-release | +--TZ var/--+--cache/----tazpkg/-- (empty) | +--lib/---+--tazpkg/--installed/-- (empty) | | | +--blocked-packages-list | | | +--installed.info (0 byte) | | | +--mirror | | | +--packages.info | | | +--packages.up | +--log/------slitaz/--tazpkg.log (O byte)
and nothing else.
Tazdev doesn't find any URL for the mirror; I wonder what it installs and where.
Used without any arguments tazdev -gc
works as described in the doc.