pti/rtp.git
2 years agoopenvswitch: update for stx 5.0 45/8245/1
Jackie Huang [Wed, 12 May 2021 08:26:46 +0000 (16:26 +0800)]
openvswitch: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I88acadbd1c100b725737003baf7a6a41c318b3a5

2 years agoopenssh: update for stx 5.0 44/8244/1
Jackie Huang [Wed, 12 May 2021 08:26:46 +0000 (16:26 +0800)]
openssh: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: If8c8192b55f6557f32fc4c68fc6cce8b14753ca4

2 years agoopenldap: update for stx 5.0 23/8223/1
Jackie Huang [Wed, 12 May 2021 08:26:46 +0000 (16:26 +0800)]
openldap: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I65496bb26f338fa629ddfd33695e30b86751ec15

2 years agontp: update for stx 5.0 22/8222/1
Jackie Huang [Wed, 12 May 2021 08:26:46 +0000 (16:26 +0800)]
ntp: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ica43fab67d4270bfbb418c407a787952d6e22957

2 years agomlx4-init: update for stx 5.0 09/8209/1
Jackie Huang [Wed, 12 May 2021 08:26:46 +0000 (16:26 +0800)]
mlx4-init: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

* remove the local copy of license file

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ica466ca7a8806ec3e509c674304a64fbd72a6bed

2 years agomemcached: update for stx 5.0 08/8208/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
memcached: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Idce60089c789e87858f915287c52eebf1731fd33

2 years agologrotate: update for stx 5.0 07/8207/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
logrotate: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I65e4562de4733b3acbb66cbfe7608f97de72f93f

2 years agoiscsi-initiator-utils: update for stx 5.0 06/8206/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
iscsi-initiator-utils: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I95a7485cd12562fdf508420a6a40c2a362120c1f

2 years agoiptables: update for stx 5.0 05/8205/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
iptables: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id8810a316c569e2c5cca7399d5aa9be4d5d7b528

2 years agosystemd: update for stx 5.0 04/8204/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
systemd: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I3a76d467ea519a6523685897f5636535a697a142

2 years agoprocps: update for stx 5.0 03/8203/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
procps: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1d7fc5593018c8bf31ffdde6f22f0676e6f1ba0d

2 years agoinitscripts: update for stx 5.0 02/8202/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
initscripts: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia0e1184f6dd16fc0456fd6718412ff9f2bb01b4c

2 years agohaproxy: update for stx 5.0 01/8201/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
haproxy: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib9268db594a96cafccd01c9a70b8995399a6c0b3

2 years agolighttpd: update for stx 5.0 00/8200/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
lighttpd: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

* move the patch ighttpd-init-script-chroot.patch
  to stx-config-files-source since it's for the
  source in 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia083263d8cd25fe72918eb831235220fd445fd4a

2 years agonfs-utils: update for stx 5.0 95/8195/1
Jackie Huang [Wed, 16 Jun 2021 08:25:24 +0000 (16:25 +0800)]
nfs-utils: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

* move the patch nfsserver-remove-the-f-option-for-rpc.mountd.patch
  to stx-config-files-source since it's for the source in
  'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I08dce044e9a51a6f43231a6644705124e8a436ec

2 years agodocker-ce: update for stx 5.0 94/8194/1
Jackie Huang [Thu, 3 Jun 2021 07:57:33 +0000 (15:57 +0800)]
docker-ce: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I28c4e8fee64204a908a392cbc51fd0961113d978

2 years agodnsmasq: update for stx 5.0 93/8193/1
Jackie Huang [Wed, 16 Jun 2021 07:13:27 +0000 (15:13 +0800)]
dnsmasq: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* combine the bbappend into bb file

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia58aa3aea24daea3c3ede2d2a650884ed0494a6a

2 years agodhcp: update for stx 5.0 92/8192/1
Jackie Huang [Wed, 16 Jun 2021 07:13:27 +0000 (15:13 +0800)]
dhcp: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5de57c954b47935753a0d62f762877e855897ed5

2 years agoaudit: update for stx 5.0 91/8191/1
Jackie Huang [Wed, 16 Jun 2021 07:13:27 +0000 (15:13 +0800)]
audit: update for stx 5.0

* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I3bfe995a5df8f42b544b9d7b521c4e6e5de86f82

2 years agostx-config-files-source: add new recipe 90/8190/1
Jackie Huang [Wed, 16 Jun 2021 07:06:05 +0000 (15:06 +0800)]
stx-config-files-source: add new recipe

The config-files repo includes StarlingX specific config
files for many packages, to reduce download and increase
re-use of this repo, add this new recipe and inhert stx-source
so it will be used as a work-shared directory.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1ce31c7685296cf0d67013e0a8b19e06fecb084f

2 years agopython: change branch to 'main' for some recipes 89/8189/1
Jackie Huang [Thu, 24 Jun 2021 03:13:46 +0000 (11:13 +0800)]
python: change branch to 'main' for some recipes

The default branch in github for the following python
recipes is changed from 'master' to 'main':
- python-iniparse
- python-pynacl

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2ab9aab4561886fe6a2df4bc66909661af90a8fe

2 years agopuppet: change branch to 'main' for some recipes 88/8188/1
Jackie Huang [Thu, 24 Jun 2021 03:13:46 +0000 (11:13 +0800)]
puppet: change branch to 'main' for some recipes

The default branch in github for the following recipes
is changed from 'master' to 'main':
- puppetlabs-apache
- puppetlabs-concat
- puppetlabs-firewall
- puppetlabs-haproxy
- puppetlabs-inifile
- puppetlabs-mysql
- puppetlabs-postgresql
- puppetlabs-stdlib

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1fe4754be32b7ef40d73b99e605b943d6a7499d2

2 years agopuppet: fix for the branch change 87/8187/1
Jackie Huang [Thu, 24 Jun 2021 02:18:21 +0000 (10:18 +0800)]
puppet: fix for the branch change

The branch stable/pike is gone from upstream for these
puppet packages, and they don't need to be upgraded in
stx 5.0, so just add "nobranch=1" to bypass the branch
check, no actual source code update for these recipes.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6e8a62f44230cda16070e1642e55f804d703d116

2 years agopuppet-oslo: update for stx 5.0 86/8186/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppet-oslo: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1ebd7cf04a7adc36abb7ee3b65f4542b31496184

2 years agopuppetlabs-stdlib: update for stx 5.0 82/8182/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppetlabs-stdlib: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2b0d32c2f9e81a2308abe0d2f71c53ee439965c4

2 years agopuppetlabs-rabbitmq: update for stx 5.0 81/8181/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppetlabs-rabbitmq: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5ef80b5ca30e08d28635f58c076be041d848d6d4

2 years agopuppetlabs-postgresql: update for stx 5.0 80/8180/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppetlabs-postgresql: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie1e50c008aaf0f2deab050c8b818d61c537488a7

2 years agopuppetlabs-lvm: update for stx 5.0 79/8179/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppetlabs-lvm: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie8cac6a4de8701e83d179e45c18b25c60e1f3ec9

2 years agopuppetlabs-haproxy: update for stx 5.0 78/8178/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppetlabs-haproxy: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Idef3c83cb8a0b4d3589aa59d4ef84f4e79541f9f

2 years agopuppet-dnsmasq: update for stx 5.0 77/8177/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppet-dnsmasq: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Iffc759a8f92147cd45542789bf25bb7ad17db915

2 years agopuppet-ceph: update for stx 5.0 76/8176/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppet-ceph: update for stx 5.0

* inherit stx-metadata to help apply patches from
  stx 'integ' repo

* remove the local copy of stx patches except
  0005-Remove-puppetlabs-apt-as-ceph-requirement.patch,
  since the original patch can't be applied directly
  and the local one was rebased.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I05df792df054f5a64c6e11d531d3950f474a21dd

2 years agopuppet-network: update for stx 5.0 75/8175/1
Jackie Huang [Tue, 8 Jun 2021 02:32:10 +0000 (10:32 +0800)]
puppet-network: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id893dde79f56fd6efbf6f0e018ab80beb8f47bc4

2 years agopuppet-keystone: update for stx 5.0 74/8174/1
Jackie Huang [Wed, 2 Jun 2021 07:15:39 +0000 (15:15 +0800)]
puppet-keystone: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I327b5f67337d090a2290070d5c1b3fcc826823be

2 years agopuppet-drbd: update for stx 5.0 73/8173/1
Jackie Huang [Wed, 2 Jun 2021 08:06:29 +0000 (16:06 +0800)]
puppet-drbd: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I056261983a7241f3f32a258ff38b9bb9742cbb0d

2 years agopuppet-openstacklib: update for stx 5.0 66/8166/1
Jackie Huang [Wed, 2 Jun 2021 08:23:04 +0000 (16:23 +0800)]
puppet-openstacklib: update for stx 5.0

* inherit stx-metadata to help apply patches
  from stx 'integ' repo

* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I919b1ea65ba79f6ba0f3b830ca3e1a35fdbc2548

2 years agopython-django-horizon: update for stx 5.0 65/8165/1
Jackie Huang [Thu, 3 Jun 2021 01:49:41 +0000 (09:49 +0800)]
python-django-horizon: update for stx 5.0

* inherit stx-metadata to help apply patches and
  install files from stx 'upstream' repo

* remove the local copy of stx files

* update the do_install according to the spec

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I345424e3d57e9e12765122be730326f20fd1f13d

2 years agolldpd: update for stx 5.0 64/8164/1
Jackie Huang [Fri, 4 Jun 2021 09:49:02 +0000 (17:49 +0800)]
lldpd: update for stx 5.0

* inherit stx-metadata to help apply patches and
  install files from stx 'integ' repo

* remove the local copy of stx files and patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I8e768c889caa4907818f95cdb3ac007cd337f2e8

2 years agopython-keystone: uprev to 16.0.0 for stx 5.0 63/8163/1
Jackie Huang [Thu, 3 Jun 2021 06:15:10 +0000 (14:15 +0800)]
python-keystone: uprev to 16.0.0 for stx 5.0

* update the branch and SRCREV
* update the preferred version
* use BPN instead of PN in some places
* inherit stx-metadata to help apply patches and
  install files from stx 'upstream' repo
* remove the local copy of stx patches

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I999487bd99733a63d3a835ea595718a59349de6d

2 years agoAdd a method to re-use meta data from stx repo 62/8162/1
Jackie Huang [Fri, 4 Jun 2021 07:49:39 +0000 (15:49 +0800)]
Add a method to re-use meta data from stx repo

StarlingX has many repos to maintain meta data (patches and config files)
for packages, previously we added a local copy of those files as bitbake's
metadata for each recipe which may cause maintenance issue.

So add a method to avoid that, which includes:

* Add new recipes stx-${STX_REPO}-source for thoes stx git repo and put
  them into the work-shared directory so they can be used by other recipes
  that need the stx  meta data, so it will reduce downloads and increase
  re-use.

* Add stx-source.bbclass for easily creating the work-shared recipes

* Add stx-metadata.bbclass for those recipes that need the stx meta data,
  it will add dependency on the stx-${STX_REPO}-source and redefine the
  SRC_URI before do_patch, so it can find the patches in stx repo in
  work-shard and do the patch, and other meta data like config files can
  be used in do_install, then the local copy of those meta data can be
  removed, and for the future upgrade, we don't need to manually check
  and update those meta data any more.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ieb27b4886e3cd9ccb4a9cbf63085bf28dda29549

2 years agostx-metal: add vlan setting for debain style networking in kickstart 59/8159/1
Jackie Huang [Mon, 23 Nov 2020 01:57:19 +0000 (09:57 +0800)]
stx-metal: add vlan setting for debain style networking in kickstart

Yocto uses debain style for networking, the previous patch
kickstarts-add-setting-for-debain-style-networking.patch
has fixed the non-vlan scenario but not for vlan scenario,
so add vlan settings as well.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I40af6b71367cc9b6aebda2ca2f451b99d4693de5

2 years agopuppet-network: add vlan support for poky-stx.rb 58/8158/1
Jackie Huang [Mon, 23 Nov 2020 01:49:41 +0000 (09:49 +0800)]
puppet-network: add vlan support for poky-stx.rb

Current rules in poky-stx.rb doesn't recognize vlan mode,
so add the mode option and corresponding handling for vlan
to support vlan.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I31fb41372b61ffef7c4410ab2e5b9ef9742cb683

2 years agostx-puppet: add re-tries to workaround docker login failure 57/8157/1
Jackie Huang [Mon, 23 Nov 2020 02:01:04 +0000 (10:01 +0800)]
stx-puppet: add re-tries to workaround docker login failure

Add re-tries to workaround the follwoing docker login failure:
Error: docker login registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]
Error: /Stage[main]/Platform::Kubernetes::Master::Init/Exec[login local
       registry]/returns: change from notrun to 0 failed: docker login
       registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I83bc73bb0294428ca018ffd52c92d0dc8aaa8a0f

2 years agostx-puppet: workaround to ignore known errors 56/8156/1
Jackie Huang [Tue, 3 Nov 2020 08:13:10 +0000 (16:13 +0800)]
stx-puppet: workaround to ignore known errors

Add a workaround in puppet-manifest-apply to ignore known
errors in puppet log so the puppet manifest can complete.

The "remount /scratch" error is known to be harmless so
add it to be ignored.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I916511a8dfdb0a4a26bceeb4fd3e50d91fea7747

2 years agolinux-yocto-stx: add feature to support x2apic 55/8155/1
Jackie Huang [Thu, 26 Nov 2020 03:35:04 +0000 (11:35 +0800)]
linux-yocto-stx: add feature to support x2apic

This feature enables x2apic support on CPUs that have this feature.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5acc155563173d9f2db51fb060d5b37be1738dd8

2 years agometa-stx: re-name and re-org to align with upstream 54/8154/1
Jackie Huang [Thu, 5 May 2022 11:49:22 +0000 (19:49 +0800)]
meta-stx: re-name and re-org to align with upstream

* meta-stx renamed to meta-starlingx
* re-org the directories
* based on the tag 'warrior-stx3.0-duplex' in upstream repo

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia39b29eeb0be2c5be6e07349baa1a4f5eff6b5e0

2 years agobuild_inf.sh: change the protocal for github repo 93/8093/1
Jackie Huang [Thu, 21 Apr 2022 01:21:18 +0000 (18:21 -0700)]
build_inf.sh: change the protocal for github repo

The git protocal was stop on 2022-03-15 for all github repos according
to:
https://github.blog/2021-09-01-improving-git-protocol-security-github/

So change the protocal for github repo to fix the download errors.

Issue-ID: INF-270

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I99a5ff4794d5684056200c9d7344789afd3fd7b9

2 years agogitignore: ignore the editor config files 85/8085/1
Jackie Huang [Tue, 19 Apr 2022 09:37:01 +0000 (17:37 +0800)]
gitignore: ignore the editor config files

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4eda6720c2a1b31e2fa1d1520850f017b76c1506

2 years agometa-oran: remove obsoleted layer and related scripts 84/8084/1
Jackie Huang [Tue, 19 Apr 2022 09:35:17 +0000 (17:35 +0800)]
meta-oran: remove obsoleted layer and related scripts

Remove the obsoleted meta-oran layer and related scripts, which
inchludes:

 - meta-oran layer
 - build_oran.sh script
 - related info in docs like docs/developer-guide.rst and README.md

Issue-ID: INF-256

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id66f0ab69c18d83feb69c93223d3e504422225ba

2 years agodocs/release-notes.rst: fix the version date 86/7386/2
Jackie Huang [Fri, 3 Dec 2021 06:30:37 +0000 (14:30 +0800)]
docs/release-notes.rst: fix the version date

fix the version date

Issue-ID: INF-243

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7f22c0f5be4923f2ac63191595c6d245f382802c

2 years agooran-shell-release.yaml: release image for E 64/7364/1
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
oran-shell-release.yaml: release image for E

release image for E 5th time

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I47f55ce6cb5fcacd3f73172006b0535c5f067fd5

2 years agooran-shell-release.yaml: release image for E 02/7302/1
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
oran-shell-release.yaml: release image for E

release image for E 4th time

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I8dc3dd55b56a0842e8b22e39ec5091aa682a7eb5

2 years agooran-shell-release.yaml: release image for E 99/7299/2
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
oran-shell-release.yaml: release image for E

release image for E 3rd time

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I88394762a18a4f3e5379128b2c05e1ae8ef897e5

2 years agolocal-mirrors.conf: add a downlaod mirror for haproxy 00/7300/1
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
local-mirrors.conf: add a downlaod mirror for haproxy

Add a downlaod mirror for haproxy to avoid the do_fetch
failure when the upstream one is corrupted.

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: If71f047a2b27427ca63fc2f149dff5eae3d6c302

2 years agooran-shell-release.yaml: release image for E 97/7297/1
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
oran-shell-release.yaml: release image for E

release image for E 2nd time

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I17f832c119bc510e628f968394ee12534196bf4b

2 years agooran-shell-release.yaml: release image for E 86/7286/1
Jackie Huang [Thu, 9 Dec 2021 07:26:57 +0000 (15:26 +0800)]
oran-shell-release.yaml: release image for E

release image for E 1st time

Issue-ID: INF-245

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5c76115fe71ff0050805568624b512b7db981c6e

2 years agodocs/installation--guide.rst: update for E release 78/7278/2
Jackie Huang [Fri, 3 Dec 2021 06:30:37 +0000 (14:30 +0800)]
docs/installation--guide.rst: update for E release

Update installation-guide for E release

Issue-ID: INF-243

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I36bf0c1d65abed48d37e9ddf6f13d7d17b9e4097

2 years agodocs/developer-guide.rst: update for E release 72/7272/2
Jackie Huang [Fri, 3 Dec 2021 06:30:37 +0000 (14:30 +0800)]
docs/developer-guide.rst: update for E release

Update developer-guide for E release

Issue-ID: INF-243

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I63c1d710e2699c0d6b2e4a5aea3a3bfcf16f02aa

2 years agodocs/release-notes.rst: update for E release 71/7271/1
Jackie Huang [Fri, 3 Dec 2021 06:16:39 +0000 (14:16 +0800)]
docs/release-notes.rst: update for E release

Update release notes for E release

Issue-ID: INF-243

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id3efe1db62ce1c379bfe791c42652ff78d9d0dac

2 years agopoky-stx-oran.conf: update the release name 70/7170/1
Jackie Huang [Thu, 2 Dec 2021 03:22:48 +0000 (11:22 +0800)]
poky-stx-oran.conf: update the release name

Update the release name for E Release.

Issue-ID: INF-242

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I14eda2c150064991a790f341fdc4f31118e142dd

2 years agoUpdate the information of Xiaohua Zhang. 99/6599/1
Xiaohua Zhang [Thu, 12 Aug 2021 08:34:42 +0000 (16:34 +0800)]
Update the information of Xiaohua Zhang.

Signed-off-by: Xiaohua Zhang <zhangxiaohua@chinamobile.com>
Change-Id: If47df445c57d6ad092f9cbcdbb69372c347bc35b

2 years agobase-files: update for stx 5.0 27/6527/1
Jackie Huang [Fri, 18 Jun 2021 08:03:07 +0000 (16:03 +0800)]
base-files: update for stx 5.0

The part for the installation of the /etc/issue has been moved
upstream meta-starlingx by the commit:

````````````````````````````````````````````````````````````
commit eb4455b2b058e2eee111c166b79271fb3989cb60
Author: Jackie Huang <jackie.huang@windriver.com>
Date:   Wed May 12 16:26:46 2021 +0800

    base-files: update for stx 5.0

    * inherit stx-metadata to help install updated files
      from stx 'config-files' repo

    * remove do_copy_config_files since it's not
      needed after using stx-metadata

    * install the issue* files from sub-dir
      centos-release-config

    Story: 2008952
    Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
````````````````````````````````````````````````````````````

So update the bbappend and only keep the part to change the
release name.

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia3a963970112606e16516d08f4ff2ad8f5b1b4dc

2 years agoINFO.yaml: update for PTL change 05/6505/1
Jackie Huang [Thu, 22 Jul 2021 00:37:24 +0000 (08:37 +0800)]
INFO.yaml: update for PTL change

* update for PTL change

* add comment for the yammllint rule to avoid the
  line-length error for links

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ibaea6935365c100e9995497d1dece7e0ce6a18df

2 years agorelease-notes.rst: update for D release 45/6445/1
Jackie Huang [Tue, 29 Jun 2021 03:07:38 +0000 (11:07 +0800)]
release-notes.rst: update for D release

Issue-ID: INF-216

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Iaa238e1dd1d9e5893080e949763467b585f9cc01

3 years agoAdd layer meta-stx-oran and distro poky-stx-oran 14/5814/1 dawn-rc0
Jackie Huang [Thu, 18 Mar 2021 02:58:53 +0000 (10:58 +0800)]
Add layer meta-stx-oran and distro poky-stx-oran

meta-stx will be replaced by meta-stx-oran after changing to
use meta-starlingx as the base layer, and only oran specific
contents like distro and release info, fixes for issue only
happened in oran, and etc.

And add distro 'poky-stx-oran' so that we can have different disto
configs for ORAN specific.

Issue-ID: INF-213

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I3d8c609d99b3516b7a75f21e44327f1236eeddc5

3 years agobuild_inf.sh: change to use upstream meta-sarlingx 13/5813/1
Jackie Huang [Thu, 24 Sep 2020 13:52:16 +0000 (21:52 +0800)]
build_inf.sh: change to use upstream meta-sarlingx

Change to use upstream meta-sarlingx from starlingx community
directly, so we will do the upgrade in starlingx and
do only ORAN specific here.

Issue-ID: INF-213

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I79e50400324701f398b86fa2beefa84602a4a2ca

3 years agometa-patches: remove 0003-fix-postgresql_openstack-PGDATA-install-error.patch 12/5812/1
Jackie Huang [Thu, 18 Mar 2021 02:03:28 +0000 (10:03 +0800)]
meta-patches: remove 0003-fix-postgresql_openstack-PGDATA-install-error.patch

This is fixed in meta-starlingx by commit:
===========================================================
commit d4ee39187200cb73726694cd3ece35f55e3adde1
Author: Babak Sarashki <babak.sarashki@windriver.com>
Date:   Mon Sep 28 22:18:57 2020 -0700

    postgres: Fix install error on none existent file

    Required to complete postgres build and  ported from upstream
    meta-cloud-services.  This commit to be removed when moving to
    to dunfell or later.

    Upstream commit: 8516070112019bd7b3a5c41eb55a042808a13089
    Closes-Bug: 1899552
    Change-Id: I9ec82e41567a41734a0b10445e4ada661693c4d7
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
===========================================================

Issue-ID: INF-213

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5ecaee0004bf4101398cfdb5b72ccb6c0f7f8681

3 years agometa-patches: remove 0002-Package-Upgrade-croniter-and-kombu.patch 11/5811/1
Jackie Huang [Thu, 18 Mar 2021 01:54:55 +0000 (09:54 +0800)]
meta-patches: remove 0002-Package-Upgrade-croniter-and-kombu.patch

This is fixed in meta-starlingx by the commit:
===========================================================
Author: Babak Sarashki <babak.sarashki@windriver.com>
Date:   Fri Oct 2 13:35:23 2020 -0700

    package port: python-kombu version 4.6.6

    Required as not present in meta-python2 warrior branch.
    Patch has been upstreamed pending acceptance. This commit
    to be removed once patch has been accepted in upstream.

    Closes-Bug: 1899549
    Change-Id: I253ec03b088630781328879e4029e8ac93593314
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
===========================================================

Issue-ID: INF-213

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id38583195a157e98b351ec18b42c9c1e50f08829

3 years agoRelease image for Cherry 82/5182/1 cherry cherry
Jackie Huang [Fri, 27 Nov 2020 12:04:19 +0000 (20:04 +0800)]
Release image for Cherry

Trigger the release 2nd time

Issue-ID: INF-210
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib16c4bda244686e197682a91d3d676a60a344a98

3 years agolocal-mirrors.conf: add mirror for sourceforge and re-tries for wget 79/5179/1
Jackie Huang [Fri, 27 Nov 2020 10:01:17 +0000 (18:01 +0800)]
local-mirrors.conf: add mirror for sourceforge and re-tries for wget

The downloads.sourceforge.net is unstable sometimes so the do_fetch
may fail for some packages, do the following to avoid that:

- add two mirror url so it will try to download from mirror url
  when downloads.sourceforge.net is unavailable.

- re-define the FETCHCMD_wget to add more re-tries (2 -> 5) and
  longer timeout (30 -> 60).

Issue-ID: INF-211
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic6c9868fc1f2c470fe53a76e54a022dfc41c4589

3 years agolinux-yocto-stx: add feature to support x2apic 77/5177/1
Jackie Huang [Wed, 25 Nov 2020 02:21:32 +0000 (10:21 +0800)]
linux-yocto-stx: add feature to support x2apic

This feature enables x2apic support on CPUs that have this feature.

Issue-ID: INF-206

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Icef70a2d0cd3214976b04e52c809a49102a2b658

3 years agoRelease image for Cherry 59/5159/1
Bin Yang [Thu, 26 Nov 2020 03:14:56 +0000 (11:14 +0800)]
Release image for Cherry

Issue-ID: INF-210
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I772c3abb71db679828e90784a87a027a514b549a

3 years agoMerge "Update the doc/installation-guide.rst for Cherry release"
Jackie Huang [Tue, 24 Nov 2020 02:20:30 +0000 (02:20 +0000)]
Merge "Update the doc/installation-guide.rst for Cherry release"

3 years agoUpdate the doc/installation-guide.rst for Cherry release 41/5141/1
Xiaohua Zhang [Mon, 23 Nov 2020 14:19:57 +0000 (09:19 -0500)]
Update the doc/installation-guide.rst for Cherry release

Issue-ID: INF-209
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: If509eda89ebf96349666e12ec4a6371e8aa6c370

3 years agostx-metal: add vlan setting for debain style networking in kickstart 42/5142/1
Jackie Huang [Sun, 22 Nov 2020 14:05:17 +0000 (22:05 +0800)]
stx-metal: add vlan setting for debain style networking in kickstart

Yocto uses debain style for networking, and previous patch lack of setting
for vlan, so add vlan settings in kickstart files as well.

Issue-ID: INF-207

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7528eef3ec2c392e7db8e73c3bb82e77daed1add

3 years agoUpdate the doc/release-note.rst for Cherry release 35/5135/1
Xiaohua Zhang [Mon, 23 Nov 2020 09:16:20 +0000 (04:16 -0500)]
Update the doc/release-note.rst for Cherry release

Issue-ID: INF-209
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I87a0012757abf908433627dfa97508a9bc5a85d5

3 years agoUpdate the doc/overview.rst for Cherry release 34/5134/1
Xiaohua Zhang [Mon, 23 Nov 2020 09:01:27 +0000 (04:01 -0500)]
Update the doc/overview.rst for Cherry release

Issue-ID: INF-209
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I3cee72e96f2075d517df4134a4f5304a8264a377

3 years agostx-puppet: add re-tries in the patch for another case 32/5132/1
Jackie Huang [Fri, 20 Nov 2020 10:19:58 +0000 (18:19 +0800)]
stx-puppet: add re-tries in the patch for another case

The docker login in platform::kubernetes::worker::init may
also fail sometimes, so add the re-tries as well.

Issue-ID: INF-204
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I30c125e21665d59d5216303f636beb04ae924380

3 years agoceph: use the sources from upstream git repos 31/5131/1
Jackie Huang [Thu, 19 Nov 2020 06:30:26 +0000 (14:30 +0800)]
ceph: use the sources from upstream git repos

There are about 30 patches made in upstream stx-ceph
not added in our recipe, and the ceph-mgr-restful issue
was already fixed by one of these patches:
https://github.com/starlingx-staging/stx-ceph/pull/29

So in order to avoid other issues that has been fixed in upstream
stx-ceph, do the following to align with stx 3.0:

 - Change to use the sources from stx-ceph git repos.
 - Use the sources for third party libs required by ceph from ceph git
   repos.
 - Remove the patch 0005-Add-hooks-for-orderly-shutdown-on-controller.patch
   since it's already included in the source of stx-ceph.
 - Fix the hard coded path of libdir in init scripts.

Issue-ID: INF-205
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1d5a22973adb1b3f9f0aad353ef4a5f0d19a2a6b

3 years agostx-puppet: add re-tries to workaround docker login failure 11/5111/1
Jackie Huang [Wed, 18 Nov 2020 01:49:54 +0000 (09:49 +0800)]
stx-puppet: add re-tries to workaround docker login failure

Add re-tries to workaround the follwoing docker login failure:
Error: docker login registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]
Error: /Stage[main]/Platform::Kubernetes::Master::Init/Exec[login local
       registry]/returns: change from notrun to 0 failed: docker login
       registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]

Issue-ID: INF-204
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7087b8b5e27baa617bebbada0a09953299829432

3 years agopuppet-network: add vlan support for poky-stx.rb 04/5104/1
Jackie Huang [Fri, 13 Nov 2020 09:50:00 +0000 (17:50 +0800)]
puppet-network: add vlan support for poky-stx.rb

Current rules in poky-stx.rb doesn't recognize vlan mode,
so add the mode option and corresponding handling for vlan
to support vlan.

Issue-ID: INF-202
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9a15348f84c153a2237a398a0183c7b668d7f42c

3 years agopoky-stx.conf: change the release name for login banner 36/5036/1
Jackie Huang [Tue, 10 Nov 2020 13:23:59 +0000 (21:23 +0800)]
poky-stx.conf: change the release name for login banner

Change the release name to Cherry for login banner

Issue-ID: INF-201
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I741a6ffb0bbfa09c3adbd4a85f18213ffb5e65bb

3 years agopam-config: add pam_deny module for password 35/5035/1
Jackie Huang [Tue, 10 Nov 2020 07:20:22 +0000 (15:20 +0800)]
pam-config: add pam_deny module for password

pam_deny module is required for password, or it always fail when
changing password for sysadmin in the first login:
login[49221]: err PAM bad jump in stack
login[49221]: err Permission denied

Issue-ID: INF-200
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I56776b7d02851833e8a330bca129c08baf73c82e

3 years agostx-anaconda-kconfig: add support for PERC H740 24/5024/1
Jackie Huang [Mon, 9 Nov 2020 08:46:40 +0000 (16:46 +0800)]
stx-anaconda-kconfig: add support for PERC H740

kernel config MEGARAID_SAS is required by the
PERC H740 raid controller.

Issue-ID: INF-199
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5f433fde56e886c9222f1c9a0f25bd96aa2a7646

3 years agolocal-stx.conf: add extra packages for O-DU apps 14/5014/1
Jackie Huang [Thu, 5 Nov 2020 08:04:36 +0000 (16:04 +0800)]
local-stx.conf: add extra packages for O-DU apps

Add the following extra packages for O-DU apps:
-  binutils-dev
-  cmake
-  elfutils
-  elfutils-binutils
-  elfutils-dev
-  libaio-dev
-  libhugetlbfs
-  libhugetlbfs-dev
-  lksctp-tools
-  lksctp-tools-dev
-  lksctp-tools-utils
-  lksctp-tools-withsctp
-  nano
-  numactl
-  numactl-dev

Issue-ID: INF-191

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib6116a0415290146409600fa2d3b1b57bfce2f07

3 years agoinit-ifupdown: fix the networking service failure 13/5013/1
Jackie Huang [Thu, 5 Nov 2020 08:22:05 +0000 (16:22 +0800)]
init-ifupdown: fix the networking service failure

* Add RDEPENDS on 'ifupdown' because:
    The 'ifup' command provided by 'busybox' and 'ifupdown' behave differently
    when an interface has been configured:

    - The one from busybox
    $ sudo ifup lo; echo $?
    RTNETLINK answers: File exists
    1

    - The one from ifupdown
    $ sudo ifup lo; echo $?
    ifup: interface lo already configured
    0

    The exit code 1 from the busybox one would cause the networking service
    failed, so add RDEPENDS on ifupdown to avoid using the one from busybox.

* Do not auto config eth0 since it may not exist.

Issue-ID: INF-192

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5d9478ca163d90da3106ecf6a05ee9459df83502

3 years agokernel-devsrc: fix for kernel module compilation 12/5012/1
Jackie Huang [Thu, 5 Nov 2020 07:13:02 +0000 (15:13 +0800)]
kernel-devsrc: fix for kernel module compilation

* Clean the objtool or the make prepare will fail on target

* Create the symlink for System.map to avoid warning when
  compile kernel modules:
  common.mk:138: Missing System.map file - depmod will not check for
  missing symbols

Issue-ID: INF-190
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie3f1dc7ae63026ad358dc962fdfd9b81e9b6ac6d

3 years agopython-cherrypy: add recipe for version 3.2.2 17/4717/1 cherry-rc0
Jackie Huang [Thu, 10 Sep 2020 15:46:29 +0000 (23:46 +0800)]
python-cherrypy: add recipe for version 3.2.2

python-cherrypy 3.2.2 is required by ceph-mgr,
so the fix includes:

- Add new recipe for python-cherrypy 3.2.2
- Set 3.2.2 as the preferred version
- Add python-cherrypy into packagegroup-stx

Issue-ID: INF-189
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9de245e35ad5bd7b6b929f82c2796dddebc8d66b

3 years agoceph: fix the path for service in ceph-disk 90/4690/1
Jackie Huang [Tue, 8 Sep 2020 11:01:34 +0000 (19:01 +0800)]
ceph: fix the path for service in ceph-disk

The hardcoded path /usr/sbin/service in ceph-disk is incorrect
for yocto.

Issue-ID: INF-188
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ibb52b7b6f40ea2d068516bb258150a4171eaee48

3 years agosysinv-agent.inc: enable sysinv-agent by default 46/4646/1
Jackie Huang [Mon, 24 Aug 2020 12:02:36 +0000 (20:02 +0800)]
sysinv-agent.inc: enable sysinv-agent by default

Issue-ID: INF-184

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib470fd82ad55c6979ec04a1d082ad6570f973955

3 years agoruby: do not clone the spec repo in do_configure 45/4645/1
Jackie Huang [Tue, 7 Jul 2020 08:46:39 +0000 (16:46 +0800)]
ruby: do not clone the spec repo in do_configure

There is potential issue to clone repo in do_configure,
so move it to SRC_URI so it will be cloned in do_fetch,
and also set the correct SRCREV.

Issue-ID: INF-183
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Iaeb21dfa946540cca8db62dd9a3cfc0e682375e7

3 years agostx-extensions: fix the files permission 44/4644/1
Jackie Huang [Thu, 2 Jul 2020 14:47:46 +0000 (22:47 +0800)]
stx-extensions: fix the files permission

Fix the files permission to avoid the following warning:

- [ 1722.252634] systemd-coredump[190171]: Configuration file
  /etc/systemd/coredump.conf.d/coredump.conf is marked executable.
  Please remove executable permission bits. Proceeding anyway.

Issue-ID: INF-181
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I29e61033bd7d4d6469d3e38c3efaaa4b05222ecc

3 years agostx-extensions: Fix the systemd unitdir and the arguments for kernel.core_pattern 26/4626/1
Jackie Huang [Thu, 2 Jul 2020 14:32:47 +0000 (22:32 +0800)]
stx-extensions: Fix the systemd unitdir and the arguments for kernel.core_pattern

Fix the systemd unitdir and the arguments for kernel.core_pattern,
or it fails with:

- [14487.239126] Core dump to |/usr/lib/systemd/systemd-coredump 1038359 0
  0 11 1593333694 mtcAgent pipe failed

- [ 2573.933792] systemd-coredump[250065]: Not enough arguments passed by
  the kernel (6, expected 7).

Issue-ID: INF-180
Issue-ID: INF-181
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I420c8c669a36596de64709f136f77be434583008

3 years agosystemd: enable coredump in PACKAGECONFIG 25/4625/1
Jackie Huang [Thu, 2 Jul 2020 08:44:09 +0000 (16:44 +0800)]
systemd: enable coredump in PACKAGECONFIG

systemd-coredump is required by stx-extensions

Issue-ID: INF-180
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib0115c804d71b5e49be1e0d7960a910fda1ecd16

3 years agolibevent: add version 2.0.21 to align with stx 3.0 09/4609/1
Jackie Huang [Tue, 7 Jul 2020 02:11:02 +0000 (10:11 +0800)]
libevent: add version 2.0.21 to align with stx 3.0

Add version 2.0.21 to align with stx 3.0:
- Add the recipe for version 2.0.21
- Set the preferred version to 2.0.21
- Enable build with openssl10
- Add patch libevent-ipv6-client-socket.patch from
  libevent-2.0.21-4.el7.tis.2.src.rpm

Issue-ID: INF-176
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I798e5fdf2afec0f44206e280de71231173367bbe

3 years agojson-c: add version 0.11 to align with stx3.0 08/4608/1
Jackie Huang [Mon, 6 Jul 2020 11:49:59 +0000 (19:49 +0800)]
json-c: add version 0.11 to align with stx3.0

Add version 0.11 to align with stx 3.0:
- Add new recipe for version 0.11.
- Set version 0.11 as the preferred version.
- Backport a patch to handle build issue with GCC7.

Issue-ID: INF-176
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I084ee538687fcc20143b847922cbda668847ed10

3 years agonfs-utils: add initial exports file 06/4606/1
Jackie Huang [Fri, 19 Jun 2020 02:37:45 +0000 (10:37 +0800)]
nfs-utils: add initial exports file

Add initial exports file to avoid nfsserver fail to start,
and stx puppet manifest will add proper nfs exports in
controller-config.

Issue-ID: INF-169
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Icc39527325a81b5e625e03fa0c931c03342a7407

3 years agoconfig-files: fix the dependency for nfsserver.service 05/4605/1
Jackie Huang [Fri, 19 Jun 2020 02:20:30 +0000 (10:20 +0800)]
config-files: fix the dependency for nfsserver.service

Add dependency on rpcbind.service for nfsserver.service.

Issue-ID: INF-168
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ida92107415180836497123c881638eb0771d5026

3 years agoconfig-files: remvoe the -f option for rpc.mountd 02/4602/1
Jackie Huang [Thu, 18 Jun 2020 15:06:23 +0000 (23:06 +0800)]
config-files: remvoe the -f option for rpc.mountd

The -f option is not supported any more on newer version of nfs-utils.

Issue-ID: INF-167
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id7a7ad795b50467147556827ed051e9394436e2d

3 years agoconfig-files: fix the postinst for nfs-utils-config 01/4601/1
Jackie Huang [Thu, 18 Jun 2020 15:04:03 +0000 (23:04 +0800)]
config-files: fix the postinst for nfs-utils-config

Change the ontarget postinst to postinst and enable
the services by default.

Issue-ID: INF-167
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I15c20bd29273c4344cf189925304095c87489343

3 years agonfs-utils: disable the services and fix for udp proto 06/4406/1
Jackie Huang [Thu, 18 Jun 2020 15:02:00 +0000 (23:02 +0800)]
nfs-utils: disable the services and fix for udp proto

* Disable the services by default sicne stx uses the ones
  from nfs-utils-config-1.0-1.tis.noarch.

* Add nfs.conf and enable udp proto which is required by stx
  pxe installation and deployment.

Issue-ID: INF-167
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I79f8511400a690cf9eef4d667e23cca28a19d14c