The update-iso.sh script for centos was renamed
to update-iso-centos.sh
This update modifies the name in the centos build-img
script to look for this new modified name.
Test Plan:
PASS: Verify centos build-img and install
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/866398
Story: 2009968
Task: 46977
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Change-Id: I829ad22b6b5f8a3cb00eb7445757ad215c5d424e
With kpatch target build disabled, some binary packages are not
necessary anymore, so we remove these packages from debian-image.inc
to make sure they are not installed into the iso image.
TestPlan:
Pass: build-pkgs -c -a
Pass: build-image
Pass: Jenkins installation
Closes-Bug: 1997340
Depends-On: https://review.opendev.org/c/starlingx/tools/+/865244
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: Ic4f6778779b5dff0924880478bb24d5bb4cdac7f
Update yaml file with new tag for stx-keystone-api-proxy
using the master-debian-stable-20221122T070000Z.0 build.
Story: 2009831
Task: 46921
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Change-Id: I28ffbc854ef63fb57299d2ac8a8bccc4e467a700
Github now requires the use of an access token for the
automated push of branches and tags. The alternative
is a password prompt for each git in the middle of the
tool run.
Closes-bug: 1997483
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: Ife396dfed48a941df4c1e82eef7860017a4ff213
This commit updates the ptp-notification images to use the Debian base
container images instead of Centos.
notificationservice-base
stx8.0-v2.0.1
locationservice-base
stx8.0-v2.0.0
notificationclient-base
stx8.0-v2.0.1
Story: 2010056
Task: 46891
Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: Ie7df496c7bb650fd8c3c8aeb41a49d3381f20c11
Openscap policy files for debian are missing in the iso.
This commit is adding packages that add the openscap policy files
to /usr/share/xml/scap/ssg/content
Test Plan:
PASS: Run a full build of the iso with build-pkgs -a and build-image.
Once installed, verify that the new image contain the policy files
as expected.
Closes-Bug: 1997111
Depends-On: https://review.opendev.org/c/starlingx/tools/+/864929
Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
Change-Id: I425a957b8764f1c879c90019fa70ca45171385ed
Adding to Debian ISO the required libraries that are runtime
dependencies of libvirt packages.
Test Plan:
PASS: Run "downloader -b -s" successfully
PASS: Run "build-pkgs -c --all" successfully
PASS: Run "build-image" successfully
PASS: Debian ISO bootstrap successfully
Story: 2010317
Task: 46391
Depends-On: https://review.opendev.org/c/starlingx/tools/+/865020/
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: Ib4b714b6f1e9aa087fb5dc49b49f5eaf0e8d40c6
This review adds some runtime dependencies that are
required for correct operation of qemu.
Test Plan:
PASS: Run "downloader -b -s" successfully
PASS: Run "build-pkgs -c --all" successfully
PASS: Run "build-image" successfully
PASS: Debian ISO bootstrap successfully
Story: 2010317
Task: 46390
Depends-On: https://review.opendev.org/c/starlingx/tools/+/864904
Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Co-Authored-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: I45a204f11834e8e0f7bcd3c8b9ed5ceae042165f
The interface 'upload_pkg(name, None)' of repo manager is used
to create needed local repositories, This commit updates the way
'upload_pkg' is called, wrapping it in a 'try/except' code block.
If an exception occurs, the creation attempt will be retried up
to REPOMGR_MAX_RETRY times, with an interval of REPOMGR_RETRY_INTERVAL
seconds between attempts.
Test Plan:
Pass: build-pkgs -c -p <package>
Pass: build-pkgs -c -a
Story: 2008846
Task: 46743
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
Change-Id: I4c7d0032df7b1a4bdb4fe0b038ec27443114a7fe
We add 22 firmware related packages for Debian-based StarlingX
after comparing the list of firmware (from /lib/firmware) that
is included in Debian-based StarlingX and that is included in
CentOS-based StarlingX.
firmware-amd-graphics
firmware-ath9k-htc
firmware-atheros
firmware-bnx2
firmware-bnx2x
firmware-brcm80211
firmware-cavium
firmware-intel-sound
firmware-iwlwifi
firmware-libertas
firmware-linux-free
firmware-linux-nonfree
firmware-linux
firmware-misc-nonfree
firmware-myricom
firmware-netronome
firmware-netxen
firmware-qcom-soc
firmware-realtek
firmware-samsung
firmware-siano
Test Plan
PASS: Built an ISO and verified the presence of the package
PASS: Verify the file was added to the ISO
Closes-Bug: 1996553
Depends-On: https://review.opendev.org/c/starlingx/tools/+/864458
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I97fde31bb47bbe1d9ca359e0d344d4046c943190
Updated image with the new fixes since the last build
Partial-bug: 1995020
Signed-off-by: Luiz Felipe Kina <LuizFelipe.EiskeKina@windriver.com>
Change-Id: If884ae9075a4b02033fa49f0fea45ef8d0a1bea8
In some cases (specially for test patches), we want to force the package
version to be increased, so introduce a new variable "stx_patch" in
"revision", like:
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true
stx_patch: 1
Test Plan:
Pass: revision is increased by adding "stx_patch: number" in
meta_data.yaml.
Story: 2008862
Task: 46766
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I107d3bb5b88cc69c701fa08d22d774728dcf3d06
This commit updates the build-pkgs tool to
build all packages as default without need
of any args.
This commit also update the license year in
downloader tool.
Test Plan:
Pass: run build-pkgs without args
Pass: build-pkgs -a
Pass: build-pkgs -p -c logmgmt
Pass: build-pkgs -p logmgmt
Story: 2008846
Task: 46765
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Change-Id: Ic270bbec2e7a8218daf0bb9d00101bbd1526344b
The interfaces of repo manager should be called in the block
of 'try...except' to catch some exceptions.
Test Plan:
Pass: downloader -b
Pass: downloader -s
Story: 2008846
Task: 46744
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
Change-Id: Ia401b1663a16b374e3fa7e61d3add73e4e39c327
Fix the following warning output:
2022-11-08 02:44:21,722 - repo_manager - INFO: Aptly connected, version:
<bound method MiscAPISection.version of <aptly_api.parts.misc.
MiscAPISection object at 0x7f47d6aa9a00>>
After applying this commit, the output will be as follows:
2022-11-08 08:30:10,753 - repo_manager - INFO: Aptly connected, version:
unknown
Later I can send another commit to replace the repomgr version value.
TestPlan:
Pass: build-pkgs -p ${packagename}
Pass: Get the correct output
Story: 2008862
Task: 46758
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: I2d814924d7560ee49cb428af63769c05da149125
The images starlingx/stx-debian-dev and starlingx/stx-debian-tools-dev
are static-tagged as stx.8.0-v1.0.2 due to added support of the tools:
- Processor Counter Monitor (PCM) tools
- Open Programmable Acceleration Engine (OPAE) tools
Test Plan:
- Container image is built successfully on Debian (PASS)
- PCM and OPAE packages are successfully installed (PASS)
- Run time testing of the PCM and OPAE tools (WIP)
Story: 2010138
Task: 46732
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/855431
PCM tools on container image stx-debian-tools-dev
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/862742
OPAE tools in container image stx-debian-tools-dev
Note: This is fix of commit fbe521201a0c9d3ecb757e4dea25481c0d71ce15.
The images starlingx/stx-debian-dev and starlingx/stx-debian-tools-dev
static-tagged as stx.8.0-v1.0.1 were added support of PCM tools only.
Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: Ibdb8334d86621785e5265f04db8f30be155a4030
This commit updates the build-image tool to
clean image build directories as default and
add argument -k/--keep to keep it.
This commit also remove some white spaces
in downloader tool.
Test Plan:
Pass: run build-image without args
Pass: build-image -k
Pass: build-image -c
Story: 2008846
Task: 46727
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Change-Id: I232045e8456c4dcfb44e80df2096746ffc349268
This commit updates the downloader tool to
download all binaries and sources as default.
Test Plan:
Pass: run downloader without args
Pass: downloader -s
Pass: downloader -b
Story: 2008846
Task: 46726
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Change-Id: Ibdad5d106cbb81b732da4122e487db80ab0e8cd5
The images starlingx/stx-debian-dev and starlingx/stx-debian-tools-dev
are static-tagged as stx.8.0-v1.0.1 due to added support of the tools:
- Processor Counter Monitor (PCM) tools
- Open Programmable Acceleration Engine (OPAE) tools
Story: 2010138
Task: 46732
Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: I1003d4bbe2bf1769a5aa858a926f792a5bea6e95
Update yaml file with new tag for stx-fm-rest-api using the
master-debian-stable-20221102T060000Z.0 build.
Story: 2009831
Task: 46635
Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: Ie5511c33b8eb50005bc847c33dbebfcb87e42da6
This commit updates code to handle the below things:
a. For these reused packages, updates the local debsentry cache
after successfully copying the reused debs from the shared
repository, this fixed the issue that the second project can not
get the subpackages from the shared debsentry of the first reused
project.
b. If the subpackages can't be got or failed to copy reused debs from
the shared repository, the reused packages will be reclaimed and
switch to the local build.
c. Opiton '--dl_reused' is provided to download these reused debs to
the package's local build directory if this is really needed
Test Plan:
1. Creates project A with reuse disabled and shared the build output
Creates project B with reuse enabled, the shared project is A
Creates project C with reuse enabled, the shared project is B
Project C built successfully
2. Create project D with reuse enabled and '--dl_reused' option:
$build-pkgs -a --parallel 10 --reuse --dl_reused
All the resued .deb will be downloaded to the local directory:
${MY_WORKSPACE}/reused_debs/downloads/binary
Closes-Bug: 1993224
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
Change-Id: I03267aab66f17afdb540f7d407bb4c9d97805886
This reverts commit 8fd070b3f2c58663b90360959eb4ff66a6b6b3e8.
As linux-perf-5.10 is built by the kernel it will be
placed on deb-local-build and not deb-local-binary,
the file that we need to add the package is under
tools repo: stx-std.lst
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: Ic5b335c536ee40b60b2d2b4da12f31fc2da48e26
Add the linux-perf-5.10 to ISO can run the "perf" command.
Useful for debugging performance issues.
Test Plan
PASS Build ISO
PASS Login with sysadmin user
PASS Run the command "perf"
Story: 2009968
Task: 46573
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: If301b15030fff0be66f11cf8bd4c8af4e294e647
"apachectl status" requires www-browser provided
by w3m which depends on libgc1
TEST PLAN:
PASS: the command "apachectl status" returns no errors.
Closes-bug: 1993484
Depends-On:https://review.opendev.org/c/starlingx/tools/+/861336
Signed-off-by: Wentao Zhang<Wentao.Zhang@windriver.com>
Change-Id: I3be5e9643c2f03afa27ba3431a3a16a3a3200117
Add support for cloud-init to ISO image, this allows the
image to be used on AWS. However, the systemd units will
be disabled by default.
Test Plan
PASS Build ISO image
PASS Boot ISO
PASS Check the output of 'dpkg -l | grep cloud-init'
PASS Run the 'cloud-init --help'
Story: 2009965
Task: 46608
Depends-On: https://review.opendev.org/c/starlingx/tools/+/861887
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I356a85875d01fe23d228a4ded904963595612526
Include the sysstat package on Debian ISO, it includes
tools such as iostat, sar, etc. Useful for debugging
performance issues.
Test Plan
PASS Build ISO
PASS Login with sysadmin user
PASS Run the command "iosstat"
Depends-On: https://review.opendev.org/c/starlingx/tools/+/861380
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I777cfe4dd10f550b89a0a94fbb28e1553847f2ad
On CentOS we had 'screen' included in the iso.
Keep the same behavior on Debian.
Include screen and dependency in iso.
Tests on AIO-SX:
PASS: build-image
PASS: unlocked enabled available controller-0
PASS: screen works inside controller node
Depends-On: https://review.opendev.org/c/starlingx/tools/+/861954
Story: 2010211
Task: 46632
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I3675165dd7d61af33e4cc6d62a9f3b7715a59d58