Mailinglist Archive: opensuse-kernel (43 mails)

< Previous Next >
[opensuse-kernel] [PATCH] rpm/ Strip date from initrd (boo#1047218)
without this patch, there were such diffs in build-compare:
+++ new//.build.initrd.kvm.cpio.extract.6630.6643/etc/shadow
@@ -1 +1 @@


If this patch is not good enough, there is also
part of Factory's shadow-4.7 but it seems that it is the build host's
shadow version used or SOURCE_DATE_EPOCH is not set in that context.
rpm/ | 1 +
1 file changed, 1 insertion(+)

diff --git a/rpm/ b/rpm/
index 91ad608e44..262113fe1b 100644
--- a/rpm/
+++ b/rpm/
@@ -80,6 +80,7 @@ loaded during build when installing the kernel package.

+sed -i 's/^root:\*:[1-9][0-9]*::::::/root:*:42::::::/' /etc/shadow # strip
date from dracut-generated initrd to make build reproducible (boo#1047218)
mkdir -p /usr/lib/dracut/modules.d/80obs
cat > /usr/lib/dracut/modules.d/80obs/ <<EOF

To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kernel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups