Skip to content

Commit ef1dc06

Browse files
Steve RamageSJrX
authored andcommitted
ci: fix build issues with systemd after refactor
1 parent 2c857ba commit ef1dc06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systemd-build/Systemd-Builder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get -y install git build-essential tzdata meson pkg-co
88

99
RUN mkdir /opt/systemd-source
1010

11-
RUN git clone https://github.com/systemd/systemd.git /opt/systemd-source/systemd
11+
RUN git clone https://github.com/systemd/systemd.git /opt/systemd-source/systemd --single-branch --depth=1
1212

1313
WORKDIR /opt/systemd-source/systemd
1414

systemd-build/systemd-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo "Git Pull" && \
2121
cp ./src/network/networkd-network-gperf.gperf /mount/ && \
2222
cp ./src/network/networkd-gperf.gperf /mount/ && \
2323
cp -R ./man /mount/ && \
24-
/usr/bin/meson --internal exe --capture /mount/man/ethtool-link-mode.xml -- /usr/bin/python3 ./src/shared/ethtool-link-mode.py --xml 'cc -E' ./src/basic/include/linux/ethtool.h && \
24+
/usr/bin/meson --internal exe --capture /mount/man/ethtool-link-mode.xml -- /usr/bin/python3 ./src/shared/ethtool-link-mode.py --xml 'cc -E' ./src/include/uapi/linux/ethtool.h && \
2525
git log --format="%at" | sort | tail -n 1 | xargs -I{} date -d @{} +%Y-%m-%d > last_commit_date && \
2626
git rev-parse --short=10 HEAD > last_commit_hash && \
2727
cp last_commit_date last_commit_hash /mount/ && \

0 commit comments

Comments
 (0)