File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN apt-get update && apt-get -y install git build-essential tzdata meson pkg-co
88
99RUN 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
1313WORKDIR /opt/systemd-source/systemd
1414
Original file line number Diff line number Diff 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/ && \
You can’t perform that action at this time.
0 commit comments