Add new debian package for grubby in order for the ansible
playbooks and puppet modules to complete.
Story: 2009101
Task: 44402
Test Plan
PASS Build Pakcage
PASS Add package to ISO
PASS Boot ISO
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: If7489106cafd8c1283ffdb24c9f14dfe9c480c39
This commit results in no change to actual code. It
cleans up the following issues in the meta patches:
- some patches generated fuzz and offset warnings
- patch file names do not match that generated by
git format-patch
- some patches were not in git format, did not have
a proper git header
- some patches were not signed off by anybody
- file names contained grub2 which is redundant
- one patch added a blank line to the end of a file
generating a warning, and a subsequent patch removed
it. This has now been squashed out.
There are 13 patches in total, they were numbered 1-14 with
4 being absent. They are now numbered 1-13.
Verification:
Built and captured the output, verified that there are no
more fuzz and offset warnings.
Closes-Bug: 1959037
Change-Id: I8056adf3ee96dc036262aa8c2d9eecfc353cc5ba
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Grub unit tests do not like more than 1 CPU being
specified when building the package. So set the jobs
to 1 in the meta_data.yaml. Build will be slower but
at least it will build.
Test Plan:
Pass: successfully build test
Pass: successfully install test
Pass: successfully boot test
Depends-On: https://review.opendev.org/c/starlingx/root/+/821048
Story: 2009221
Task: 43679
Change-Id: I8bda78819a14995618d4504471d24b0ffebb6ca2
Signed-off-by: Charles Short <charles.short@windriver.com>
Porting CentOS patch 1001-add-tboot.patch
Ignore 3 CentOS patches:
a) 1000_linux-mktitle-de-brand-the-grub.cfg-menu.patch
It replaces "CentOS" with "Linux" in grub menu, that is
introduced by a patch from grub2-2.02-0.86.el7.centos.src.rpm.
0176-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
b) 1002-Don-t-write-trailing-colon-when-populating-MAC-strin.patch
It is the supplement patch of 0263-Fix-grub_net_hwaddr_to_str.patch,
which is from grub2-2.02-0.86.el7.centos.src.rpm. The original issue
is introduced by 0248-Add-support-for-non-Ethernet-network-cards.patch,
which is also from grub2-2.02-0.86.el7.centos.src.rpm.
3) 1003-tftp-roll-over-block-counter-to-prevent-timeouts-wit.patch
It is duplicate of the patch in grub2_2.04-20.debian.tar.xz.
debian/patches/tftp-roll-over-block-counter.patch
Other patches in centos/meta_patches modify the spec file. The grub2
for each distributions is deep customized, so just ignore them.
BTW, not using dl_path, because the package on salsa.debian.org has
building issue.
Test Plan:
Pass: successfully build test
Pass: successfully install test
Pass: successfully boot test
Story: 2009221
Task: 43679
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Icfd2f1993fd123824155c94da26c0ddf9a9c0873
The block number is a 16-bit counter which only allows to fetch
files no bigger than 65535 * blksize. To avoid this limit, the
counter is rolled over. This behavior isn't defined in RFC 1350
but is handled by many TFTP servers and it's what GRUB was doing
before implicitly due an overflow.
Closes-Bug: #1938559
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I4a0c04cf15b87f6f40c7a979d20fb3c57657cefd
Avoid to the heap-based buffer overflow.
Upgrade to the below package to fix the CVE issue:
grub2-2.02-0.86.el7.centos.src.rpm
At the same time adjust the context and drop
0004-grub2-remove-32b-requirements.patch since it already had been
included in the new version.
Story: 2008532
Task: 41664
Change-Id: I7943127323ee28457ffe0a4ece54764633f86d9f
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.
Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
Closes-Bug: 1814360
Test Case:
Deploy 2 controller and 1 compute on bare metal
Change-Id: I4ec59180a28ac743935601332cb8f210e87e4a85
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
When do Centos 7.5 upgraded, some patches didn't resolve and cause
the fuzzy in the line numbers of the patches. And it may cause
.orig file is created when do patch. And this .orig file will lead
to rpm packaging failure due to the unexpected and unpackaged .orig
file.
Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611
Solution:
Safest solution is to de-fuzz our patches.
Story: 2003389
Task: 26755
Change-Id: I4bcf73175e81083a575d35d4b1448b29b11beaf7
Signed-off-by: slin14 <shuicheng.lin@intel.com>
Uprev grub2 package to 0.64. This required regeneration and
restructuring of the patch and meta-patch files
Depends-On: https://review.openstack.org/#/c/578440
Change-Id: I462cefad6dd929601f6368364ef83327f69be161
Signed-off-by: Scott Little <scott.little@windriver.com>
Move content from stx-gplv3 into stx-integ
Packages will be relocated to
stx-integ:
base/
anaconda
crontabs
dnsmasq
rsync
database/
python-psycopg2
filesystem/
parted
grub/
grub2
security/
python-keyring
Change-Id: Ib2807e3762a9ad17ef246398ab8e8cb7a7cf335c
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>