From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6540948938494574592 X-Received: by 10.46.89.156 with SMTP id g28mr1060416ljf.0.1522934283637; Thu, 05 Apr 2018 06:18:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.84.83 with SMTP id y19ls625945ljd.12.gmail; Thu, 05 Apr 2018 06:18:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+iCkB+RGhi8YFdfxP9UvQo/7jJKYXnHVUClvXKhhKaZHx8ydfLyXwDtQ5FfWOWLDYZPGPS X-Received: by 10.46.135.129 with SMTP id n1mr31899lji.22.1522934283126; Thu, 05 Apr 2018 06:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522934283; cv=none; d=google.com; s=arc-20160816; b=ctUyUCsIrMKcRM33YfQ/9NWBK1zF79Scn9zGoAIduhsq+EzYfydZjTuS5+5CYknXV4 /lwt7Q28DPG5LDNIMh7Ncl4zgMIzwHRiaivAjTmkGdvYmWIi4/k61F/28ErcleknT3eT nGcRAZy7JHt67kU+bQ7srYg/tuxO5jAqpULqFD3pJaZ1ZDf5j9RbAUBxV0LBdFEfERcN C7iJ1iYGzJfq5iy/e8xkRvs442w+otQWjitfbNqTFqmusAB/Awk1fi7sKgYu90ePeyO9 OSJCc0o31854wUiuoZ7Lppk/9kYMeGdVE45/Khs4JnnnYQMNarLuU5Hn9dVu18kqXL19 K+MA== 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:references:cc:to:from:subject :arc-authentication-results; bh=hw9qf5cQXzEgaxgkmjAKfIYtT+snnqMliHRsEGmGUoM=; b=eD+05RzcGCE95aPFV6RKgQrfRsHBcyXWPVjDCELUpXVc+zssKWPaGIBdX/EiJwfgM7 VnG8tUG8DYnW9L+bNfkEtXOWusJ6ytOVnk5/pLzaSk4HinNpVmqyCZdP1p40qJxNpEA7 fhI55K7keP5rNjsbZYm3QehszGdRo6cEdWH+Pm46kblApa8fceZ1XH+J3Ssi7Ls9yFyl tzJwdkIoyy8zsyWsmgO/iJS8P1jZoq+ypGICFkqKbOVhaWISauzhrAgZoRMIcwtfuJIz mV5dA4N+Ap6FjK0uXyKkwGD+whJf0B0IqJvn3Yj6O2u1ECVeFJoi+j0X1kxkfGGLcqi0 AFYQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id q87-v6si213664lfd.3.2018.04.05.06.18.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 06:18:03 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@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 claudius.heine.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=claudius.heine.ext@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 w35DI2Rl004044 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 5 Apr 2018 15:18:02 +0200 Received: from [139.25.69.226] (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w35DI1WS009718; Thu, 5 Apr 2018 15:18:01 +0200 Subject: Re: [PATCH 0/1] Centralize root_cleandirs feature From: Claudius Heine To: isar-users@googlegroups.com Cc: Claudius Heine References: <20180405130224.12181-1-claudius.heine.ext@siemens.com> Message-ID: Date: Thu, 5 Apr 2018 15:18:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180405130224.12181-1-claudius.heine.ext@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: KnZ1A6VpMcaz Hi again, On 04/05/2018 03:02 PM, [ext] claudius.heine.ext@siemens.com wrote: > From: Claudius Heine > > Hi, > > since Baurzhan asked about this, I created a patch to show how I would > envision the 'root_cleandirs' feature. > > Later maybe even something like 'root_cleanmounts' could be implemented, > that unmounts all mount points under specified paths before calling > 'root_cleandirs'. > > What do you think? Feedback welcome. Just to make it clear, this is WIP. There are some issues that need to be worked out and thought over. For instance it currently supports only one such task per recipe, since is uses the recipe global 'CDIRS' variable. This needs to be changed before merging. 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