Skip to contentSkip to conversation

Use adeos 1.3 or 1.4 for the buildbot?

Xenomai-core Niklaus Giger 2 participants 2 messages Sep 20, 2006

lore
Share & tools
lore
#0 lore raw

Hi

Since a few days we have for i386 2.6.17 and powerpc 2.6.14 kernels two versions of the adeos-ipipe patch in the trunk.

My buildbot scripts assumed that I find just one of the for a given kernel version. Was this a wrong assumption? For the moment I fixed it to use 1.4. Is this okay?

What was the reason to have to versions at the same time in the repo? Shouldn't at least the reason to choose one of them be documented in the README?

Another question. How should buildbot handle the case when it detects a newer version of the patch? Clean the whole build directory? Or does scripts/prepare_kernel.sh handle this case? This question is only relevant for the quick build, as for a full build I always clean the build directory.

Best regards

Signature · 1 line
Niklaus Giger
#1 lore raw
Quoted 9 lines · Niklaus Giger

Hi

Since a few days we have for i386 2.6.17 and powerpc 2.6.14 kernels two versions of the adeos-ipipe patch in the trunk.

My buildbot scripts assumed that I find just one of the for a given kernel version. Was this a wrong assumption? For the moment I fixed it to use 1.4. Is this okay?

What was the reason to have to versions at the same time in the repo?

Quoted 3 lines

Shouldn't at least the reason to choose one of them be documented in the README?

Shipping two patches for the same kernel/arch combo can happen, particularly when the most recent one introduces significant changes. Adeos patches are being validated as throroughly as possible on different platforms before they are released, but still, rainy days happen. So this is basically a safety measure, allowing users to downgrade easily, in the event of breakage. We could just point them at the Adeos download area for the same purpose, but it seems simpler to make a fallback option immediately available at hand within the Xenomai distro. The older patch normally disappears from the next release.

Quoted 5 lines

Another question. How should buildbot handle the case when it detects a newer version of the patch? Clean the whole build directory? Or does scripts/prepare_kernel.sh handle this case? This question is only relevant for the quick build, as for a full build I always clean the build directory.

It would be nice if buildbot always used the most recent patch, to participate in further validation. prepare-kernel.sh always suggests the most recent patch when the kernel tree needs to be patched. But if the tree has been previously patched, then it skips this step, regardless of the Adeos version found, so I guess that a full cleanup is being needed.

Quoted 2 lines

Best regards

Signature · 1 line
Philippe.