diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_242.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index 6bbe388b1f..2c101cbbb4 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb | |||
@@ -83,6 +83,7 @@ PACKAGECONFIG ??= " \ | |||
83 | quotacheck \ | 83 | quotacheck \ |
84 | randomseed \ | 84 | randomseed \ |
85 | resolved \ | 85 | resolved \ |
86 | set-time-epoch \ | ||
86 | smack \ | 87 | smack \ |
87 | sysusers \ | 88 | sysusers \ |
88 | timedated \ | 89 | timedated \ |
@@ -166,7 +167,12 @@ PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp" | |||
166 | PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,initscripts-sushell" | 167 | PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,initscripts-sushell" |
167 | PACKAGECONFIG[smack] = "-Dsmack=true,-Dsmack=false" | 168 | PACKAGECONFIG[smack] = "-Dsmack=true,-Dsmack=false" |
168 | PACKAGECONFIG[sysusers] = "-Dsysusers=true,-Dsysusers=false" | 169 | PACKAGECONFIG[sysusers] = "-Dsysusers=true,-Dsysusers=false" |
169 | PACKAGECONFIG[time-epoch] = "-Dtime-epoch=0,," | 170 | # When enabled use reproducble build timestamp if set as time epoch, |
171 | # or build time if not. When disabled, time epoch is unset. | ||
172 | def build_epoch(d): | ||
173 | epoch = d.getVar('SOURCE_DATE_EPOCH') or "-1" | ||
174 | return '-Dtime-epoch=%d' % int(epoch) | ||
175 | PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0" | ||
170 | PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false" | 176 | PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false" |
171 | PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false" | 177 | PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false" |
172 | PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true" | 178 | PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true" |