11 Commits

Author SHA1 Message Date
Scott Little
b92ce2ebf1 Remove CentOS/OpenSUSE build support
StarlingX stopped supporting CentOS builds in the after release 7.0.
This update will strip CentOS from our code base.  It will also remove
references to the failed OpenSUSE feature as well.

Story: 2011110
Task: 49943
Change-Id: I4c51c1a5eccd47587ffab7935b579e155d15cb56
Signed-off-by: Scott Little <scott.little@windriver.com>
2024-04-26 13:44:32 -04:00
Li Zhou
57f54a92e9 bash: add initial version for debian
Add bash 5.1-2 of debian packaging.

Story: 2009221
Task: 43330
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Change-Id: I2cfae24093cad028448eb82303c84c93e9592b21
2021-11-09 22:31:00 -05:00
Zhixiong Chi
49e4df5e53 bash: enable to log the shell command
After merging the upversion commit
 https://review.opendev.org/c/starlingx/compile/+/771784,
the new version add a condition check "syslog_history" variable to
enable/disable the syslog of bash command.
If the syslog_history shopt variable is unset as default, the shell
commands won't be logged.

Now we always enable it, since the commands run by every user in a
login shell need to be logged to /var/log/bash.log. This is very
important as an aid in troubleshooting and debugging issues.

Closes-Bug: #1917864

Change-Id: I4aa2f49a0ea4c54a0e836b8ccb33bcc173653252
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
2021-03-08 02:18:30 -05:00
Zhixiong Chi
9af8123c7a bash: CVE-2019-9924
Upgrade to bash-4.2.46-34.el7.src.rpm to fix CVE-2019-9924 issue.
Meanwhile adjust the context for the patch with new source rpm.

Depends-On: https://review.opendev.org/c/starlingx/tools/+/771787

Story: 2008532
Task: 41646
Change-Id: I4172634cfd9031cfebf4f4d49f539cb679a2f552
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
2021-01-21 21:30:30 -05:00
Don Penney
b01b9e7368 Add auto-version for remaining stx/compile packages
Update remaining StarlingX packages with hardcoded TIS_PATCH_VER to
use PKG_GITREVCOUNT where possible, with offsets as needed to ensure
the version is incremented above the hardcoded version.

Story: 2008455
Task: 41446
Signed-off-by: Don Penney <don.penney@windriver.com>
Change-Id: Ia9d1f01614b99a07e23d3cc4afbc2fa3f33acc93
2020-12-17 13:27:54 -05:00
Shuicheng Lin
e12069d84d rebase bash patch to CentOS 7.6 version
Test:
Pass build and multi node deploy test

Depends-On: https://review.openstack.org/625452

Story: 2004522
Task: 28261

Change-Id: Ifcd37aa5d6487fa2d70fbb1d728abb3244baf7c2
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2018-12-18 20:30:25 +08:00
slin14
ea176a0603 de-fuzz bash patch
With rpm version < 4.13, patch cmd will create .orig file for fuzzy
patch in default. And this .orig file may lead to rpmbuild failure
"error: Installed (but unpackaged) file(s) found:"

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Story: 2003917
Task: 27041

Change-Id: I506c34ce40c27b9594edc83bfe597b0b8885b319
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-10-11 18:24:59 +08:00
slin14
7f448737f4 de-fuzz bash patches
When do Centos 7.5 upgraded, some patches didn't resolve and cause
the fuzzy in the line numbers of the patches. And it may cause
.orig file is created when do patch. And this .orig file will lead
to rpm packaging failure due to the unexpected and unpackaged .orig
file.

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Solution:
  Safest solution is to de-fuzz our patches.

Story: 2003389
Task: 26755

Change-Id: I13298239f6a49298b800aa07adeeadab0ef33729
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 07:22:13 +08:00
slin14
4d7c5db150 rebase bash patch to CentOS7.5
Story: 2003389
Task: 24464

Change-Id: Ie84a3ee162de835c4b0f3f94bad403d4a1b23f1d
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-08-22 13:33:16 +08:00
Saul Wold
93863b2db1 bash: remove parallelization patch
This patch is problematic in two ways, first with the mis-spelled
nproc (as nprocs), it causes the -j option to not have a value, this
causes make to not limit the number of jobs that can run in parallel.
Secondly, the bash build seems to have a race condition when a large
number of jobs (over 60) are run.

Since we want a more stable build, let's remove this patch.

Change-Id: I5d3e3f496c067fa837090cfec52ddb7aca8873f0
Story: 2003358
Task: 24408
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2018-08-08 09:21:00 -07:00
Scott Little
a3e4b399a7 Relocate bash to stx-integ/base/bash
Move content from stx-gplv2 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        bash
        cgcs-users
        cluster-resource-agents
        dpkg
        haproxy
        libfdt
        netpbm
        rpm

    database/
        mariadb

    filesystem/
        iscsi-initiator-utils

    filesystem/drbd/
        drbd-tools

    kernel/kernel-modules/
        drbd
        integrity
        intel-e1000e
        intel-i40e
        intel-i40evf
        intel-ixgbe
        intel-ixgbevf
        qat17
        tpmdd

    ldap/
        ldapscripts

    networking/
        iptables
        net-tools

Change-Id: I8e2e30182fd28f096ad73febfcd614ef6fb56d80
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 15:31:54 -04:00