Reproducible: fixes the last two issues for Debian 12.3
* source_tar: The order of the files in the tarball are now predictable. This has been verified with 'disorderfs' * rebuild.sh: The timestamp of the directory of theme.txt must also be adjusted.
This commit is contained in:
parent
d70a84f2e9
commit
4832b6215d
|
@ -46,8 +46,8 @@ Acquire_lockfile
|
||||||
rm -f ${LB_IMAGE_NAME}-source.debian.tar.bz2 ${LB_IMAGE_NAME}-source.debian.tar.gz ${LB_IMAGE_NAME}-source.debian.tar.lz ${LB_IMAGE_NAME}-source.debian.tar
|
rm -f ${LB_IMAGE_NAME}-source.debian.tar.bz2 ${LB_IMAGE_NAME}-source.debian.tar.gz ${LB_IMAGE_NAME}-source.debian.tar.lz ${LB_IMAGE_NAME}-source.debian.tar
|
||||||
rm -f ${LB_IMAGE_NAME}-source.live.tar.bz2 ${LB_IMAGE_NAME}-source.live.tar.gz ${LB_IMAGE_NAME}-source.live.tar.lz ${LB_IMAGE_NAME}-source.live.tar
|
rm -f ${LB_IMAGE_NAME}-source.live.tar.bz2 ${LB_IMAGE_NAME}-source.live.tar.gz ${LB_IMAGE_NAME}-source.live.tar.lz ${LB_IMAGE_NAME}-source.live.tar
|
||||||
|
|
||||||
tar cf ${LB_IMAGE_NAME}-source.debian.tar source/debian
|
tar cf ${LB_IMAGE_NAME}-source.debian.tar --sort=name source/debian
|
||||||
tar cf ${LB_IMAGE_NAME}-source.live.tar source/live
|
tar cf ${LB_IMAGE_NAME}-source.live.tar --sort=name source/live
|
||||||
|
|
||||||
touch ${LB_IMAGE_NAME}-source.debian.tar -d@${SOURCE_DATE_EPOCH}
|
touch ${LB_IMAGE_NAME}-source.debian.tar -d@${SOURCE_DATE_EPOCH}
|
||||||
touch ${LB_IMAGE_NAME}-source.live.tar -d@${SOURCE_DATE_EPOCH}
|
touch ${LB_IMAGE_NAME}-source.live.tar -d@${SOURCE_DATE_EPOCH}
|
||||||
|
|
|
@ -466,8 +466,9 @@ case "$DEBIAN_VERSION" in
|
||||||
mkdir -p config/bootloaders/grub-pc
|
mkdir -p config/bootloaders/grub-pc
|
||||||
# To have a 800x600 image and the title 'Live Boot Menu with GRUB', manually do some of the tweaks from binary_syslinux
|
# To have a 800x600 image and the title 'Live Boot Menu with GRUB', manually do some of the tweaks from binary_syslinux
|
||||||
# 1) Use the sharper 800x600 image instead of 640x480
|
# 1) Use the sharper 800x600 image instead of 640x480
|
||||||
# 2) Because the image is provided, the timestamp of theme.txt must be adjusted, otherwise it would be the date from the provide live-build folder
|
# 2) Because the image is provided, the timestamp of theme.txt must be adjusted, otherwise it would be the date from the provided live-build folder
|
||||||
ln -s ../../isolinux/splash800x600.png config/bootloaders/grub-pc/splash.png
|
ln -s ../../isolinux/splash800x600.png config/bootloaders/grub-pc/splash.png
|
||||||
|
touch ${LIVE_BUILD}/share/bootloaders/grub-pc/live-theme -d@${SOURCE_DATE_EPOCH}
|
||||||
touch ${LIVE_BUILD}/share/bootloaders/grub-pc/live-theme/theme.txt -d@${SOURCE_DATE_EPOCH}
|
touch ${LIVE_BUILD}/share/bootloaders/grub-pc/live-theme/theme.txt -d@${SOURCE_DATE_EPOCH}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue