diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-19 15:27:07 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-19 15:27:07 +0200 |
| commit | aa25e0ee80156c3c091b78391533273501701bbc (patch) | |
| tree | ef82b1cd3ac43fb371e8263483c16b9f927426f7 /systemtap/Makefile | |
| parent | 1db4e610c260be43123c0ee8ea9e0795fb573009 (diff) | |
build: switch Docker workflow to Rocky Linux 9
Diffstat (limited to 'systemtap/Makefile')
| -rw-r--r-- | systemtap/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/systemtap/Makefile b/systemtap/Makefile index 97e24d6..caae5de 100644 --- a/systemtap/Makefile +++ b/systemtap/Makefile @@ -1,7 +1,7 @@ KERNEL ?= $(shell uname -r) -PROCESSOR ?= $(shell uname -p) +PROCESSOR ?= $(shell uname -m) DESTDIR ?= /opt/ioriot/systemtap/$(KERNEL) -UPDATEURI = http://debuginfo.centos.org/7/$(PROCESSOR) +UPDATEURI ?= https://download.rockylinux.org/pub/rocky/9/BaseOS/$(PROCESSOR)/debug/tree/Packages/k DOWNLOADIR ?= ./downloads all: prepare compile prepare: @@ -36,8 +36,7 @@ debuginfodownload: test -f $(DOWNLOADIR)/kernel-debuginfo-common-$(PROCESSOR)-$(KERNEL).rpm || \ wget -P $(DOWNLOADIR) $(UPDATEURI)/kernel-debuginfo-common-$(PROCESSOR)-$(KERNEL).rpm debuginfolocalinstall: - #yum remove kernel-debuginfo kernel-debuginfo-common-$(PROCESSOR) - yum localinstall $(DOWNLOADIR)/kernel-debuginfo-common-$(PROCESSOR)-$(KERNEL).rpm \ + dnf install -y $(DOWNLOADIR)/kernel-debuginfo-common-$(PROCESSOR)-$(KERNEL).rpm \ $(DOWNLOADIR)/kernel-debuginfo-$(KERNEL).rpm todo: fgrep TODO ./src/* |
