[Simple-cdd-devel] Bug#760309: Bug#760309: simple-cdd: build of squeeze image fails due to missing images/SHA256SUMS file
Vagrant Cascadian
vagrant at debian.org
Fri Sep 5 23:15:00 UTC 2014
On 2014-09-05 14:07:36 -0500, Kai Harries wrote:
> On Fri, Sep 5, 2014 at 7:43 PM, Vagrant Cascadian <vagrant at debian.org> wrote:
>> # set path to include simple-cdd dirs
>> simple_cdd_path=""
>> @@ -410,7 +411,7 @@ if [ "true" = "$do_mirror" ] || [ -z "$do_mirror" ] ; then
>> i386|amd64) di_match_files="/cdrom" ;;
>> *) di_match_files="." ;;
>> esac
>> - checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
>> + checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/${checksum_file_type}"
>> done
>> fi
>> # run mirroring hooks
>>
>
> I have not tested it, but it looks like a good solution.
I committed and pushed a version of the above patch to bzr...
>> I recall debian-cd having poor support for building images other than
>> the running distro, so you may also need to get fixes into debian-cd for
>> that to work... or run your builds in a chroot of compatible
>> distribution.
>>
>> I'm not sure how much energy I want to put into support for oldstable in
>> general; I am not particularly fond of special casing on a
>> per-distribution level.
>
> But then it would be nice if you mention it in the documentation
> (sorry, if I have overseen it)
I'll try to come up with some updates to documentation,
too... suggestions would be most welcome.
> and maybe even add a check that aborts the build with an error message
> if someone tries to create incompatible distributions with it.
It's non-trivial to detect "incompatible distributions", given that the
only symptom is that debian-cd may fail to build.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20140905/07d2d2a8/attachment.sig>
More information about the Simple-cdd-devel
mailing list