pti/rtp.git
2 years agobuild_inf.sh: correct the branches for E release 68/7568/1 e-release e-release
Jackie Huang [Tue, 18 Jan 2022 01:50:05 +0000 (09:50 +0800)]
build_inf.sh: correct the branches for E release

Issue-ID: INF-245

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

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

3 years agostx-metal: add setting for debain style networking in kickstart files 98/4398/1
Jackie Huang [Thu, 18 Jun 2020 02:04:25 +0000 (10:04 +0800)]
stx-metal: add setting for debain style networking in kickstart files

Yocto uses debain style for networking, so add corresponding settings
in kickstart files to fix network configuration.

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

3 years agosyslinux.cfg: change to use smallsystem_lowlatency_ks.cfg 96/4396/1
Jackie Huang [Tue, 2 Jun 2020 14:44:50 +0000 (22:44 +0800)]
syslinux.cfg: change to use smallsystem_lowlatency_ks.cfg

The preempt-rt kernel is the default now, then the corresponding
kickstart file should be smallsystem_lowlatency_ks.cfg

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

3 years agoplatform-kickstarts: add do_deploy to deploy ks files 90/4390/1
Jackie Huang [Tue, 2 Jun 2020 13:07:55 +0000 (21:07 +0800)]
platform-kickstarts: add do_deploy to deploy ks files

- Add do_deploy to deploy the generated ks files so that
  these can be the input of anaconda build.

- Change the ISO image to also use the ks files generated by
  platform-kickstarts so we don't need to maintain another
  copies of these files and remove them from conf/distro/files/ks

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

3 years agostx-metal: add kickstart fixes for poky-stx 89/4389/1
Jackie Huang [Tue, 2 Jun 2020 09:36:41 +0000 (17:36 +0800)]
stx-metal: add kickstart fixes for poky-stx

Add a patch for the ks templates to fix several issues for poky-stx:
- Fix for creating DNF repo
- Add a pre script to adjust the directories
- Add extra users and groups
- Add installer images for pxe-network-installer
- Fix the grub command: grub2 -> grub
- Adjust the pkglist for poky-stx

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

3 years agoplatform-kickstarts: add new recipe for generating ks files 74/4374/1
Jackie Huang [Sun, 31 May 2020 15:04:14 +0000 (23:04 +0800)]
platform-kickstarts: add new recipe for generating ks files

Add this new recipe for generating ks files for pxe installer
based on the stx 3.0 ks templates.

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

3 years agostx-anaconda-image.bbclass: change skip to warning 73/4373/1
Jackie Huang [Tue, 16 Jun 2020 02:44:27 +0000 (10:44 +0800)]
stx-anaconda-image.bbclass: change skip to warning

In dry-run mode, the kickstart file will not be generated,
the existence check will always fail, so change the skip
to warning to allow the dry-run can succeed without
generated kickstart file.

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

3 years agoPatch to release inf image for Bronze release 49/4349/2 bronze
Bin Yang [Wed, 8 Jul 2020 14:16:02 +0000 (14:16 +0000)]
Patch to release inf image for Bronze release

Trigger the release 3rd time

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

3 years agoiso-codes: fix the branch and protocol for src_uri 47/4347/1
Jackie Huang [Wed, 8 Jul 2020 12:15:33 +0000 (20:15 +0800)]
iso-codes: fix the branch and protocol for src_uri

The upstream repo of iso-codes has renamed 'master' branch to 'main',
and the git protocol is not available any more, so fix the branch name
and add https and http as the src_uri mirrors to avoid fetch failures.

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

3 years agoPatch to release inf image for Bronze release 26/4326/1
Bin Yang [Tue, 7 Jul 2020 03:30:11 +0000 (03:30 +0000)]
Patch to release inf image for Bronze release

Trigger the release again

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

3 years agoPatch to release inf image for Bronze release 94/4294/1
Bin Yang [Thu, 2 Jul 2020 00:42:21 +0000 (00:42 +0000)]
Patch to release inf image for Bronze release

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

3 years agobuild_inf.sh: exclude image recipes from rm_work feature 62/4262/1
Jackie Huang [Mon, 29 Jun 2020 13:19:54 +0000 (21:19 +0800)]
build_inf.sh: exclude image recipes from rm_work feature

The anaconda image needs some files in the work dir of the target
build image, if the rm_work feature is enabled, these files will
be removed and the anaconda image will be incorrect, so exclude
these image recipes from rm_work features to ensure the required
files will not be removed.

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

3 years agoconfigs: add several mirrors for gnome url 61/4261/1
Jackie Huang [Mon, 29 Jun 2020 11:22:32 +0000 (19:22 +0800)]
configs: add several mirrors for gnome url

Add several mirrors for gnome url just in case the
ftp.gnome.org is too busy or is unreachable.

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

3 years agostx-ha: add missing dependency in Makefile for libsm_watchdog_nfs 44/4244/1
Jackie Huang [Sat, 27 Jun 2020 02:30:29 +0000 (10:30 +0800)]
stx-ha: add missing dependency in Makefile for libsm_watchdog_nfs

Add missing dependency on libsm_common.so in Makefile for libsm_watchdog_nfs
to avoid race condition issue:

| ../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot
|  find -lsm_common
| collect2: error: ld returned 1 exit status
| make: *** [libsm_watchdog_nfs.so.0] Error 1

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

3 years agolocal-stx.conf: skip ext4 image creatation 24/4224/1
Jackie Huang [Wed, 24 Jun 2020 03:04:17 +0000 (11:04 +0800)]
local-stx.conf: skip ext4 image creatation

This is a workaround for mkfs.ext4 failure on ORAN jjb:
- skip 'ext4' image creatation
- skip 'live' and 'wic' as well since they depend on 'ext4'

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

3 years agoUpdate the overview.rst and developer-guide.rst for small edits. 86/4186/2
Xiaohua Zhang [Tue, 2 Jun 2020 13:25:12 +0000 (09:25 -0400)]
Update the overview.rst and developer-guide.rst for small edits.
Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I454522d06f510e26656dab7a9cf58e001bf4583f

3 years agolocal-stx.conf: avoid parallel make for ceph 54/4154/1
Jackie Huang [Wed, 17 Jun 2020 01:15:31 +0000 (09:15 +0800)]
local-stx.conf: avoid parallel make for ceph

Avoid parallel make for ceph to limit mem usage.

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

3 years agostx-utilities: cleanup for license files 13/4113/1
Jackie Huang [Tue, 16 Jun 2020 02:58:34 +0000 (10:58 +0800)]
stx-utilities: cleanup for license files

Add the commented license files into LIC_FILES_CHKSUM.

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

3 years agostx-utilities: fix a perl experimental feature failure 12/4112/1
Jackie Huang [Thu, 11 Jun 2020 14:48:53 +0000 (22:48 +0800)]
stx-utilities: fix a perl experimental feature failure

In the cpumap_functions.sh, a oneline perl script uses a perl
experimental feature which is added in perl 5.14 but removed
in perl 5.23 and later release, so fix to avoid using the
feature to fix failure with new perl releases.

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

3 years agorabbitmq-server: remove the source with copyleft license 64/4064/1
Jackie Huang [Thu, 11 Jun 2020 02:35:56 +0000 (10:35 +0800)]
rabbitmq-server: remove the source with copyleft license

- remove the source script rabbitmq-script-wrapper with
  copyleft license.

- use the one in rabbitmq source code and add a patch
  change to what is quired by stx.

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

3 years agobuild_oran.sh: fix the output image info for ARM 61/4061/1
Jackie Huang [Wed, 10 Jun 2020 08:49:17 +0000 (16:49 +0800)]
build_oran.sh: fix the output image info for ARM

Use ${BSP} instead of hard coded 'intel-x86-64' and ${IMAGE_TYPE}
instead of 'iso' to fix the output image info.

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

3 years agodocs: update the developer-guide.rst for ARM build 60/4060/1
Jackie Huang [Wed, 10 Jun 2020 02:25:32 +0000 (10:25 +0800)]
docs: update the developer-guide.rst for ARM build

- Add section for how to build ARM image
- A minor rephrase in overview.rst

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

3 years agopackagegroup-oran: fix build for ARM 59/4059/1
Jackie Huang [Wed, 10 Jun 2020 08:10:41 +0000 (16:10 +0800)]
packagegroup-oran: fix build for ARM

- 'turbostat' and 'msr-tools' is only compatible with x86/x86-64,
  so do not add them for other arch.

- Add 'cpupower' into the whitelist.

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

3 years agostx-metal: add patches to fix build failures on CentOS 58/4058/1
Jackie Huang [Tue, 9 Jun 2020 13:06:58 +0000 (21:06 +0800)]
stx-metal: add patches to fix build failures on CentOS

- Add a patch to avoid using 'which' to check CC since
  the 'which' on CentOS doesn't allow options.

- Add a patch to fix libamon link failure.

- Rename all the patches with number prefix to make clear
  the patch order.

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

3 years agoruby-native: add dependency on zlib-native 57/4057/1
Jackie Huang [Tue, 9 Jun 2020 08:47:22 +0000 (16:47 +0800)]
ruby-native: add dependency on zlib-native

Some packages use the ruby "gem build" command to create gems,
which requires zlib, so add dependency on zlib-native or
it relies the host's zlib and fails on some host like CentOS:

| ERROR:  Loading command: build (LoadError)
|       cannot load such file -- zlib
| ERROR:  While executing gem ... (NoMethodError)

Issue-ID: INF-155
Issue-ID: INF-157
Issue-ID: INF-158
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib680adda00df8bad2191d367d5ff27ff393fbf96

3 years agobuild_inf.sh: lockdown layers on specific commits 56/4056/1
Jackie Huang [Mon, 8 Jun 2020 11:05:55 +0000 (19:05 +0800)]
build_inf.sh: lockdown layers on specific commits

Lockdown all the Yocto layers/repos on specific commits to avoid
potential issues in the future when changes happen in upstream
Yocto layers/repos, the change includes:

- Remove the -s option so it will never try to update the repo
- Add specific commit for each yocto layer/repo
- Improve the clone_update_repo function so it will checkout
  to specific commit after clone.

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

3 years agoUpdate docs/installation-guide.rst for typo and update the overview.rst. 23/4023/2
Xiaohua Zhang [Tue, 2 Jun 2020 12:20:25 +0000 (08:20 -0400)]
Update docs/installation-guide.rst for typo and update the overview.rst.

Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: Ie0d2bb1f266e2eeeb18fec8e4ed979e15cba475d

3 years agometa-patches: remove patch that has been upstream 15/4015/1
Jackie Huang [Mon, 8 Jun 2020 05:01:03 +0000 (13:01 +0800)]
meta-patches: remove patch that has been upstream

The patch 0001-Workaround-and-fix-compile-and-dependency-problems.patch
has been split to 34 patches and merged in upstream meta-cloud-services,
so remove it to avoid patch apply failure.

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

3 years agodocs: update the developer-guide.rst for Bronze release 14/4014/1
Jackie Huang [Mon, 8 Jun 2020 07:19:52 +0000 (15:19 +0800)]
docs: update the developer-guide.rst for Bronze release

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

3 years agoUpdate the installatin-guide to add SR-IOV use case 10/4010/1
Xiaohua Zhang [Tue, 2 Jun 2020 03:24:41 +0000 (23:24 -0400)]
Update the installatin-guide to add SR-IOV use case
Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I258c12cfd6baa2a6711ad01c7eccfa10b93c8ae8

3 years agoMerge "Update docs/installation-guide.rst for Bronze Issue-ID: INF-16"
Xiaohua Zhang [Thu, 4 Jun 2020 15:54:10 +0000 (15:54 +0000)]
Merge "Update docs/installation-guide.rst for Bronze Issue-ID: INF-16"

3 years agoscripts: rename the build script and image name 65/3965/1
Jackie Huang [Wed, 3 Jun 2020 06:47:31 +0000 (14:47 +0800)]
scripts: rename the build script and image name

rename the build script and image name:
- build_stx.sh -> build_inf.sh
- stx-image-aio-installer-intel-corei7-64.iso
  -> inf-image-aio-installer-intel-corei7-64.iso

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

3 years agoUpdate docs/installation-guide.rst for Bronze 91/3991/1
Xiaohua Zhang [Tue, 2 Jun 2020 00:34:21 +0000 (20:34 -0400)]
Update docs/installation-guide.rst for Bronze
Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I32b848c74dc42d509b91b831d950b1a1a57a68a8

3 years agostx-config-files: change the login banner to show oran release 33/3933/1
Jackie Huang [Mon, 1 Jun 2020 08:24:06 +0000 (16:24 +0800)]
stx-config-files: change the login banner to show oran release

Change the login banner to show oran release instead of
starlingx's platfrom release:

19.12 -> Bronze (2.0)

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

3 years agoclasses: add stx-image-list.bbclass to generate pkglist 31/3931/1
Jackie Huang [Sat, 30 May 2020 07:23:16 +0000 (15:23 +0800)]
classes: add stx-image-list.bbclass to generate pkglist

Add stx-image-list.bbclass to generate pkglist automatically
so we don't need to maintain the pkglist manually and the
pkg lists in conf/distro/files/pkglist/ are removed.

After this change, the following pkglist file will be generated:
- For target build:
  tmp/deploy/images/intel-corei7-64/stx-image-aio-intel-corei7-64.pkglist
- For anaconda installer build:
  tmp-glibc/deploy/images/intel-corei7-64/stx-image-aio-installer-intel-corei7-64.stx-image-aio.pkglist

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

3 years agopxe-network-installer: fix kernel options in pxelinux.cfg.files 30/3930/1
Jackie Huang [Fri, 29 May 2020 09:42:13 +0000 (17:42 +0800)]
pxe-network-installer: fix kernel options in pxelinux.cfg.files

The anaconda in yocto handles the kernel options differently, so
do the following changes to ensure the installer starts correctly:
- inst.ks -> ks
- append LABEL=initrd-install

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

3 years agopxe-network-installer: remove gpxelinux.0 29/3929/1
Jackie Huang [Fri, 29 May 2020 09:16:00 +0000 (17:16 +0800)]
pxe-network-installer: remove gpxelinux.0

gpxe has been removed from syslinux 4 years ago:
==================================================
commit f2f897a1762fab84d2905f32b1c15dd7b42abb56
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Tue Feb 9 18:08:47 2016 -0800

    gpxe: delete long since obsolete snapshot of gPXE

    gPXE has been deprecated in favor of iPXE for many, many years now.
    It is much better than users get it directly from the iPXE project,
    since we should no longer need any special modifications for Syslinux
    use.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
==================================================

Remove it for now since it doesn't seem to be mandatory and
we can use pxelinux.0 for now.

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

3 years agoUpdate overview.rst 27/3927/1
Xiaohua Zhang [Mon, 1 Jun 2020 02:53:54 +0000 (22:53 -0400)]
Update overview.rst
Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I587f3c04c83aea39637cf56b2e0272bdc6db4741

3 years agopoky_stx_aio_ks.cfg: add installer images for pxe 05/3905/1
Jackie Huang [Fri, 29 May 2020 02:55:23 +0000 (10:55 +0800)]
poky_stx_aio_ks.cfg: add installer images for pxe

In stx 3.0, these images are downloaded from centos and
packaged in pxe-network-installer, but the images from
centos can not be used directly here, the corresponding
images are built in a separate project for anaconda, and
are not available yet when pxe-network-installer is built,
so we have to move these installation to the post-run
script in the anaconda's kickstart file.

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

3 years agopxe-installer-initramfs: add new recipe and add into image 04/3904/1
Jackie Huang [Thu, 28 May 2020 14:37:19 +0000 (22:37 +0800)]
pxe-installer-initramfs: add new recipe and add into image

The initramfs used by installer ISO image doesn't work for the pxe
installer, so we need to add an extra initramfs for pxe installer:
core-image-anaconda-initramfs

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

3 years agopxe-network-installer: align with stx 3.0 03/3903/1
Jackie Huang [Wed, 27 May 2020 07:05:14 +0000 (15:05 +0800)]
pxe-network-installer: align with stx 3.0

- Correct some directories
- Change stx_thud to poky-stx
- Add dependency on several syslinux sub packages
- Fix the postinst script
- Move the installation of installer images to kickstart file
  since they are not available before building anaconda

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

3 years agobuild_stx.sh: remove duplicated url for meta-security 93/3893/1 bronze-rc3
Jackie Huang [Thu, 28 May 2020 08:23:38 +0000 (16:23 +0800)]
build_stx.sh: remove duplicated url for meta-security

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

3 years agopython: use wildcard character in bbappend version 92/3892/1
Jackie Huang [Thu, 28 May 2020 12:04:35 +0000 (20:04 +0800)]
python: use wildcard character in bbappend version

Use the "%" wildcard character to allow for matching
differnet versions avoid missing match when the recipe
is updated in oe-core.

Note:
Although the warrior(yocto 2.7) has been released, but
some packges may still be updated in the future.
e.g. python is updated from 2.7.17 to 2.7.18 recently.

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

3 years agoopenstack-barbican-api: cleanup unused files 90/3890/2
Litao Gao [Thu, 28 May 2020 01:39:23 +0000 (01:39 +0000)]
openstack-barbican-api: cleanup unused files

Issue-ID: INF-135
Signed-off-by: Litao Gao <litao.gao@windriver.com>
Change-Id: I8f0d6c2e2ae7d5da5bdd8f776b8f2b435ea3852b

3 years agolldpd: downversion to align with stx 89/3889/2
Litao Gao [Wed, 27 May 2020 09:47:40 +0000 (09:47 +0000)]
lldpd: downversion to align with stx

previous version in yocto is 0.9.8 which
changes the format of the json output, which
will break the output handling in sysinv.

Issue-ID: INF-126
Signed-off-by: Litao Gao <litao.gao@windriver.com>
Change-Id: I7dac21676235c813251e6c1ec83051cffcddcc8c

3 years agoUpdate the doc overview and release note. 88/3888/1
Xiaohua Zhang [Wed, 27 May 2020 21:17:34 +0000 (17:17 -0400)]
Update the doc overview and release note.
Issue-ID: INF-16

Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Change-Id: I398b636d1e0dc55ce2de58942e5e80a2b41822f2

3 years agometa-oran: add missing license header for recipes 39/3839/1
Jackie Huang [Mon, 25 May 2020 08:42:16 +0000 (16:42 +0800)]
meta-oran: add missing license header for recipes

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

3 years agoldapscripts: use the source from stx upstream 38/3838/1
Jackie Huang [Mon, 25 May 2020 05:20:28 +0000 (13:20 +0800)]
ldapscripts: use the source from stx upstream

The patche and source files are from stx upstream, to avoid
license and maintenance issue, remove the local copies and
set the correct SRC_URI to fetch from stx upstream.

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