diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-14 15:53:22 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-14 15:56:31 +1000 |
commit | 24f8255b7c65b3d485ec791115c4cf7e797cfcab (patch) | |
tree | 64c8f930037975e7f7ea1a58b93eaa36456353bc /openpower/scripts | |
parent | cd96a993c4c215e4631d56aa9ed935e9b6769bf4 (diff) | |
download | blackbird-op-build-24f8255b7c65b3d485ec791115c4cf7e797cfcab.tar.gz blackbird-op-build-24f8255b7c65b3d485ec791115c4cf7e797cfcab.zip |
scripts/release-notes: half-treat sequoia as witherspoon for package changes.
URGH.
We kind of treat sequoia as witherspoon so we can show updated packages
in release notes.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'openpower/scripts')
-rwxr-xr-x | openpower/scripts/release-notes | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openpower/scripts/release-notes b/openpower/scripts/release-notes index d0646d3d..138c28e8 100755 --- a/openpower/scripts/release-notes +++ b/openpower/scripts/release-notes @@ -72,10 +72,13 @@ closedir $dh; s/_defconfig// foreach (@begin_platforms); s/_defconfig// foreach (@end_platforms); +my $witherspoon_insanity; + if (($platform && $platform eq 'witherspoon') && -f "$end_worktree/openpower/configs/witherspoon-sequoia_defconfig") { @begin_platforms = ('witherspoon'); @end_platforms = ('witherspoon-sequoia', 'witherspoon-redbud'); + $witherspoon_insanity = 1; } elsif ($platform) { @begin_platforms = ($platform); @end_platforms = ($platform); @@ -143,6 +146,13 @@ foreach my $p (@end_platforms) { $dbh->do("ALTER TABLE i RENAME to 'end_".$p."_manifest'") or die $!; } +if ($witherspoon_insanity) { + $dbh->do("ALTER TABLE 'end_witherspoon-sequoia_manifest' RENAME to end_witherspoon_manifest"); + @end_platforms = grep { $_ != 'witherspoon-sequoia' } @end_platforms; + push @end_platforms, 'witherspoon'; + push @common_platforms, 'witherspoon'; +} + $dbh->do(<<'SQL') or die "$!"; CREATE TABLE package_upgrades ( PACKAGE TEXT, |