Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:cookbook:buildhost [2010/07/08 15:14] – external edit 127.0.0.1 | en:cookbook:buildhost [2017/04/25 17:32] (current) – linea | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== SliTaz Build Host (tank) ====== | ====== SliTaz Build Host (tank) ====== | ||
| - | SliTaz build host info and howto. | + | SliTaz build host info and howto. |
| ===== Folders in: / | ===== Folders in: / | ||
| Line 7: | Line 7: | ||
| * cooking/ - Cooking chroot and flavors. | * cooking/ - Cooking chroot and flavors. | ||
| * stable/ - Stable tree. | * stable/ - Stable tree. | ||
| + | * undigest/ - Undigest tree. | ||
| * repos/ - All the project repos (where the commits are pushed). | * repos/ - All the project repos (where the commits are pushed). | ||
| - | * www/ - Virtual hosts (website, hg, boot, people, etc). | + | * www/ - Virtual hosts (boot, people, etc). |
| ===== Using tazdev ===== | ===== Using tazdev ===== | ||
| Line 18: | Line 19: | ||
| </ | </ | ||
| - | ===== Cooking | + | ===== Cooking |
| - | You can use the undigest wok in the chroot environment | + | Maintainers have root access and some have write access |
| - | To build packages | + | Everything is cooked |
| < | < | ||
| - | $ ln -s / | + | # conspy |
| </ | </ | ||
| - | You can copy files with gFTP-sftp-scp directly into the wok or from the current directory: | + | <note tip>Dont forget to update the chroot |
| - | < | + | In the event of a reboot or trouble |
| - | $ cp -a package undigest/ | + | |
| - | $ su -c " | + | |
| - | /# cd home/ | + | |
| - | /# tazwok cook package | + | |
| - | /# exit | + | |
| - | $ ls undigest/ | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Cooking official packages ===== | + | |
| - | + | ||
| - | Maintainers have root access and some have write access to the main mirror at mirror.slitaz.org, | + | |
| - | + | ||
| - | Everything is cooked in a chroot | + | |
| < | < | ||
| - | # | + | /# cooker |
| + | /# cooker pkg pkgname | ||
| </ | </ | ||
| - | Cook all the last commited packages or cook everything with ' | + | To get out of conspy press [ESC] 3x times, don't exit the chroot. If you have write access |
| - | < | + | ===== Cooking undigest packages ===== |
| - | /# tazbb cook-commit | + | |
| - | </ | + | |
| - | If needed (tazbb does this automatically), you can remove all the old packages and then rebuild the lists manually: | + | On Tank we run the undigest cooker under tty6, using conspy: |
| < | < | ||
| - | /# tazbb clean-up | + | $ su |
| - | /# tazwok gen-list --text | + | # conspy |
| - | /# exit | + | # |
| + | or | ||
| + | # | ||
| </ | </ | ||
| - | |||
| - | If you have write access to the mirror, you can make a dry-push to check and then upload; push will also remove any old packages on the mirror. | ||
| ===== Stable packages ===== | ===== Stable packages ===== | ||
| Line 70: | Line 57: | ||
| < | < | ||
| - | # | + | # |
| </ | </ | ||
| Line 81: | Line 68: | ||
| </ | </ | ||
| - | ===== Update website by hand ====== | + | ===== Recreate a chroot |
| - | The Website and packages web interface are updated nightly by cron and can also be updated by hand (used on the day of release for example): | + | If a chroot seems broken or needs to be rebuilt. Exit the chroot and unmount the virtual system (/home is kept) as root. From the corresponding conspy session: |
| < | < | ||
| - | # tazdev | + | # tazdev |
| + | # tazdev gen-chroot | ||
| + | # tazdev chroot | ||
| + | /# tazpkg recharge | ||
| + | /# cook setup | ||
| + | /# cooker | ||
| </ | </ | ||
| + | |||