From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6798056846333575168 X-Gmail-Labels: Topic type: DISCUSSION X-Received: by 2002:a2e:8758:: with SMTP id q24mr10529833ljj.157.1583773485836; Mon, 09 Mar 2020 10:04:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:5096:: with SMTP id f22ls1415944lfm.2.gmail; Mon, 09 Mar 2020 10:04:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtjcVxw/xGcgLLpmPxDGcE7Jawio2UNhUact0u824J6OkB570fNcs/AAztQonY4PnZu7ije X-Received: by 2002:a19:4a13:: with SMTP id x19mr10279598lfa.177.1583773484533; Mon, 09 Mar 2020 10:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583773484; cv=none; d=google.com; s=arc-20160816; b=rQYR9LKUKzSCfU0AJYsB2LH9WXEWiXUeinbdwIzZWcVqzOfHIM8/CQdT/BBem3ej+j XnPZ+URN7c79qh7JTqG+COzLJND1SbRycz7J64kDBz9ykrp0bmhWsVkIWO8UVpfPwyic ICsbiqIhmAMeavlssXpcDaH/h3MAqcmdab+wj6TjWp/+LurBrzLG4cuvOepg7qBb8LVw CYdtSg5/AeQMFs5tVUJCHByskpDd/1zs/LysgRcWbyGWSsJWFybtA7NpKpUkXgPhwJsf H8GqdqOjYl9AeMjjnVDzSJhU4sxxkkEMSQN4G7MZMQ3A5eUie0NHE0GWpSzb7n6S6zfo 1xoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=stiMUVDC4o7oanepAuxIcFnSkgxk5LgMLFPv7vzRfns=; b=g9H9BvBIUT/vAERPMNF0/Hba3UJqzp5G5c0XkfDuYoCgbofU9TQi1Y3jr4OTghnsVb 7LT3c7ugNI2RWCixIgzIG1ykGL40WbbUnMsl5FZeVsCxs3cPSW/CJ/QexYQoxAGky/BX TVECLJaOzPuXLRxWSWWjlZsv9GJTt3GYFA+N8DCkcFtOSvJKiDNg2J6XqX8WY0ucs+kE sworE08MbOHKzEeiLnt6aT7kcFwDRh+fKMK1hTCzJIXq52uHMu+uxSGGQThFAUVD/HW8 eJ9bkvodGGbWLLBRG4VZeVGTu/sR9F2AOBWVGfz/m0YFC6RMxunYnaw6YYukwQUjQR03 h1cw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id s8si566558ljg.0.2020.03.09.10.04.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2020 10:04:44 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@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 henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 029H4hQY028588 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Mar 2020 18:04:43 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.100]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 029H4hoL030591; Mon, 9 Mar 2020 18:04:43 +0100 Date: Mon, 9 Mar 2020 18:04:43 +0100 From: Henning Schild To: benbrenson89 via isar-users Cc: Subject: Re: Bug mcopy (wic) when creating bootpartition Message-ID: <20200309180443.687849ff@md1za8fc.ad001.siemens.net> In-Reply-To: <9a605191-9af0-41d6-a414-75970acac66c@googlegroups.com> References: <9a605191-9af0-41d6-a414-75970acac66c@googlegroups.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: +gI+QHS0pCwP On Thu, 27 Feb 2020 01:32:31 -0800 benbrenson89 via isar-users wrote: > Hi guys, > > I have encountered a bug related to mcopy during wic image generation. > > I digged a bit deeper into the problem and it turns out that mcopy is > not able to copy folders recursive. It just silently skips the > content of those folders. > > When running mcopy within the buildchroot-host, these folders where > properly copied. > > My question now: > > Wic is running in the buildchroot of the target architecture, but I > don't get why it has to be done in there? Back in the early days of wic we ran it on the host. But that had really nasty side-effects that are simply not acceptable. It needs to run in the "same debian" that you want to build for. i.e. so you get the bootloader binaries of the bootloader you expect > May it be possible to switch the wic image generation into the > host-buildchroot, or are there any other requirements for the current > environment which I miss here? A host-buildchroot would probably work as well. But i doubt it would solve your problem. But it can not be the default since cross is an experimental feature that we do not suggest for production. But it works well to speed up dev builds. Henning > > Greets Benedikt >