SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-20 14:23:45

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

cook setup ends with "hg: not found"

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

#2 2015-01-20 14:49:34

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: cook setup ends with "hg: not found"

Hi!

hg is a name of a executable file.

Package named mercurial contains this file. Install it.

Offline

#3 2015-01-20 15:29:22

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Re: cook setup ends with "hg: not found"

Thanks Aleksej, it works.

The documentation, or maybe the cook script, should be updated though.

Thanks again!

Offline

#4 2015-01-20 15:46:33

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: cook setup ends with "hg: not found"

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

#5 2015-01-20 17:30:02

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Re: cook setup ends with "hg: not found"

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]