File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ RUN ln -fs /usr/share/zoneinfo/America/Vancouver /etc/localtime
66
77RUN apt-get update && apt-get -y install git build-essential tzdata meson pkg-config gperf python3-jinja2 libcap-dev util-linux libmount1 libmount-dev
88
9+
910RUN mkdir /opt/systemd-source
1011
1112RUN git clone https://github.com/systemd/systemd.git /opt/systemd-source/systemd
1213
1314WORKDIR /opt/systemd-source/systemd
1415
15- RUN ./configure
16+ RUN meson setup build
1617
1718RUN mkdir -p /mount/
1819
Original file line number Diff line number Diff line change 1- version : " 3.9"
21services :
32 systemd-builder :
43 build :
@@ -11,4 +10,4 @@ services:
1110 context : .
1211 dockerfile : Ubuntu-Units.Dockerfile
1312 volumes :
14- - ./build:/mount/
13+ - ./build:/mount/
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+
34echo " Git Pull" && \
45 git pull && \
56 echo " Run jinja2" && \
6- python3 ./tools/meson-render-jinja2.py ./build/config.h ./src/version/version.h.in ./src/ core/load-fragment-gperf.gperf.in load-fragment-gperf.gperf && \
7+ python3 ./tools/meson-render-jinja2.py ./build/config.h ./src/core/load-fragment-gperf.gperf.in load-fragment-gperf.gperf && \
78 echo " Copy file(s)" && \
89 cp load-fragment-gperf.gperf /mount/load-fragment-gperf.gperf && \
910 cp -R ./man /mount/ && \
11+ git log -1 --format=" %at" | xargs -I{} date -d @{} +%Y-%m-%d > /mount/last_commit_date && \
1012 echo " Reset Permissions" && \
1113 chmod 777 -R /mount
You can’t perform that action at this time.
0 commit comments