SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-16 17:55:50

Saipul
Member
Registered: 2011-06-28
Posts: 87

"tazwok" create 5 - 6 important files but not "cookutils"

files.list.lzma, packages.desc, packages.list, packages.md5, packages.txt and packages.equiv

I just realized, when I use "tazwok" to create a unofficial/custom slitaz package, tazwok always made ​​5 or 6 of this file, do I miss something... because I'm very sure I has been follow the "howto" on this link http://hg.slitaz.org/cookutils/raw-file/tip/doc/cookutils.en.html

# tazdev gen-chroot && tazdev chroot

Generating new chroot in : /home/slitaz/cooking/chroot

======================================================

2011-09-08 15:30:42--  http://mirror.switch.ch/ftp/mirror/slitaz/boot/cooking/rootfs-base.gz

Resolving mirror.switch.ch (mirror.switch.ch)... 130.59.10.36, 2001:620:0:8::20

Connecting to mirror.switch.ch (mirror.switch.ch)|130.59.10.36|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 4888113 (4.7M) [application/x-gzip]

Saving to: `rootfs-base.gz'

100%[===================================>] 4,888,113   16.3K/s   in 4m 56s 

2011-09-08 15:35:43 (16.1 KB/s) - `rootfs-base.gz' saved [4888113/4888113]

Extracting the rootfs...24855 blocks

Creating resolv.conf...                                           [ OK ]

============================================================

Ready to chroot. Use 'tazdev chroot [version|path]'

Example: tazdev chroot /home/slitaz/cooking/chroot

Mounting virtual filesystems...                                   [ OK ]

Chrooting to: /home/slitaz/cooking/chroot

/# cook setup --wok

/usr/bin/cook: line 1084: can't create /home/slitaz/cache/activity: nonexistent directory

Setting up your environment

===============================================================

Creating directories structure in: /home/slitaz

Creating DB files in: /home/slitaz/cache

Checking for packages to install...

... this section when install all packages listed in "cook.conf" SETUP_PKGS varible

..................

.................

... end of installing all packages listed in "cook.conf" SETUP_PKGS varible

requesting all changes

adding changesets

adding manifests

adding file changes

added 10952 changesets with 24122 changes to 5374 files

updating to branch default

4363 files updated, 0 files merged, 0 files removed, 0 files unresolved

Adding group: slitaz

Setting permissions for slitaz group...

=============================================================

All done, ready to cook packages :-)

/# cook new caduntu

edit "receipt" what I need it.

/# cook caduntu

Yes successful building my unofficial/custom slitaz package

Note: my custom packet is nvidia-173xx, libsdl-opengl, libsdl-sound, anon_proxy_server,

fontmatrix, caduntu, openAL_ALUT several games and library.

After that, when i want copy/paste my unofficial packages to my undigest folder

I'm missing something important, no 5 - 6 that files to setting up my "undigest mirror" packages. Tomorrow I will back to using Tazwok again

Thanks for All...

Offline

#2 2011-09-16 18:32:48

godane
Administrator
Registered: 2011-03-30
Posts: 22

Re: "tazwok" create 5 - 6 important files but not "cookutils"

This is cause your cook doesn't build package database with every cook package. You have to do cook pkgdb /path/to/folder. Sadly you can't just throw packages in a folder and it to build package database. cook pkgdb only works if there build all the packages in your repo folder.

I have be working on my-cookutils to add alot of the features that tazwok has into cookutils. I don't think much of my-cookutils will ever get into official cookutils.

https://bitbucket.org/godane/my-cookutils

I hope this helps.

Offline

#3 2011-09-16 22:02:27

Saipul
Member
Registered: 2011-06-28
Posts: 87

Re: "tazwok" create 5 - 6 important files but not "cookutils"

Thanks... very-very-very thanks goodane about pointing me to use cook pkgdb,... becouse my english is very bad to understanding Documentations,.... finally I can found the Docs update in here http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html

for setup undigest mirror, just need my all unofficial Packages and 1 (one) file packages.list (generated from cook pkgdb or you can created manualy by hand) in the same directory that can be recognized by "tazpkg get-install" to install like official packages and not using "tazpkg install /path/to/packages/folder" again.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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