SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:devnotes:cook-flavor-from-scratch [2011/01/22 16:52]
gokhlayeh [Cook toolchain] Fix an error in commandline
en:devnotes:cook-flavor-from-scratch [2011/01/23 02:22]
gokhlayeh [Cook packages of a flavor] FIX
Line 76: Line 76:
 You need to tell to tazpkg that you now have a local version of experimental:​ You need to tell to tazpkg that you now have a local version of experimental:​
 <​code>​ <​code>​
 +# If you had already defined the experimental repository:
 echo "/​home/​slitaz/​experimental/​packages"​ > /​var/​lib/​tazpkg/​undigest/​experimental/​mirror echo "/​home/​slitaz/​experimental/​packages"​ > /​var/​lib/​tazpkg/​undigest/​experimental/​mirror
 +tazpkg recharge
 +# Else:
 +tazpkg add-undigest experimental /​home/​slitaz/​experimental/​packages
 +echo experimental > /​var/​lib/​tazpkg/​priority
 tazpkg recharge tazpkg recharge
 </​code>​ </​code>​
Line 90: Line 95:
 As packages has been re-cooked, you have to update the packages repository once again: As packages has been re-cooked, you have to update the packages repository once again:
 <​code>​ <​code>​
-tazwok check-incoming ​--SLITAZ_VERSION=experimental+tazwok check-incoming
 </​code>​ </​code>​
  
-The previous ​chroot ​is now useless, let's remove it to let tazwok re-build it with the new version of toolchain ​the next time: +Still in the chroot ​for the next step.
-<​code>​ +
-# Legacy adress: +
-rm -r /​home/​slitaz/​experimental/​chroot +
-# Chroot in /tmp: +
-rm -r /​tmp/​chroot-experimental +
-</​code>​ +
- +
 ==== Cook packages of a flavor ==== ==== Cook packages of a flavor ====
  
Line 108: Line 105:
 cd /​home/​slitaz/​experimental/​flavors cd /​home/​slitaz/​experimental/​flavors
 hg clone http://​hg.slitaz.org/​flavors . hg clone http://​hg.slitaz.org/​flavors .
-</​code>​ 
- 
-Create chroot and enter into it: 
-<​code>​ 
-tazwok chroot --SLITAZ_VERSION=experimental 
 </​code>​ </​code>​
  
 
en/devnotes/cook-flavor-from-scratch.txt · Last modified: 2011/02/22 22:59 by linea