fix 'duplicate default' error

The command ...
    repo init -u git://git.openstack.org/openstack/stx-manifest \
              -b r/2018.10'
results in ...
    fatal: manifest 'default.xml' not available
    fatal: duplicate default in
    /mnt/hdd1/designer/slittle1/stx-2018.10/.repo/manifests/default.xml

This is due to having two <default> elements in the manifest.
   <default remote="stx-staging" revision="r/2018.10"/>
   <default remote="starlingx" revision="r/2018.10"/>

The default is global, not per remote, so this was never going
to work.

Fix is to delete this line...
   <default remote="stx-staging" revision="r/2018.10"/>

Change-Id: I19a48247df7fb0e51ad980a0b299079d1932544e
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2019-03-15 11:04:58 -04:00
parent 273f976e64
commit 2eefb5974e
1 changed files with 0 additions and 1 deletions

View File

@ -11,7 +11,6 @@
<!-- for tests/experiments -->
<remote name="stx-staging" fetch="https://github.com/starlingx-staging"/>
<default remote="stx-staging" revision="r/2018.10"/>
<default remote="starlingx" revision="r/2018.10"/>
<project remote="starlingx" name="stx-tools.git" path="stx-tools"/>