From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6613620343774904320 X-Received: by 2002:adf:eed2:: with SMTP id a18-v6mr1603006wrp.27.1541761485277; Fri, 09 Nov 2018 03:04:45 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4302:: with SMTP id h2-v6ls314541wrq.8.gmail; Fri, 09 Nov 2018 03:04:44 -0800 (PST) X-Google-Smtp-Source: AJdET5fFWoij+ZkOzFryqW91S8va8LuGCapvpfzOibNDBbNnzr3z3lBlusXhl/3wwEx0rTBGY1z6 X-Received: by 2002:adf:f907:: with SMTP id b7-v6mr1661982wrr.21.1541761484750; Fri, 09 Nov 2018 03:04:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541761484; cv=none; d=google.com; s=arc-20160816; b=SiZL912VG7Rlf14hf0fLSBmAhCskmWug2Im5v8PzeLQGBvZQ35ycje3HqzdFuURBgT gyJf+r++t0JZB/WW/TAwLwRl3DfbOIXeIdTh03deSwbf9aUGQwsIni3nIcv4S9iGSVbV tlG00Ab/ABhiStJ0OspACgPi8ABgP/lgwveLGzfwsM44E3dXWDh5opW+5xoHqeZhKFnu vAtCCUN3qXbuxJw9h6U1ckTgP38vXPeCYt9mYa0makNxvyjO6ekW/Mm0a7kYdu8kdtE0 dDNHftaPF6c6+VMERu21jMsEkR7Td2iIeUN1qIztx9I1DmA/rw/aPeJX/mvS3HSBlFxQ y5Rg== 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; bh=TdimKZN43CAGoUu0nonHV6bQAuXF9jMuhgIl5pXZpwA=; b=Z5m7gQh1JkbmManMgwq3VYP9bQj4lAfXBhnq8P1UnpV586NAfumIzkEqZXISnkb6zW qYcSgzZy9ZYUlSSAhSr8arO9vcKM2NdStYIdpwTdjhbhkIU4gDC8lvLz5XqCgu7L4NzI kFaNpNlm42RiAo6fYhIKH5Idjf2V35ddwb6w+5lsgwLUjjMYTfi0maeJwCxjeRaVcJPU hknHW7W7VKsnWG1/YunTa9cXk8e5TxIDzok9z3SIaj5g8c8w6HyEan/4DZPGCFs/W9yi xtLZ0NEQmOuHoWH3mhOFquDLdeDnEVWP9z723mXWZhRbI66Vr0VXb3xKvUL7DEDl/iXI MRyQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id n9-v6si44641wmh.2.2018.11.09.03.04.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 03:04:44 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id wA9B4idH032612 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 9 Nov 2018 12:04:44 +0100 Received: from [139.22.36.91] ([139.22.36.91]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wA9B4hGj028416; Fri, 9 Nov 2018 12:04:43 +0100 Subject: Re: [PATCH v3] image: include image name in the kernel/initrd image copies To: "Maxim Yu. Osipov" , Cedric Hombourger , isar-users@googlegroups.com References: <20181025162204.7d823466@md1pvb1c.ad001.siemens.net> <1540478818-257-1-git-send-email-Cedric_Hombourger@mentor.com> <012d3fdc-9740-938d-da25-e826efdce0de@ilbers.de> From: Jan Kiszka Message-ID: <0dca3794-b119-aa6a-6b1b-0061bc7fc559@siemens.com> Date: Fri, 9 Nov 2018 12:04:43 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <012d3fdc-9740-938d-da25-e826efdce0de@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: KLjJq3l/iuQh On 26.10.18 14:58, Maxim Yu. Osipov wrote: > On 10/25/18 5:46 PM, Cedric Hombourger wrote: >> The kernel and initrd images are really image-specific (especially the later >> as the initrd is created/updated as packages get installed into the root >> file-system). Make sure we retain a per-image copy of these images in the >> image deploy directory by inserting the name of the image (${PN}) into the >> full name of the artifacts (set in ${KERNEL_IMAGE} and ${INITRD_IMAGE}). >> >> In addition, an IMAGE_FULLNAME variable is introduced to combine the three >> components of the image name: the (base) name of the image, the name of the >> distribution and the name of the machine. This variable is now used in the >> start_vm script and the image classes (image, ext4-img and wic-img). > > Applied to the 'next', Just realized that we were trying to fix this issue at the wrong end. The proper fix is doing what OE does: DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" Then we can revert this commit again. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux