From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6477538949418975232 X-Received: by 10.46.42.66 with SMTP id q63mr182305ljq.39.1508321631449; Wed, 18 Oct 2017 03:13:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.77.200 with SMTP id c69ls556514ljd.10.gmail; Wed, 18 Oct 2017 03:13:51 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R6xf2NowwZ/Ww51qSf59KwO9O0FJo5iO3zc4a7/jGzpxU4yZ8sR0keE1+UV7SMg7kT3IiF X-Received: by 10.46.2.217 with SMTP id y86mr176736lje.27.1508321631094; Wed, 18 Oct 2017 03:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508321631; cv=none; d=google.com; s=arc-20160816; b=tiYjiwUnU2/RcFiqzhxSr+pCPU6lAjt56ca0RToZDLTeeNBu1PXw7bAaed1t58aJXq ebMwT+tXPzagDMA2XasWvfIDnuP2J47n5tpdyteiPTbpULmO+1Ws+rhZbUMzv9PmYLct E2dF1H4QI396CV3bC9B3dzcSF05FuXukxAzDVtWBpamLtCDOgfNwuAcQJbPYtfrBYgR9 1ie3CSAUcoT108L1S5TcDR+4yuk8V1r7YNoV0NQSkCj+NTyhEDr1PhKmKeAcgClb/rRl 2HPtnM/vpCDHX2SohMUM7cdgT6gVyP9FHJh2mPvuac2hq6O/0rAB3De1plfSeM66fxx+ biJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=rHWieIvMJC9urlsskUIUAQHsvfQtGDp/DDPl2wus0dE=; b=V3W7p2duOMd2irTBirC82R7H6xAq8zGyhIwiIFbEatrxIm49YNzU1N5yTYE7hg844K iRO4YpCoOqf9pIlXyADWu29m1I3+UNE4qNmObsYcgvbWbbVJuSGFi7Gke2aextZtSG/1 XDQefxZUrb0hsauQwJ5dEhw/wmmMOSZHRvhpQjzsISfaQzA3oc58jNL4uKsaI9ATqWF9 rOntZ44Y5e2xlEQmoiryAeZDD6edCQ8Dy3TIQ+rhjqC8LFe5+bYdsMoGG/qrACjKOkL+ mGyQvSCxVcr5su+Gi+bmT2Kx/LrvouKZ6lD8VOPt0b/OwDAGoZRuZBSW75BtgynB3tUL t1ZA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id w29si686405lfc.1.2017.10.18.03.13.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 03:13:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id v9IADX3I025655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2017 12:13:42 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [URGENT][PATCH v3 0/2] Correctly determine kernel and initrd versions Date: Wed, 18 Oct 2017 13:13:23 +0300 Message-Id: <20171018101325.12358-1-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.4 X-TUID: WCbuHWrrZSS/ Hello all, IMPORTANT: lets try to review this series ASAP, becuase Isar build is broken again due to recent update of Raspbian kernel version in apt. Instead of yet-another-version update I'd like to commit proper solution. In current Isar implementation, multiconfig file contains hardcoded version for boot files: kernel and initrd. This is used for both: - Add respective package to multistrap config. - Copy boot files to deploy directory. This series drops this hardcoded versions, so now Isar is able to determine version of boot files during building. Changes since v2: - Avoid races in 'deploy/images' folder creation. Changes since v1: - Differentiate 'do_copy_boot_files' stamps. - Update start_vm script accordingly. - Check if symlinks 'vmlinuz' and 'initrd.img' exist before reading them. If symlink doesn't exist, this function skips it. With best regards, Alex *** BLURB HERE *** Alexander Smirnov (2): meta-isar: Drop hardcoded kernel versions meta-isar: Rework boot files copying meta-isar/conf/multiconfig/qemuamd64-jessie.conf | 5 +---- meta-isar/conf/multiconfig/qemuamd64-stretch.conf | 5 +---- meta-isar/conf/multiconfig/qemuarm-jessie.conf | 5 +---- meta-isar/conf/multiconfig/qemuarm-stretch.conf | 5 +---- meta-isar/conf/multiconfig/qemuarm-wheezy.conf | 5 +---- meta-isar/conf/multiconfig/qemui386-jessie.conf | 5 +---- meta-isar/conf/multiconfig/qemui386-stretch.conf | 5 +---- meta-isar/conf/multiconfig/rpi-jessie.conf | 3 --- meta/classes/ext4-img.bbclass | 8 -------- meta/classes/image.bbclass | 24 ++++++++++++++++++++--- scripts/start_vm | 8 ++++++-- 11 files changed, 34 insertions(+), 44 deletions(-) -- 2.9.4