You are not logged in.
I'm trying to follow the cookbook on creating packages.
When running "cook setup --wok", after it installs "aufs-utils", the script ends with an error:
[c]/usr/bin/cook: line 1223: hg: not found[/c]
I tried tazpkg get-install hg, but it says "Unable to find in the mirrored packages list"
Could you point me in the right direction please?
Thanks.
Offline
Hi!
hg is a name of a executable file.
Package named mercurial contains this file. Install it.
Offline
Thanks Aleksej, it works.
The documentation, or maybe the cook script, should be updated though.
Thanks again!
Offline
If you run cook setup then mercurial should install:
cook: http://hg.slitaz.org/cookutils/file/a7e3087f5ace/cook#l1107
pkg in $SETUP_PKGS; do
if [ "$forced" ]; then
tazpkg -gi $pkg --forced
else
[ -d "$INSTALLED/$pkg" ] || tazpkg get-install $pkg
fi
done
cook.conf http://hg.slitaz.org/cookutils/file/a7e3087f5ace/cook.conf#l36
# List of packages installed in build chroot by cook or the Cooker setup.
SETUP_PKGS="slitaz-toolchain pkg-config intltool gettext zlib-dev bzip2
aufs-utils aufs m4 syslinux-extra pcre pcre-dev bash xorg-dev mercurial
rsync dropbear tazlito"
Unless your cloning the wok mercurial is not necessary.
Offline
I did not get that from reading the cookbook.
It looks redundant, at first glance, to call [c]cook setup[/c] and then [c]cook setup --wok[/c]
IMHO, documentation could state that one command works "in addition" to the other.
My 2 cents.
Thanks guys!
EDIT: I see now that this information is a bit spread. The one I read is cookutils.en.html, but there is a better explanation here: http://doc.slitaz.org/en:cookbook:wok (which makes it clear about the mercurial thing).
Offline
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]