Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SPECS/edge-repos/edge-base.repo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[edge-base]
name=Edge Base $releasever $basearch
baseurl=https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/3.0/
baseurl=https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/3.0/base/
gpgkey=file:///etc/pki/rpm-gpg/INTEL-RPM-GPG-KEY
gpgcheck=1
repo_gpgcheck=0
Expand Down
2 changes: 1 addition & 1 deletion SPECS/edge-repos/edge-repos.signatures.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Signatures": {
"edge-base.repo": "5193b38582bd23705715df7c23a5a4cc6e0fbf7ffe5ced82b0ebe5297382a7c6",
"edge-base.repo": "c33244959fbc4dbb9a65983aa8bd1360d8457ba2f85bc56e87462464ff6ce769",
"INTEL-RPM-GPG-KEY": "90cf27d0aff4e69a11cc3da2e492a383e05e681cafff23525e796c6494d58336"
}
}
5 changes: 4 additions & 1 deletion SPECS/edge-repos/edge-repos.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Edge Microvisor Toolkit repo files, gpg keys
Name: edge-repos
Version: 3.0
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
Expand Down Expand Up @@ -54,6 +54,9 @@ gpg --batch --yes --delete-keys 84910237BDFAAD16C4F9D44411FF864ABDCE8692
%{_sysconfdir}/pki/rpm-gpg/INTEL-RPM-GPG-KEY

%changelog
* Mon Oct 06 2025 Lishan Liu <[email protected]> - 3.0-5
- Update repo URL

* Mon Apr 21 2025 Mun Chun Yep <[email protected]> - 3.0-4
- Update Intel rpm gpg key and repo URL.
- License verified
Expand Down
11 changes: 5 additions & 6 deletions toolkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,13 @@ SOURCE_URL ?= https://files-rs.edgeorchestration.intel.com/files-edge-or
# assignments do not take affect without using 'override'. This means that all of the following PACKAGE_URL_LIST values will
# be ignored if the user sets any value.
##help:var:PACKAGE_URL_LIST:<urls_list>=Space-separated list of URLs to download toolchain RPM packages from, used to populate the toolchain packages if `REBUILD_TOOLCHAIN=n'. The URLs will replace the default set of URLs. Print default list with 'make -s printvar-PACKAGE_URL_LIST'.
PACKAGE_URL_LIST ?= https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/$(RELEASE_MAJOR_ID)/RPMS/x86_64
PACKAGE_URL_LIST += https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/$(RELEASE_MAJOR_ID)/RPMS/noarch
PACKAGE_URL_LIST += https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/$(RELEASE_MAJOR_ID)/RPMS/debuginfo
PACKAGE_URL_LIST ?= https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/$(RELEASE_MAJOR_ID)/base
PACKAGE_URL_LIST += https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/$(RELEASE_MAJOR_ID)/debuginfo

PACKAGE_REPO_LIST ?= https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/$(RELEASE_MAJOR_ID)
PACKAGE_REPO_LIST ?= $(PACKAGE_URL_LIST)

REPO_LIST ?=
SRPM_URL_LIST ?= https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/$(RELEASE_MAJOR_ID)/SRPMS
REPO_LIST ?=
SRPM_URL_LIST ?= https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/$(RELEASE_MAJOR_ID)/srpm

##help:var:VALIDATE_TOOLCHAIN_GPG={y,n}=Enable or disable GPG validation of the toolchain RPMs. If enabled toolchain RPMs will be validated against the GPG keys in the TOOLCHAIN_GPG_VALIDATION_KEYS variable. On by default when using upstream toolchain RPMs.
# Based on REBUILD_TOOLCHAIN and DAILY_BUILD_ID. If REBUILD_TOOLCHAIN is set to 'y' or DAILY_BUILD_ID is set to any non-empty value, then GPG validation is disabled by default.
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/development.repo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[development-repo]
name=development Repo
baseurl=http://rpm-edgemicrovisor.intel.com/3.0
baseurl=http://rpm-emt.intel.com/pulp/content/emt-3.0-test-base
enabled=1
gpgcheck=0
skip_if_unavailable=1
Expand Down
4 changes: 2 additions & 2 deletions toolkit/resources/manifests/package/pkggen_core_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ libltdl-2.4.7-1.emt3.x86_64.rpm
libltdl-devel-2.4.7-1.emt3.x86_64.rpm
lua-5.4.6-1.emt3.x86_64.rpm
lua-libs-5.4.6-1.emt3.x86_64.rpm
edge-repos-3.0-4.emt3.noarch.rpm
edge-repos-shared-3.0-4.emt3.noarch.rpm
edge-repos-3.0-5.emt3.noarch.rpm
edge-repos-shared-3.0-5.emt3.noarch.rpm
tdnf-3.5.8-10.emt3.x86_64.rpm
tdnf-cli-libs-3.5.8-10.emt3.x86_64.rpm
tdnf-devel-3.5.8-10.emt3.x86_64.rpm
Expand Down
4 changes: 2 additions & 2 deletions toolkit/resources/manifests/package/toolchain_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ e2fsprogs-devel-1.47.0-2.emt3.x86_64.rpm
e2fsprogs-lang-1.47.0-2.emt3.x86_64.rpm
e2fsprogs-libs-1.47.0-2.emt3.x86_64.rpm
edge-check-macros-3.0-2.emt3.noarch.rpm
edge-repos-3.0-4.emt3.noarch.rpm
edge-repos-shared-3.0-4.emt3.noarch.rpm
edge-repos-3.0-5.emt3.noarch.rpm
edge-repos-shared-3.0-5.emt3.noarch.rpm
edge-rpm-macros-3.0-2.emt3.noarch.rpm
elfutils-0.189-6.emt3.x86_64.rpm
elfutils-debuginfo-0.189-6.emt3.x86_64.rpm
Expand Down
9 changes: 5 additions & 4 deletions toolkit/scripts/daily_build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,20 @@ endif

ifneq ($(DAILY_BUILD_REPO),)
PACKAGE_ROOT := $(shell grep -m 1 "baseurl" $(DAILY_BUILD_REPO) | sed 's|baseurl=||g')
PACKAGE_DEBUGINFO := $(subst base,debuginfo,$(PACKAGE_ROOT))
PACKAGE_SRPM := $(subst base,srpm,$(PACKAGE_ROOT))
$(warning )
$(warning ######################### WARNING #########################)
$(warning Using a Daily Build Repo at following location:)
$(warning $(PACKAGE_ROOT))
$(warning ######################### WARNING #########################)
$(warning )
override PACKAGE_URL_LIST := $(PACKAGE_URL_LIST) \
$(PACKAGE_ROOT)/RPMS/x86_64 \
$(PACKAGE_ROOT)/RPMS/noarch \
$(PACKAGE_ROOT)/RPMS/debuginfo
$(PACKAGE_ROOT) \
$(PACKAGE_DEBUGINFO)

override SRPM_URL_LIST := $(SRPM_URL_LIST) \
$(PACKAGE_ROOT)/SRPMS
$(PACKAGE_SRPM)

override PACKAGE_REPO_LIST := $(PACKAGE_REPO_LIST) \
$(PACKAGE_ROOT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ start_record_timestamp "build packages/install"
# Download JDK rpm
echo "Downloading MsOpenJDK rpm"
MSOPENJDK_FILENAME="msopenjdk-17-17.0.12-1.$(uname -m).rpm"
MSOPENJDK_URL="https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpm/3.0/RPMS/$(uname -m)/$MSOPENJDK_FILENAME"
MSOPENJDK_URL="https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/3.0/base/Packages/m/$MSOPENJDK_FILENAME"
case $(uname -m) in
x86_64) MSOPENJDK_EXPECTED_HASH="ec41e3ccf6f78c49f2ee2373df80b375ed3c2d5d97eac412b7ade0f045b0d9f4" ;;
aarch64) MSOPENJDK_EXPECTED_HASH="0532d42d5c010152c09e88971f9aecd84af54f935973bbf0f1eba2c1c6839726" ;;
Expand Down
3 changes: 2 additions & 1 deletion toolkit/scripts/toolchain/download_toolchain_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ function download() {
log_num=$((log_num + 1))
attempt_log_file="$log_file.$log_num"
src_url="$url/$rpm_name"

first_char=$(echo "${rpm_name:0:1}" | tr '[:upper:]' '[:lower:]')
src_url="$url/Packages/$first_char/$rpm_name"
echo "$src_url -> $attempt_log_file" >> "$log_file"
{ $downloader_tool $cert $key --no-clobber --output-file="$dst_file" --log-file="$attempt_log_file" "$src_url" 1>/dev/null 2>&1 ; res=$? ; } || true

Expand Down
Loading