You are not logged in.
Pages: 1
After one year of trials, I want now a propper build environment - its necessary for people, who want to help on developement!
ok - I follow this guid, what seems to be the newest:
http://hg.slitaz.org/cookutils/raw-file/tip/doc/cookutils.en.html
after running "# tazdev gen-chroot && tazdev chroot" and "# cook setup --wok" I end now with this error:
/usr/bin/cook: line 1223: hg: not found
what should I do next?
thats what is standing in line 1223:
#[ -d "$WOK/$pkg-dev" ] && cook $pkg-dev
attachments are not working - so its here https://dl.dropboxusercontent.com/u/92249974/cook.txt - I skipped the non interesting parts
Offline
hg is the mercurial command.
[c]# tazpkg -gi mercurial[/c]
Update your cookutils
/etc/cook.conf
http://hg.slitaz.org/cookutils/file/00576a9b9138/cook.conf
# 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 tazlito"
Offline
ok - mercurial was missing - now evrything seams ok - I end up with:
All done, ready to cook packages :-)
I can cook Aruns example - slitaz-doc-4.4.tazpkg
but I am missing the /home/slitaz/wok directory with all the files
do I have to cd to /home/slitaz and
hg clone http://repos.slitaz.org/wok
Offline
The hg error was [c]cook setup --wok[/c] trying to [c]hg clone[/c] without mercurial installed.
[c]cook setup --wok[/c]
Should clone cooking wok in /home/slitaz now that mercurial is installed.
If not:
[c]cd /home/slitaz[/c]
[c]hg clone http://repos.slitaz.org/wok[/c]
Offline
sorry for my stupid question - there is a wok, but it is not able to be seen in pcmanfm
Offline
ok I am getting also here the error Missing dep (wok/pkg): busybox-boot 1.21.1
does this mean, that I need busybox-boot 1.21.1 in SliTaz 4.0 to build the 3.2.53 kernel?
root@slitaz:/home/slitaz# cooker pkg linux
Setup aufs chroot...
Cook: linux 3.2.53
================================================================================
QA: checking package receipt...
QA: Unable to reach: http://www.kernel.org/
Checking build dependencies...
Missing dep (wok/pkg): busybox-boot 1.21.1
Missing dep (wok/pkg): busybox-boot 1.21.1
ERROR: missing dep 2
ERROR: cook failed
Debug information
================================================================================
Cook date: 2013-12-16 19:45
ERROR: missing dep 2
ERROR: cook failed
================================================================================
Leaving aufs chroot...
/usr/bin/cook: .: line 77: can't open '/home/slitaz/wok/linux/taz/linux-*/receipt'
root@slitaz:/home/slitaz#
root@slitaz:/home/slitaz# tazpkg -gi busybox-boot 1.21.1
Unable to find: busybox-boot in the mirrored packages list.
Unable to find: get-busybox-boot in the mirrored packages list.
root@slitaz:/home/slitaz# tazpkg search busybox
Search result for: busybox
Installed packages
================================================================================
busybox 1.18.4 base-system.
================================================================================
1 installed package(s) found for : busybox
Available packages name-version
================================================================================
busybox-1.18.4
busybox-pam-1.18.4
busybox-static-1.18.4
kbd-busybox-1.2
ssfs-busybox-1.18.4
================================================================================
5 available package(s) found for : busybox
EDIT: I tried with Kernel 3.2.50 and did not work too
Offline
The chroot is built with 4.0 tazpkgs ?
The path to the chroot on the 4.0 host should be /home/slitaz/cooking/chroot
Go into the chroot:
[c]tazdev chroot[/c]
[c]cat /etc/slitaz-release[/c]
If it outputs 4.0
[c]tazpkg set-release cooking[/c]
[c]tazpkg up -c -r[/c]
Verify it will install cooking tazpkgs.
Upgrade the chroot to cooking:
[c]tazpkg up[/c]
The command to generate a cooking chroot:
[c]tazdev gen-chroot cooking[/c]
Offline
@mojo
the chroot environment must install
# tazpkg -gi slitaz-toolchain
right?
then..
# tazpkg up -c -r
# tazpkg up
... and appears busybox 1.21.1 .. etc. ..
Offline
Yes,to compile inside the chroot the tool-chain must be installed inside the chroot.
Generate the cooking chroot:
[c]tazdev gen-chroot cooking[/c]
Enter the chroot:
[c]tazdev chroot[/c]
Use cook to install SETUP_PKGS and clone the wok:
[c]cook setup --wok[/c]
From /etc/cook.conf
# 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 tazlito"
Offline
By default Tazdev creates a chroot in /home/slitaz/cooking/chroot
but you can specify a custom path in the argument.
1.
cookutils view doc/cookutils.en.html @ 621:00576a9b9138
http://hg.slitaz.org/cookutils/file/00576a9b9138/doc/cookutils.en.html
cook.conf: need tazlito to build flavors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 12 11:36:09 2013 +0000 (4 days ago ago)
[..]
60 By default Tazdev creates a chroot in /home/slitaz/cooking/chroot but you
61 can specify a custom path in the argument. The chroot location is not
[..]
2.
cookutils changeset 27:107f17f16133
http://hg.slitaz.org/cookutils/rev/107f17f16133
[..]
3.1 --- a/doc/cookutils.en.html Fri May 06 04:07:11 2011 +0200
3.2 +++ b/doc/cookutils.en.html Fri May 06 04:46:36 2011 +0200
3.3 @@ -29,16 +29,32 @@
3.4 who let you view cook logs in a nice and colored way.
3.5 </p>
3.6
3.7 +<h3>Cook usage</h3>
3.8 +<p>
3.9 + Cook provide a small built-in help usage that you can display with
3.10 + the command:
3.11 +</p>
3.12 +
3.13 +# cook usage
3.14 +
3.15 +3.16 <h3>Howto work</h3>
3.17 <p>
3.18 The first thing you will have to do before building packages is to setup
3.19 your environment. These 2 recommended way to work: cook directly on host
3.20 or cook in chroot to protect your host. In the case you want to work in a
3.21 - chroot you can use Tazdev to create one and chroot in it:
3.22 + chroot you can install and use Tazdev to create one and chroot in it:
3.23 </p>
3.24
3.25 # tazdev gen-chroot && tazdev chroot
3.26
3.27 +<p>3.28 + By default Tazdev create a chrrot in /home/slitaz/cooking/chroot but you
3.29 + can specify a custome path in argument. The chroot place is not important,
3.30 + when you will be in the chroot you will use standard SliTaz path such as
3.31 + /home/slitaz/wok for the wok directory or /home/slitaz/log for all the cook
3.32 + logs. As usual you can diplay tazdev help usage with: tazdev usage
3.33 +</p>
[..]
Offline
ok - there is a new error - cooking the kernel now wants a '/home/slitaz/wok/linux/taz/linux-*/receipt'
ERROR: cook failed
Debug information
================================================================================
Cook date: 2013-12-17 14:52
ERROR: cook failed
================================================================================
Leaving aufs chroot...
/usr/bin/cook: .: line 77: can't open '/home/slitaz/wok/linux/taz/linux-*/receipt'
root@slitaz:/home/slitaz# cd wok/linux
root@slitaz:/home/slitaz/wok/linux# ls
receipt source stuff
root@slitaz:/home/slitaz/wok/linux#
until now there was only a config in
/home/slitaz/wok/linux/source/linux-3.2.53/.config
but only after the 1. run
Offline
@mojo
I have done a new setup with tazdev gen-chroot cooking
after cat /etc/slitaz-release it still outputs 4.0
I run the whole upgrade prozess, install mercurial and git and xz
and now I am getting this errors:
root@slitaz:/home/slitaz# cat /etc/slitaz-release
cooking
root@slitaz:/home/slitaz# tazpkg up
Creating ...mkdir: can't create directory '': No such file or directory
[ Failed ]
Package Version Status
================================================================================
System is up-to-date...
================================================================================
159 installed packages scanned in 2s
root@slitaz:/home/slitaz# cooker pkg linux
Cook: linux 3.2.53
================================================================================
QA: checking package receipt...
QA: unknown category: base-system
Please, use one of:
ERROR: cook failed
Debug information
================================================================================
Cook date: 2013-12-17 17:16
================================================================================
root@slitaz:/home/slitaz#
the strange thing: whenever I run tazpkg I get this cant create error
EDIT: done again - with attachment now
Offline
In chroot [c]tazpkg -gi tazpkg --force[/c] to try to get rid of the cant create error.
You used command: [c]cooker pkg linux[/c]
Use: [c]cook linux[/c]
Cooker has it's own setup routine.
It installs the same $SETUP_PKGS as cook setup but does this in addition:
echo "mkdir's and touch files in: $SLITAZ"
mkdir -p $PKGS $LOGS $FEEDS $CACHE $SRC
for f in $activity $blocked $broken $commits $cooklist $command
do
touch $f
done
I've never setup/used cooker on my personal computers.
The only time I've ever built a cooking chroot and ran [c]cat /etc/slitaz-release[/c] and 4.0 was returned was when I was running on slitaz-4.0 and not run [c]tazdev chroot[/c] and was not in the chroot.
Offline
I tried also: cook linux - same result
does this mean you set up build environment on cooking and not on 4.0?
Offline
I have full installs of slitaz-4.0 and cooking on my build server.
Each install has both a 4.0 and cooking chroot installed.
This enables me to boot into either 4.0 or cooking install and build packages for both versions.
I also use the chroot with tazlito to build isos.
Offline
There is no dought, that a chroot installed on 4.0 from summer or earlier is working
ok I will try to install chroot now on cooking
Offline
tazdev issue ??
Mirror URL: mirror.slitaz.org/packages/cooking/
# cat /var/lib/tazpkg/mirror
http://mirror.slitaz.org/packages/4.0/
root@slitaz:/home/tux# tazdev -gc
Generating new chroot in: /home/slitaz/cooking/chroot
================================================================================
Mirror URL: mirror.slitaz.org/packages/cooking/ [ Done ]
Installing: slitaz-base-files [ Done ]
Installing: busybox [ Done ]
Installing: cookutils [ Done ]
Installing: tazpkg [ Done ]
Installing: lzma [ Done ]
Creating resolv.conf... [ Done ]
Restoring host packages list... [ Done ]
================================================================================
Ready to chroot with: tazdev -c
root@slitaz:/home/tux# tazdev -c
Mounting virtual filesystems... [ Done ]
Chrooting to: /home/slitaz/cooking/chroot
root@slitaz:/# cat /var/lib/tazpkg/mirror
http://mirror.slitaz.org/packages/4.0/
root@slitaz:/# cat /etc/slitaz-release
cooking
Offline
Hi All,
Thanks @kultex for remender us ! Is exatly what i need to. Ive been learning about slitaz & Linux and now im ready do developp.
I Want to develop my own distro based on slitaz. Something like CentOs is to Fedora, or Linux Mint is to Ubuntu.
Also, on my distro i dont have slitaz size restritions.
I know that im a little crazy, but i want to do a Distro 100% pt_PT/BR. Not only the distro himself, but also GRUB and Kernel.
In the Market only exists one Portuguese Distro that calls Caixa Magica, Ubuntu Based. So, i think that i have a Place on the market.
Its my Life Projet Hobbye. So, i think that a have a couple of years to do it.
All that to ask: Developper Environment Its ready ? Or you need help to finish him? I will use it.
Offline
Dear Neo_Pt,
Why don't you help Slitaz developers to make the 5th version? I mean, you look like someone with knowledges and time. Your help would be really appreciated.
Then you could easily manage the translation and porting.
Only my 2 cents,
Stephane
Offline
Hi @totoetsasoeur, i dont have english words ( Knowledge ) to speack in english, so im gonna speack with you in french ok. Then if you want/can translate to English.
Lut @totoetsasoeur je sais pas dire en anglais .... jai pas assez de conaissances sur linux pour aider a faire la version 5 de slitaz. Par contre cest exatement mon idee ce que tu vien de dire. Je veuz bien aider slitaz 5 mais, dabbord il faut que quelqun le faisse tu comprends ( jai pas maintenant le point de interrogation et les caracteres speciaux francais portugais etc ...)
je sait lire C mais je sais pas lecrire. cest ca mon probleme. ( dailleurs comme la langue anglaise mdr ! )
et aussi ... cest mon petit reve de faire une distro linux portugaise bien sur.
donc voila .... je peut, et je vais aider dans les packages, mais je ne peux pas aider dans la mise en place de slitaz 5, car jai pas assez de connnaissances sur linux ( C ) pour le faire.
Salut et bonnes fettes !
Offline
Oui je comprends.
Bonnes fêtes à toi aussi!
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]