[Simple-cdd-devel] Bug#760309: simple-cdd: build of squeeze image fails due to missing images/SHA256SUMS file
Kai Harries
kai.harries at gmail.com
Tue Sep 2 19:01:43 UTC 2014
Package: simple-cdd
Version: 0.5.0
Severity: normal
Tags: upstream patch
Dear Maintainer,
* What led up to the situation?
$ cat simple-cdd.conf
server="ftp.de.debian.org"
debian_mirror="http://$server/debian/"
wget_debian_mirror="ftp://$server/debian/"
rsync_debian_mirror="$server::debian"
$ simple-cdd --conf ./simple-cdd.conf --dist squeeze
* What was the outcome of this action?
simple-cdd aborts with an error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Checking checksum file... dists/squeeze/main/installer-
amd64/current/images/SHA256SUMS
sha256sum: standard input: no properly formatted SHA256 checksum lines found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* What outcome did you expect instead?
An image of a squeeze installer.
If I apply the following changes to simple-cdd:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- tmp/simple-cdd 2014-09-02 20:33:32.236476817 +0200
+++ /usr/bin/simple-cdd 2014-09-02 20:44:58.051014315 +0200
@@ -410,7 +410,11 @@
i386|amd64) di_match_files="/cdrom" ;;
*) di_match_files="." ;;
esac
- checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+ if [ "$DI_CODENAME" = "squeeze" ]; then
+ checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/MD5SUMS"
+ else
+ checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+ fi
done
fi
# run mirroring hooks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.... the existing MD5SUMS file is used. But then the process fails with:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reading in package information for amd64:
Done: Read details of 332 packages for amd64
WARNING: no translated descriptions found for squeeze/main
Starting to lay out packages into images:
Adding the required directories
Generating the image label and volume id
Adding .disk/base_components
Adding .disk/cd_type
Adding udeb/base includes/excludes
WARNING: Unable to read UDEB_EXCLUDE file /home/kai/tmp/test-simple-cdd/tmp
//debian-cd/data/squeeze/amd64_netinst_udeb_exclude
Adding docs to CD1
Extracting FAQ on CD1
Adding common docs on CD1
Adding Release files
Trying to add upgrade* directories
(Optionally) making the image bootable for amd64:
No script to make CDs bootable for amd64
We've not been asked to ignore this. Aborting.
Failed to start disc 1, error 256
Makefile:406: recipe for target 'image-trees' failed
make: *** [image-trees] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages simple-cdd depends on:
ii apt-utils 1.0.6
ii dctrl-tools 2.23
ii debian-cd 3.1.15
ii debootstrap 1.0.60
ii lsb-release 4.1+Debian13
ii python 2.7.8-1
ii reprepro 4.15.0-1
ii rsync 3.1.1-2
ii wget 1.15-1+b1
Versions of packages simple-cdd recommends:
ii dose-distcheck 3.2.2-2+b1
Versions of packages simple-cdd suggests:
ii qemu-kvm 2.1+dfsg-2
ii qemu-system 2.1+dfsg-2
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-cdd.diff
Type: text/x-diff
Size: 732 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20140902/453d8a2e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-cdd.diff
Type: text/x-diff
Size: 732 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20140902/453d8a2e/attachment-0001.diff>
More information about the Simple-cdd-devel
mailing list