Merge branch 'debian'
Sophie Brun
6 years ago
|
0 |
live-build (1:20171207) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Use $SOURCE_DATE_EPOCH when updating timestamps of manual pages in order
|
|
3 |
to make the package reproducible at build time. Closes: #879169
|
|
4 |
Thanks to Chris Lamb <[email protected]> for the patch.
|
|
5 |
* Accept kernels without initrd. Closes: #878430
|
|
6 |
Thanks to Balint Reczey <[email protected]> for the patch.
|
|
7 |
* Fix the way the .disk/mkisofs file is created. Closes: #881941
|
|
8 |
Thanks to Daniel Reichelt <[email protected]> for the patch.
|
|
9 |
|
|
10 |
-- Raphaƫl Hertzog <[email protected]> Thu, 07 Dec 2017 20:29:59 +0100
|
|
11 |
|
0 | 12 |
live-build (1:20170920kali1) kali-dev; urgency=medium
|
1 | 13 |
|
2 | 14 |
* Synchronize with Debian. Remaining changes:
|
12 | 12 |
PROGRAM="LIVE\\\-BUILD"
|
13 | 13 |
VERSION="$(cd .. && dpkg-parsechangelog -S Version)"
|
14 | 14 |
|
15 | |
DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"
|
|
15 |
DATE="$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y\\\\-%m\\\\-%d)"
|
16 | 16 |
|
17 | |
DAY="$(LC_ALL=C date +%d)"
|
18 | |
MONTH="$(LC_ALL=C date +%m)"
|
19 | |
YEAR="$(LC_ALL=C date +%Y)"
|
|
17 |
DAY="$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%d)"
|
|
18 |
MONTH="$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%m)"
|
|
19 |
YEAR="$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y)"
|
20 | 20 |
|
21 | 21 |
echo "Updating version headers..."
|
22 | 22 |
|
213 | 213 |
cat >> binary.sh << EOF
|
214 | 214 |
|
215 | 215 |
mkdir -p binary/.disk
|
216 | |
echo "xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary" > binary/.disk/mkisofs
|
|
216 |
xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary
|
|
217 |
EOF
|
|
218 |
|
|
219 |
# retain the xorriso command used to create the image in the image itself
|
|
220 |
cat <<-EOF >binary/.disk/mkisofs
|
217 | 221 |
xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary
|
218 | 222 |
EOF
|
219 | 223 |
|
69 | 69 |
|
70 | 70 |
# Installing linux-image
|
71 | 71 |
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
|
72 | |
cp chroot/boot/initrd.img-* "${DESTDIR}"
|
|
72 |
cp chroot/boot/initrd.img-* "${DESTDIR}" 2>&1 || Echo_message "Skip installing missing initrd."
|
73 | 73 |
|
74 | 74 |
case "${LB_INITRAMFS}" in
|
75 | 75 |
live-boot)
|