• devuan-packages
  • debian-installer
  • Issues
  • #31

Closed
Open
Opened 2015-06-21T22:56Z by Jaromil @jaromil

Hashes and signatures of generated ISO installers

According to Amprolla issue nr.4 all iso installers are built in path:

http://packages.devuan.org/merged/dists/<release-name>/main/installer-<arch>/current/images/netboot/mini.iso

which is fine. Last thing missing is make sure that a .sha1sum file is put besides the mini.iso with its hash computed, so that other scripts can realize when changes are occurring.

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  • Daniel Reurich
    Daniel Reurich @CenturionDan · 2015-06-21T20:34Z

    note: the above url is actually a symlink to

    http://packages.devuan.org/merged/dists/<release-name>/main/installer-<arch>/<date>/images/netboot/mini.iso

    the checksums SHA256SUMS and MD5SUMS are located in:

    http://packages.devuan.org/devuan/dists/jessie/main/installer-amd64/current/images/

    Is that sufficient for your purposed Jaromil? If needed I can add sha1sum generation to d-i as well

    @nextime is it possible to have the repo-jobs sign those checksum files?

    Edited 2015-06-21T20:37Z
  • Franco Lanza
    Franco Lanza @nextime · 2015-06-21T21:01Z

    @CenturionDan repos-jobs is executed only on trusted build hosts ( actually only ci.devuan.org ) where we have the repository private keys to sign things, so, yes, it's feasible to sign it easily

  • Jaromil
    Jaromil @jaromil · 2015-06-22T05:21Z

    SHA256SUMS are fine and yes signing is a good idea, please do it, I'll add a signature check to my scripts.

  • Jaromil
    Jaromil @jaromil · 2015-06-22T05:27Z

    BTW do you have an ETA for when these builds will be automatised? right now only amd64 is available.

    Actually since I use the netboot installer to produce VMs there is no need to make such builds every day (fresh packages are pulled directly from repo on install).

    Ideally builds should be triggered by commits here and on udebs, but for the immediate future would be enough to have them triggered by hand for all platforms where they work. As soon as there are ARM builds then I can start testing scripts for those (and proceed developing an image toaster for RPi)

  • Daniel Reurich
    Daniel Reurich @CenturionDan · 2015-06-22T05:33Z

    the d-i build of alpha 2 is currently running and so far has succesfully built i386, armhf and armel, amd64 will be fine too and arm64 will most likely fail this run. FWIW, only arm64 of the arm builds appears to use xorriso, and we have a plan for fixing that one way or another. So another couple of hours and those builds should hit the repo and then we'll look at making arm64 build.

  • Jaromil
    Jaromil @jaromil · 2015-06-22T06:42Z

    I see! hoorray! http://packages.devuan.org/devuan/dists/jessie/main/installer-armhf/current/images/netboot/ yet there is no mini.iso for armhf for instance, is that normal? are the SD_card images to be used then? Anyway, I'll find some time to play around with this next weekend.

  • Daniel Reurich
    Daniel Reurich @CenturionDan · 2016-04-25T04:10Z

    Ideally the checksums in the installer- should be included in the Release/InRelease as well.

    This is really a job for amprolla...

    Edited by Daniel Reurich 2016-04-25T04:10Z
  • Daniel Reurich @CenturionDan assigned to @nextime · 2017-01-14T08:15Z

    assigned to @nextime

  • Daniel Reurich
    Daniel Reurich @CenturionDan · 2017-01-14T08:16Z

    @nextime just a reminder about this while you are working on amprolla2 ;-)

  • Franco Lanza
    Franco Lanza @nextime · 2017-04-22T00:43Z

    @CenturionDan i will look at it on amprolla2, but at the moment feel free to insert a cronjob on the repo machine using crontab -e to re-generate those checksum files, maybe you can just check if the signature file is absent or older than the file to be hashed and then generate it from crontab?