From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6540948938494574592 X-Received: by 10.28.6.81 with SMTP id 78mr1269239wmg.23.1522933351066; Thu, 05 Apr 2018 06:02:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.153.88 with SMTP id b85ls1189973wme.1.canary-gmail; Thu, 05 Apr 2018 06:02:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx49f9pY7kxJ3tQwOLhRbSdN1KelwWI+PBi0+79rMvFSsDS95Bu8quPT0dmzZltf8430SH1eZ X-Received: by 10.28.20.18 with SMTP id 18mr1233771wmu.22.1522933350547; Thu, 05 Apr 2018 06:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522933350; cv=none; d=google.com; s=arc-20160816; b=UR4/M6wk37s8tltCScnmhfnynOUStkkAkD1cgNLPXDK6uLrV1ZIOzgBn5XUYBERHNv XrONDkP4qVy6RuEPUHbKGFNSIe2qYf+gCL+o+dyMx73n3RI4p/OFjskLE8LbemEsqCXm AJCSEe9hm5/QskPuUlzL0rHQwE+018CiEuVdv+abDahMx7Cx+/6CGRkTihYIYXf1D6QM +cTb8Rf88Y9jEVenKrdcIwa5qypBUS79um/NQHsYOsUglv6rua4/IDZco+fo98AsHye2 wCVm1TmWKqQUm7u31hBIVCVb3CCzkcLUL8C3KHI7HPjayF6NUI3C1B5HkbqwEOufGcR6 AoWw== 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=S6Gx049EpWSECpmoapQ+i8oVVZ1EOGdhEENgYQC8QEY=; b=Ijg3B2hQb2y+93lmIXPJwOPWiJ/bEu6t848OTp7WC3vtYKwt3N9xFVsFEwxGnx1y7T SrfH7RT29hCKCgYHtkEJialWKhk5kSJzEdHpQ8IbQwq8ljYO/sAaHhuipNH/iGZNxQWI B48uX7k/byrhucAQ7oiBbtcvCw/wBrXhTBIlnVlt2pyu83KnH4yHJ6fuiDMfk4ZyuCf5 lrjy7+0aYiGx9BON/0RcUbKG2syO7iwSUI73KtQGsaQSG+kozA0KiDbhYjS4ZKkqtxxE n8l8uwWcHOAjjuVbEUnr7SbaXsi7Ed2wHkfH/4Z1jb/jALeJePA29ACTButEuMWG7Bwq zFCQ== 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 t10si189082wmh.0.2018.04.05.06.02.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 06:02:30 -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 w35D2TSm002211 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 5 Apr 2018 15:02:29 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w35D2THi026004; Thu, 5 Apr 2018 15:02:29 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 0/1] Centralize root_cleandirs feature Date: Thu, 5 Apr 2018 15:02:23 +0200 Message-Id: <20180405130224.12181-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.16.3 X-TUID: NXKTuSwYBDau 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. Cheers, Claudius Claudius Heine (1): base.bbclass: implement 'root_cleandirs' feature meta-isar/recipes-core/images/isar-image-base.bb | 6 ---- meta/classes/base.bbclass | 38 ++++++++++++++++++++++++ meta/recipes-devtools/buildchroot/buildchroot.bb | 6 ---- 3 files changed, 38 insertions(+), 12 deletions(-) -- 2.16.3