From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6477538949418975232 X-Received: by 10.46.99.129 with SMTP id s1mr121905lje.34.1508268209324; Tue, 17 Oct 2017 12:23:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.82.14 with SMTP id g14ls343957ljb.0.gmail; Tue, 17 Oct 2017 12:23:28 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SAzCdB95yjFXjHM9r7F0YXnsLE6GwjsLUxBp4T8NlkbFX1YiTd8Wulj/4poG+CfLBRLCqt X-Received: by 10.25.18.193 with SMTP id 62mr400846lfs.4.1508268208820; Tue, 17 Oct 2017 12:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508268208; cv=none; d=google.com; s=arc-20160816; b=OyYUNKeWHDwtD9gpN2zcVOgdzeL0vlOYlufLFYpWlmEAkVxRvHn/xh9mRpdVZDk9yM 4yRVHU4+BSaw5ib3aZm/jWV6LXhrngsqKB+QKFQ5M3PuFYQ2lSKxbEMB9UmwEpC/wj/I sOYcYNKUtdmpaonMq6Eg1vcD8tSmU6NPEp8v7qkUp2DsFIwPQHCMURolfYliARyPF7UF umZerghlG/5FhkHLMKwSP3GwoW2eSlZQqNGal1zPr7eTvOB4ULZx1MMZntTXY2gGsZdP IgKnfD2OcbgiZupDZ6TVxzR9an3V+hspyvT8TCgxcOuWpbOwVqA046Cz+IQ4xDnXs0w5 5wXA== 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=ebd4jQydZmptZ5zNQ+HyD1ZywS0AA+Bb4ez4QSZ5LKg=; b=uy38exYmawSOfABLXezHCbpVTzyR09467C9t73KlnYSqZp25vi+sAaniQRKyR3vjT6 H/fRig22oQ9yr/2VBd3Kdu+YpIuCZYhkCIORsuzA9118WtjaqD6BD94IPfzKPPoHDAMp DGoTF8wy9ZpKqqlBb2pv5TstZjjlp5wSmy6WjKWthf9A0EE3Z0PQ9R5WpZ98N1EcQXxR 382vXKRaEJa3QWE+Qj+xQlFuweqmjU1/n34gwlxHQEGTcLiIUvSYg++yCf4isjiE8pzK R5valcRRBys8rfDNZfjkv9B5vTgC22e1QvfFSlviR8FICukP9TLttGKywORyPCYkZxiI V1dw== 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 s12si502175lje.0.2017.10.17.12.23.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 12:23:28 -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 v9HJNEnV014089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2017 21:23:20 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [URGENT][PATCH v2 0/2] Correctly determine kernel and initrd versions Date: Tue, 17 Oct 2017 22:23:06 +0300 Message-Id: <20171017192308.3802-1-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.4 X-TUID: Gxt5xjE+KTZT 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 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