[Olsr-users] stable = pre-0.6.5 ?

Ferry Huberts (spam-protected)
Mon Nov 19 22:02:05 CET 2012



On 19/11/12 21:55, Henning Rogge wrote:
> On Mon, Nov 19, 2012 at 9:52 PM, Ferry Huberts <(spam-protected)> wrote:
>> On 19/11/12 21:41, Michel Blais wrote:
>>>
>>> So If I understand, instead of using
>>>
>>> buildroot = src-git olsrd http://olsr.org/git/olsrd.git;stable
>>
>> The stable branch no longer exists, so this should not build.
>> If it does build then you have a problem.
>
> Maybe OpenWRT first clones the repository and then fails to detect the
> "cannot switch to stable branch" error... which means it builds the
> default branch. *G*


or maybe (a combination of)
- he works from an existing clone (with the stable branch still in it)
- the openwrt does _not_ do a prune.


The correct way for a build system is:
   git fetch origin --prune
   git reset --hard origin/<tree-ish>
   ...do the rest of the build...


-- 
Ferry Huberts




More information about the Olsr-users mailing list