#2521 new defect

RSB cannot build RTEMS 4.9 (part 2) (includes a fix)

Reported by: Goetz Pfeiffer Owned by: Chris Johns
Priority: normal Milestone: 4.9.5
Component: tool/rsb Version: 4.9
Severity: normal Keywords: 4.9 RSB git
Cc: Blocked By:


The RTEMS resource builder cannot build RTEMS 4.9 (4.9.6 to be specific) due to the way it calls git.

In file rtems/config/tools/rtems-kernel-4-1.cfg it is specified that a specific version of the RTEMS kernel is checked out with "git checkout [branch or tag]". After this a "git pull" is performed. This fails if the version that was checked out was a tag and not a branch.

I propose to remove "git pull" here. If we want to have a specific version of the RTEMS kernel with a tag, a "git pull" even if it worked, would mean that we no longer had the tagged version. If we want to have the latest RTEMS kernel version from a branch we should create extra *.bset files (e.g. 4.9-latest/rtems-powerpc.bset).

I have added a patch RSB to this ticket.

Attachments (1)

rtems-kernel-git-fix.patch (1.2 KB) - added by Goetz Pfeiffer on 01/12/16 at 09:46:52.
Fix git command for fetching the RTEMS kernel

Download all attachments as: .zip

Change History (2)

Changed on 01/12/16 at 09:46:52 by Goetz Pfeiffer

Attachment: rtems-kernel-git-fix.patch added

Fix git command for fetching the RTEMS kernel

comment:1 Changed on 08/14/17 at 00:53:40 by Chris Johns

These tickets need funding to be fixed.

Note: See TracTickets for help on using tickets.