[Grml] How do I find out which FAI classes were used to build a

Michael Prokop mika at grml.org
Wed Sep 6 09:06:33 CEST 2017


* Marc Haber [Sun Sep 03, 2017 at 06:37:42PM +0200]:
> On Thu, Aug 31, 2017 at 09:16:38PM +0200, Michael Prokop wrote:

> > What about something like:

> > % jo build_date="$(TZ=UTC date +%s)" grml_live_classes=DEBORPHAN,GRMLBASE,GRML_FULL,RELEASE,AMD64,IGNORE,SNAPSHOT grml_live_version=0.30.2 build_tool=grml-live debian_release=stretch grml_live_options="-F -V -A" architecture=amd64 grml_version=build2065 debian_release=autobuild-build2065 grml_name=grml64-full_sid build_host="jenkins.grml.org" | jq -S '.'
> > {
> >   "architecture": "amd64",
> >   "build_date": 1504206859,
> >   "build_host": "jenkins.grml.org",
> >   "build_tool": "grml-live",
> >   "debian_release": "autobuild-build2065",
> >   "grml_live_classes": "DEBORPHAN,GRMLBASE,GRML_FULL,RELEASE,AMD64,IGNORE,SNAPSHOT",
> >   "grml_live_options": "-F -V -A",
> >   "grml_live_version": "0.30.2",
> >   "grml_name": "grml64-full_sid",
> >   "grml_version": "build2065"
> > }

> > put into /GRML/buildinfo.json or so on the ISO?

> Looks nearly perfect. A personal preference might be that I'd prefer a
> human-readable date as build_data and the snapshot, if it's important in
> the first place, the epoch timestamp in another variable.

What do you mean with "snapshot" here? Can you please provide a full
example of what you'd like to have?

> And probably the suite is missing.

I think I just used the wrong argument for debian_release in my example. :)

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20170906/7fc2e1e6/attachment.sig>


More information about the Grml mailing list