Commit 0becbcf
authored
Fix (pre-truncate) file mtimes in the docker container (#44)
The OpenWrt build hashes file timestamps at full (sub-second) precision to
determine if packages need to be rebuilt. While the container is being built,
these will reflect the actual time when those files were checked out from the
feed. However when the files are baked into the container layer, the file
timestamps end up being truncated to second precision, causing the stamp hashes
to change. To avoid this, set them all to a fixed non-fractional timestamp.
Also fix a typo in the feed install line.1 parent 5b137b8 commit 0becbcf
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
0 commit comments