From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6462206452988641280 X-Received: by 10.223.130.234 with SMTP id 97mr259392wrc.5.1504599687276; Tue, 05 Sep 2017 01:21:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.56.73 with SMTP id d9ls12081lfj.22.gmail; Tue, 05 Sep 2017 01:21:26 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5cNuEI3JLjSojwcFh3goEHOQzq16+VVcVWMy+4KUZW1xkBnzCWxJownWjLYZ5D7LAT2f9h X-Received: by 10.25.84.7 with SMTP id i7mr289450lfb.12.1504599686655; Tue, 05 Sep 2017 01:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504599686; cv=none; d=google.com; s=arc-20160816; b=WdKdW2RQe0GWu/w03FSGIBVR1QPW5oQh/m7StoIP7L9zqVvCoRK+aZQWieWFDLjgF5 fx5opjmhvYKTokeAPcOqKLX/NP9PcqdxU8cB7LWBmImuPB5maXrH3tX9hf5Tub2le3sF qpj4qTMNSLed1fnxxVMmGmx1oFrdRlhrZqaIzo08DqFFgxCO32oyhV2S4n2kZohNWm3/ t2konf/QTDqXsndtmMN5FezcchKnWfffqWtZ8LacYYSF0NyzMhGiq2MNWKyXvIJghoR+ so0BTkpU/6+CvL9JV9MdxgWeTeXnj/LJqDhLyTD0goKpS2ZFYdoqlctlSGBxTZITdLOE uF5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version:user-agent :date:message-id:subject:from:to:arc-authentication-results; bh=2XV6gej8vDWMHaErEB9RCXmKeoWjOi4WyGuWgQjH6j4=; b=LRbSS6fJGsamlfdWmqQZ2Ud6xW3LRmiKZao6Iu3cASzuX7H1IS1x4MBow/cw2/NO6R 5h+SJ+OdYDTjAmC/GPhs5z0yNy0A2AKOwVTa1CiE18d9AjgDyOQ4ETWyHaSXGlKv0atj /WNDDVSe/hmXTRlPNc3rbvgxXuAFI3R+38fdkFymLzBoZsF51jJjQTmyh4y3zurxIHaq 7UqlOture2ioWeQrLBHthtJoneTaoKENJrnYk+eaHRP0rl99V1QeTaz3DMiC7g7scLB3 oQe9uOtxYOA5lR4OM6hiBxgMaJRxt+b74vormJEjSGrRsOvnqBg9I3MBzyfbOEXfK4+G 44Bg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id i17si2527wmh.9.2017.09.05.01.21.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 01:21:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id v858LN6B012520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 5 Sep 2017 10:21:25 +0200 To: isar-users@googlegroups.com From: Alexander Smirnov Subject: Isar build tree structure Message-ID: <7c829771-d78b-7409-ce86-74fae0f15dc4@ilbers.de> Date: Tue, 5 Sep 2017 11:21:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: zZ0AiL/8G4sa Hi all, I'd like to discuss build folders tree to somehow chose more suitable approach. 1. How it's done at the moment. The folder tree contains the following main paths: - tmp/work/${PP} It's a $WORKDIR for each recipe, here is stored bibtbake logs and commands, and data for packages that doesn't require buildchroot (for example, buildchroot and isar-image-base). - tmp/work/buildchroot/${DISTRO}-${ARCH}/rootfs/home/build/${PN} This is the $BUILDROOT for packages, that require compilation in chroot. It is used as destination folder for unpack task. Benefits: - Maximal common OE-like folder structure for all kind of recipes. You can find the information about specific package in 'tmp/work/${PP}'. And it doesn't matter if this package uses dpkg class, or not. - After buildchroot cleanup, the build information is not loosed. - For multiple buildchroots in project, there will be single place for package meta information. 2. Remove $BUILDROOT. This would mean that $WORKDIR location may vary depending on recipe type. So the recipes data will be distributed across buildchroots and tmp/work dir. Benefits: - Each recipe will use single folder for everything. So... Ideas and opinions? :-) -- With best regards, Alexander Smirnov ilbers GmbH Baierbrunner Str. 28c D-81379 Munich +49 (89) 122 67 24-0 http://ilbers.de/ Commercial register Munich, HRB 214197 General manager: Baurzhan Ismagulov