Difference between revisions of "Bering-uClibc 5.x - Developer Guide - The Release Process"
(→Rebuild new release from source) |
m (fix typo) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
The target audience for this page are LEAF maintainers and admins. | The target audience for this page are LEAF maintainers and admins. | ||
− | The page describes the release process, mostly as reminder. Note: Various steps require (different) | + | The page describes the release process, mostly as reminder. Note: Various steps require (different) administrator privileges. |
== Rebuild new release from source== | == Rebuild new release from source== | ||
Line 19: | Line 19: | ||
Compile the build environment and all packages. | Compile the build environment and all packages. | ||
./tools/buildall.sh | ./tools/buildall.sh | ||
− | |||
− | |||
− | |||
==Commit Packages to SF SCM== | ==Commit Packages to SF SCM== | ||
− | Copy all generated lrp packages to [path to git]/leaf/bering- | + | Copy all generated lrp packages to [path to git]/leaf/bering-uclibc5/bin/packages. |
Commit and push into the git repository: | Commit and push into the git repository: | ||
− | [path to git]/leaf/bering- | + | [path to git]/leaf/bering-uclibc5/bin/packages git commit * |
− | [path to git]/leaf/bering- | + | [path to git]/leaf/bering-uclibc5/bin/packages git push |
==Create images and source tarball== | ==Create images and source tarball== | ||
Create the images: | Create the images: | ||
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch geode --image-type syslinux --variant serial |
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch i486 --image-type isolinux --variant vga |
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch i486 --image-type syslinux --variant serial |
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch i486 --image-type syslinux --variant vga |
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch i686 --image-type syslinux --variant vga |
− | fakeroot ./buildimage.pl -- | + | fakeroot ./buildimage.pl --kernel-arch i686 --image-type isolinux --variant vga |
It is a good idea to finally test the newly build version with qemu: | It is a good idea to finally test the newly build version with qemu: | ||
− | qemu-system-i386 -cdrom image/Bering- | + | qemu-system-i386 -enable-kvm -m 512 -cdrom image/Bering-uClibc_5.0-xx_i486_isolinux_vga.iso |
Create the sources tarball as required by SF policy: | Create the sources tarball as required by SF policy: | ||
− | cd [path to git] | + | cd [path to git]bering-uclibc$ |
− | + | git archive --format=tgz -9 HEAD -o [your/upload-dir]/Bering-uClibc_5.0-nn_src.tgz | |
==Tag release in SCM== | ==Tag release in SCM== | ||
− | [path to git]/leaf/bering- | + | [path to git]/leaf/bering-uclibc# git tag -a -m "Release of LEAF Bering-uClibc 5.0-nn" v5.0-nn |
− | [path to git]/leaf/bering- | + | [path to git]/leaf/bering-uclibc# git push origin v5.0-nn |
==Clean up Trac== | ==Clean up Trac== |
Latest revision as of 11:23, 4 September 2016
The Release Process | ||
---|---|---|
Prev | Bering-uClibc 5.x - Developer Guide |
Contents
Introduction
The target audience for this page are LEAF maintainers and admins.
The page describes the release process, mostly as reminder. Note: Various steps require (different) administrator privileges.
Rebuild new release from source
It is recommended to do a completly fresh build from the sources. Use the command:
./buildtool distclean
Compile the build environment and all packages.
./tools/buildall.sh
Commit Packages to SF SCM
Copy all generated lrp packages to [path to git]/leaf/bering-uclibc5/bin/packages. Commit and push into the git repository:
[path to git]/leaf/bering-uclibc5/bin/packages git commit * [path to git]/leaf/bering-uclibc5/bin/packages git push
Create images and source tarball
Create the images:
fakeroot ./buildimage.pl --kernel-arch geode --image-type syslinux --variant serial fakeroot ./buildimage.pl --kernel-arch i486 --image-type isolinux --variant vga fakeroot ./buildimage.pl --kernel-arch i486 --image-type syslinux --variant serial fakeroot ./buildimage.pl --kernel-arch i486 --image-type syslinux --variant vga fakeroot ./buildimage.pl --kernel-arch i686 --image-type syslinux --variant vga fakeroot ./buildimage.pl --kernel-arch i686 --image-type isolinux --variant vga
It is a good idea to finally test the newly build version with qemu:
qemu-system-i386 -enable-kvm -m 512 -cdrom image/Bering-uClibc_5.0-xx_i486_isolinux_vga.iso
Create the sources tarball as required by SF policy:
cd [path to git]bering-uclibc$ git archive --format=tgz -9 HEAD -o [your/upload-dir]/Bering-uClibc_5.0-nn_src.tgz
Tag release in SCM
[path to git]/leaf/bering-uclibc# git tag -a -m "Release of LEAF Bering-uClibc 5.0-nn" v5.0-nn [path to git]/leaf/bering-uclibc# git push origin v5.0-nn
Clean up Trac
Edit the milestone in LEAF Trac and either close the active tickets or move them to later version.
Add the new release on the LEAF Trac - Versions page and select it as new "Default", so the new version will be the default version when creating a new ticket.
Create README and Announcement
Upload files to SF FRS
Login to SF FRS Create New Folder, named with the release version. Change to the created folder and upload Readme and all the images.
Create Packages page
Wiki Changes
Known Issues
Changelog
Prev | Up |