Skip to content

Commit 25744af

Browse files
committed
Fix for debian/sid build issues, backported from v4
Create a dummy debian/control with an old timestamp - so that make, as called by debian/rules, will always recreate it correctly.
1 parent e7ae5f8 commit 25744af

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/ci-deb.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
- name: Install build dependencies
6868
run: |
6969
apt-get install -y --no-install-recommends build-essential devscripts quilt equivs procps fakeroot
70+
touch -t 202001010000 debian/control
7071
debian/rules debian/control
7172
mk-build-deps -irt"apt-get -y" debian/control
7273
working-directory: freeradius

scripts/crossbuild/m4/Dockerfile.deb.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ RUN for i in $(git for-each-ref --format='%(refname:short)' refs/remotes/origin
8484
do \
8585
git checkout $i; \
8686
if [ -e ./debian/control.in ] ; then \
87+
touch -t 202001010000 debian/control; \
8788
debian/rules debian/control ; \
8889
fi ; \
8990
echo 'y' | \

scripts/docker/dists/debiansid/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN [ -z "$release" ] || git checkout ${release} ; \
4141
# Install build dependencies
4242
#
4343
RUN if [ -e ./debian/control.in ]; then \
44+
touch -t 202001010000 debian/control; \
4445
debian/rules debian/control; \
4546
fi; \
4647
echo 'y' | mk-build-deps -irt'apt-get -yV' debian/control

scripts/docker/m4/Dockerfile.deb.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN [ -z "$release" ] || git checkout ${release} ; \
3636
# Install build dependencies
3737
#
3838
RUN if [ -e ./debian/control.in ]; then \
39+
touch -t 202001010000 debian/control; \
3940
debian/rules debian/control; \
4041
fi; \
4142
echo 'y' | mk-build-deps -irt'apt-get -yV' debian/control

0 commit comments

Comments
 (0)