From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6477538949418975232 X-Received: by 10.80.230.12 with SMTP id y12mr2643903edm.6.1508332999758; Wed, 18 Oct 2017 06:23:19 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.201.70 with SMTP id p6ls1842321edh.3.gmail; Wed, 18 Oct 2017 06:23:19 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAYlGcQ5zhTEUa670HoR0To/vO/KE5KsyR5gNMaoFk0St6WBkskrVmMjzEvI/uYo/VS1JFt X-Received: by 10.80.152.61 with SMTP id g58mr4177197edb.5.1508332999490; Wed, 18 Oct 2017 06:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508332999; cv=none; d=google.com; s=arc-20160816; b=pmvMcouSnFyBoXNM0C1xbLlW42OH+T6yabyyqrG1MQf3DPtFCEwal3/2rV4NGpChN5 vAZbMUjtfSP5pzpHUZR0zXBTh1Hi2vDl95+e7mFqUJDq5ArkkAU3ljbKFhAgHC6+YM93 dnRnQLdBPKwgZlpbcqQh7IyW84O4baHrjcq12a8Nv75LEZh943mMZE85bZAXfJTHMMa9 V4fLgWT0zeHGa3e2hqDcByFQXTSfzDHqKL6sPVkOm5rkkVXJ93JbeKLLNAQmkTdUtQwZ utpZOIzQBbDHtNdL94vmXDowU/L8zPX9hwjw7njDi4mVJxWyVGzOSOvmm5aiPnDRYiRI ooNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=XNpRCQfHiFeMWLWpNvaJMeEVNg4Ca8CRgUatznnR27k=; b=w6QgRtcTYEJDjzcQPirRBMxc3tm3TnfohFX08jWdRv34rQfrpjbVq1x2UlHLdc1ON2 MytBxGJKqvdX1up70fii4L1JscHZF7GnC7txQLotWrS2aZbTxkrs+v8nJnBp4/bZZl9u l8ky8cu0GPLwXhJImppDpVfOW8jbmj2mifNJrFpymw3krRoqnfLbQxmFNFa2jMyKT8/5 6OjWRdZozxVxB+LU6nXse8ZOIV0dJ6Memff1gtf7lkbL5qh0lR9YLSKf6+f5zH9I5yTb BnnqyjrjhhmeKcGoiIk71SoE8ASnGvPlKYePvKpgKQUzICs7Yn/dwBNm082lgBDgA99q uasg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id f9si710289edm.1.2017.10.18.06.23.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 06:23:19 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id v9IDNJmO010141 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2017 15:23:19 +0200 Received: from [139.25.68.223] (linux-ses-ext02.ppmd.siemens.net [139.25.68.223]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id v9IDNIFo022729; Wed, 18 Oct 2017 15:23:18 +0200 Subject: Re: [URGENT][PATCH v3 0/2] Correctly determine kernel and initrd versions To: Alexander Smirnov , isar-users@googlegroups.com References: <20171018101325.12358-1-asmirnov@ilbers.de> <435959dc-da9c-6cb3-92b6-e275d446c153@ilbers.de> From: Claudius Heine Message-ID: <462a48a1-571f-d25f-ebcc-c3d311605ba0@siemens.com> Date: Wed, 18 Oct 2017 15:23:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <435959dc-da9c-6cb3-92b6-e275d446c153@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: N5eWqgE7eA+c Hi, On 10/18/2017 02:08 PM, Alexander Smirnov wrote: > Hi all, > On 10/18/2017 01:13 PM, Alexander Smirnov wrote: >> 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. > > any feedback on this? Just about Hennings readlink remark. You might want to try 'readlink -m' instead of 'readlink -e'. It appears that the target of your symlink didn't exist, so 'readlink -e' returns nothing. Cheers, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de