From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6596658663135379456 X-Received: by 2002:a1c:9c45:: with SMTP id f66-v6mr407766wme.27.1535904283701; Sun, 02 Sep 2018 09:04:43 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:5588:: with SMTP id j130-v6ls2136803wmb.6.gmail; Sun, 02 Sep 2018 09:04:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbR2/p5m5IcaCSnqoVsS9Ap1gqFT32149fYUi9V8EJen5lUg8U6NtjfpJNOjFfprrYKrTNK X-Received: by 2002:a1c:187:: with SMTP id 129-v6mr462382wmb.25.1535904283171; Sun, 02 Sep 2018 09:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535904283; cv=none; d=google.com; s=arc-20160816; b=cQDmSrr9VgyBkC/oHPBGM4BSaTSEW1ftseqDSOORoh/1B2XiTnX4hAxZQPaq/kxCft ASrvmDsj/9fh8Cx6WYjVkN0Exe7Kq6bMi2ET76nt2/DxwzKR8q0jj1dSYfSKaAu1f3WW 679C14ac5C/od8fTlIZL0h7topfmnjs3QM8kYePKJrREJ2xAXb9nHl822BMmdJ8FF6g/ eb/Vw7p0/cvHd7P0G7Dud1i07vB2s1IJdklQRejAxvO0GMtq3ug3sPQ++jX4zZIQtfpe Z8algWgUANSbad6yU90L9npYRWOupPpwa8g27qGBG8F45njMPcLdfJvn7pnviGQ/whZc wcCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:to:from:arc-authentication-results; bh=hjlVKTo71///Omx1ysl9jJLo2aJJRycgn3Ogz0Ubg5Q=; b=P2WDcyuVIWvz9EGDLjo3q8buOQ6J+l1Lj/GnrqXviwcFuL5KBswqZZcT3x3iqMVUQX w2oO46KOSaXhJRD9WpiphR6OplIBnCfRF8ddNOJkHuf0gLR/QRS+GJCpcHpEfD9LrqVy KrO4Bmn78GCKqcuYZEt/DCSzFJ4uOTvwjWJZlxH3Ev9xaMz2D/ENiHM8eSePfhJPBOgf A+h44z/HzdX252gNNn8l4hqBr6IdY8zOYJTx7sV6GCLtcc9ztm+taLuCMf9QZJFYyyby N4f2diRty1Q843NEhj2Qq0lldDh53jsckU9xkeu4hec5oms7ozc67hdLa8fqRtAeDiL7 i2MQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id y13-v6si413167wrd.3.2018.09.02.09.04.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Sep 2018 09:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w82G4g90030201 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 2 Sep 2018 18:04:42 +0200 Received: from md1f2u6c.ad001.siemens.net ([139.22.32.125]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w82G4fqs004352 for ; Sun, 2 Sep 2018 18:04:42 +0200 From: Jan Kiszka To: isar-users Subject: [PATCH 6/6] Add changelog for the recipe API Date: Sun, 2 Sep 2018 18:04:40 +0200 Message-Id: <71b550be7695c0436081ef7383fb43686bcc4008.1535904280.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: References: In-Reply-To: References: X-TUID: 8eWCWHsxlLDw From: Jan Kiszka This uses the last release v0.5 as baseline and documents changes that affect own recipes and layers using Isar. Hopefully, this caught all of them since v0.5. Signed-off-by: Jan Kiszka --- RECIPE-API-CHANGELOG.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 RECIPE-API-CHANGELOG.md diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md new file mode 100644 index 0000000..601fc6b --- /dev/null +++ b/RECIPE-API-CHANGELOG.md @@ -0,0 +1,59 @@ +Recipe API Changelog +==================== + +Baseline: Release v0.5 + +Changes in v0.6 +--------------- + +### Separate do_prepare_build task + +All Debianizations of source trees and any further programmatic patching has to +be moved from the dpkg_runbuild() task to this new task. + +### ISAR_CROSS_COMPILE support + +Isar now supports cross-compilation. When enabled via `ISAR_CROSS_COMPILE = "1"` +in a global configuration file, all recipes that do not overwrite this variable +will build cross-compiled. + +If a recipe is not cross-compatible, it should set `ISAR_CROSS_COMPILE = "0"`. +Then also all its dependencies that are built by Isar must opt out from +cross-building. + +### wic image type, removal of manual wic invocation + +Images that are described by wic files are now generated during the build by +setting `IMAGE_TYPE = "wic-img"`. The manual invocation of wic after the +bitbake run is no longer needed nor supported. + +### Optional kernel installation + +The installation of a Linux kernel into the isar-image-base can be skipped by +setting `KERNEL_NAME = ""`. + +### Corrected semantic of `S` + +The `S` variable is now defined as NOT including `WORKDIR`, like in OE, Gentoo +and others. If it was set to, e.g., `S = "sources"` in a recipe so far, it must +be defined as `S = ${WORKDIR}/sources` from now on. + +### DISTRO and DISTRO_ARCH are available as OVERRIDES + +Bitbake variables can now also refer to the DISTRO as well as the DISTRO_ARCH +for overrides. + +### Set ISAR_RELEASE_CMD in own top-layer + +Isar now populates /etc/os-release with information about the image. In order +to identify the revision of the top layer that controlled the image build with +all its dependencies, set ISAR_RELEASE_CMD so that it picks up the required +information. + +If the top-layer is managed in git, set `LAYERDIR_mylayer = "${LAYERDIR}"` in +`conf/layer.conf` and add something along + + ISAR_RELEASE_CMD = "git -C ${LAYERDIR_mylayer} describe --tags --dirty \ + --match 'v[0-9].[0-9]*'" + +in the image recipe (or `isar-image-base.bbappend`) of that layer. -- 2.16.4