SliTaz SliTaz Forum

You are not logged in.

#1 2011-04-11 21:39:43

Guest
Guest

Tazlito , with NO auto-install dependencies please

I think that tazlito looks VERY complex/complicated with all the trees, flavor and configurations !

Nevertheless, I've got a distro-packages.list which mention the only packages I want to use to build an iso . Beside this, I've got already a folder with all the tazpkg , ready to copy-paste in

/home/slitaz/cooking/packages

The problem with the command, tazlito gen-distro , is that it will automatically install the dependencies !  I know that there's a tazlito.conf in /etc , but changing it's options doens't seems to interfere with the processus .

Please let me know

#2 2011-04-12 11:21:45

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

So, is there any mean to change it ?

Perheaps change it directly in tazlito bin ?

#3 2011-04-12 15:15:33

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Tazlito , with NO auto-install dependencies please

Yes, but you have to physically edit the paths in /usr/bin/tazlito - it's a bash script, so it can be edited by any text editor.

Offline

#4 2011-04-12 16:17:07

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

Dag mijn broer   wink

Here is the function, found in tazlito, which seems to be the one

# Install a missing package

install_package()

{

    echo -n "Install package $1 "

    [ -n "$2" ] && echo -n "for kernel $2 "

    echo -n "?"

    read answer

    case "$answer" in

    y*|Y*|o*|O*)    yes y | tazpkg get-install $1;;

    *)        return 1;;

    esac

}

seems a bit complex for me

#5 2011-04-12 16:48:52

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Tazlito , with NO auto-install dependencies please

It's more likely this code found at lines 1711 to 1716:

[c]if [ ! -f $PACKAGES_REPOSITORY/$pkg.tazpkg ]; then
    # Get package from mirror
    [ "$DOWNLOAD" = "y" ] && \
    download $pkg.tazpkg && \
    mv $pkg.tazpkg $PACKAGES_REPOSITORY
fi[/c]
You could probably just comment it out completely (using # before every line) and it might work. It's strange that it doesn't ask you if if you want to download the packages though, because in the code it looks like it should.

Offline

#6 2011-04-12 20:51:09

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

Nop ..   I comment both , but still download all the dependencies .. grrrr

There's a question repack/download if the directory /home/slitaz/cooking/packages is empty

if I answer no no , then nothing happens

If I full the directory with all the tazpkgs listed in /root/distro-packages.list  , then gen-distro automaticaly starts to download all the dependencies stuff

#7 2011-04-12 23:06:14

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

@moulefrite

I bet that commenting the line

auto_install=yes

into /etc/slitaz/slitaz.conf can do the job.

#8 2011-04-13 01:20:27

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

Re: Tazlito , with NO auto-install dependencies please

@moulefrite

/etc/slitaz/tazpkg.conf

# /etc/slitaz/tazpkg.conf: SliTaz package manager configuration file.

#

# Auto-installation of packages dependencies.

AUTO_INSTALL_DEPS="no"

Offline

#9 2011-04-13 07:13:58

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

Mojo

Probably , I have already did it .. but I will do it again to be sure.

GoKhlaYeh

I will test it once I will be back from my office

Thx everybody

#10 2011-04-13 16:09:42

Guest
Guest

Re: Tazlito , with NO auto-install dependencies please

Grrrr .. I put "no" for both , but it still downloads like a fool 

Pankso , help  !

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

Board footer

Powered by FluxBB
Modified by Visman

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