Skip to content

Commit 8f74125

Browse files
committed
Enable for running as a github action
1 parent 3834433 commit 8f74125

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM localhost/runner:ubuntu.24.04
2+
ARG REPO TOKEN
3+
USER root
4+
ENV DEBIAN_FRONTEND=noninteractive
5+
RUN apt-get -qq update -y && \
6+
apt-get -qq -y install wget linux-headers-generic && \
7+
apt autoclean
8+
USER runner
9+
RUN /opt/runner/config.sh --url ${REPO} --token ${TOKEN}
10+
CMD /opt/runner/run.sh

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ VERSION=3.0
33
RELEASE=1
44

55
obj-m := fsiucv.o
6-
LEVEL := `uname -r`
6+
LEVEL := $(shell ls /lib/modules/ | tail -1 | xargs basename)
77
KDIR := /usr/src/linux-headers-$(LEVEL)
88
PWD := $(shell pwd)
99
DIST_FILES := ChangeLog fsiucv.c fsiucv.h fsiucv.spec HOW-TO \

0 commit comments

Comments
 (0)