Changeset 34dfc16 in rtems-release


Ignore:
Timestamp:
Apr 12, 2017, 1:03:01 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
ac1773d04fa4b59d192abe1602a1a23739d59757
Children:
57926e1
Parents:
bcd2dd3
Message:

Use the top level rtems-tools and kernel packages. These are stamped.

The rtems-release-source packages are not version stamped so are not
suitable.

Clean any empty git repos if found. Creating rtems-tools and kernel
packages creates git source which is not allowed for a release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtems-release-sources

    rbcd2dd3 r34dfc16  
    114114                                     --without-release-url \
    115115                                     ${rtems_pkgs}
    116 
     116    #
     117    # Remove the top level packages because they do not have a VERSION file.
     118    #
     119    # These packages may or will be referencing git so remove those as well.
     120    #
     121    for p in rtems-tools rtems
     122    do
     123     rm sources/${p}-${release}.tar.${comp_ext}
     124     rm -rf sources/git/${p}.git
     125    done
     126    #
     127    # Remove the git, svn or cvs directory if empty.
     128    #
     129    for d in git svn cvs
     130    do
     131     find sources/${d} -type d -empty -delete
     132    done
     133    #
    117134    # If git, svn or cvs exist the release fails.
    118135    #
     
    138155                                      ${bare_pkgs}
    139156     #
    140      # If svn or cvs exist the release fails.
     157     # Remove the git, svn or cvs directory if empty.
     158     #
     159     for d in git svn cvs
     160     do
     161      find sources/${d} -type d -empty -delete
     162     done
     163     #
     164     # If svn or cvs exist the release fails. Git is ok.
    141165     #
    142166     if [ -d sources/svn -o -d sources/cvs ]; then
     
    180204  rm -rf ${workspace}
    181205
     206  #
     207  # Copy the stamped packages from the top level release directory to the
     208  # sources directory. The RSB requires all source be in the `sources`
     209  # directory under the release URL.
     210  #
     211  for p in rtems-tools rtems
     212  do
     213   cp ${p}-${release}.tar.${comp_ext} sources/${p}-${release}.tar.${comp_ext}
     214  done
     215
    182216  cd sources
    183217   rm -f ${checksum}sum.txt
Note: See TracChangeset for help on using the changeset viewer.