From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6545369693963681792 X-Received: by 10.28.169.70 with SMTP id s67mr118763wme.11.1523969205630; Tue, 17 Apr 2018 05:46:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:e308:: with SMTP id b8-v6ls380977wrj.10.gmail; Tue, 17 Apr 2018 05:46:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx49oLzEHAHqMO42o3rmFD1zMygcsIg/LOHaDJL5z6SZRlVtcdH0gTm6hySfPMQkjOZivwzoH X-Received: by 10.223.220.82 with SMTP id m18mr152006wrj.1.1523969205075; Tue, 17 Apr 2018 05:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523969204; cv=none; d=google.com; s=arc-20160816; b=fqqI3YAvKrt1BGGjvgiFwRWspZoqNFKlJMlKjc77f4f+0fEGbpSw9UmzwYIrUzh4A1 XxBD3NIVDUCT/y+yIJPmhK9pkhZSRBqjqxbkpIIcFirKuJPimsrgvo6LmXJpEGMUoJ7N zVIbTqlbsEOLPnRCDFt0qFTFLu2orHNcgNUqnrIs+K3nmVZXlE9EBfGNVIjLg9ri3EVm 3Ae0UqF6CXRVjYiZJhqYdkphT7kPf20NmwMYwdWNymM/W1Pi/UHAw4i7PnEssoHLUIUE mzYoLnpy0WN4lhkDMQsIFkkrqpWblCSm0OuQC+cP+KZuVMnqyp/cfeyniJX4DH4I9i7n Vc4A== 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 :arc-authentication-results; bh=blf7P/r0C/EoKZZJbCsjfHtJYzGCjYedt/rNI1oHkLk=; b=Rap8cCN3H+yRNvRdRnyCahKgCQmhymXYSbKIKkdAM2NQVDRJORIXbRdzpfQTNVx9Ca X0Qy/ikR/R/+Nc0+z9s5Nv0A638eryonf/vXuFHMsPXpirylUf0JUi6RqjYsn6yJbZq4 S2HW1mx0z5ByETvWwLZFDrFMo6F93KRE9zaJnHweMIEmjcwjZdEpkWrCZgV6xfZNsyBL 4UaFYJ8bEdpripCQyGOGcFLQHy53t2+X6+Y9/h5KR3WTV4jCuGd09XbqITWEiXYlxg0v bc0LnnTzgalR2/zhpIlNBsXsdNr4W/xF7+DHpFO7TTk05cTI23ZpNqCpa2/laiNjVSx1 yPyg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id r15si721273edl.3.2018.04.17.05.46.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 05:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id w3HCkiEX007906 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 17 Apr 2018 14:46:44 +0200 Received: from [139.25.69.226] (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w3HCkiaw019822; Tue, 17 Apr 2018 14:46:44 +0200 Subject: Re: [DISCUSSION] Directory structure of isar repo To: Jan Kiszka , isar-users References: From: Claudius Heine Message-ID: <3135f66b-5a00-3d9c-e50f-eed9688361d0@siemens.com> Date: Tue, 17 Apr 2018 14:46:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: yO+pZKnCqNZy Hi Jan, On 2018-04-17 13:49, Jan Kiszka wrote: > On 2018-04-17 12:57, [ext] Claudius Heine wrote: >> Hi, >> >> since the last discussion about the directory structure went a bit stale >> I wanted to restart it here and present my suggestion. >> >> Here is a mockup of a subset of the directory tree how I would try to >> improve it. I will leave some comments about my reasons in the next mail. >> >> Cheers, >> Claudius >> >> . >> ├── meta-isar >> │   ├── classes >> │   │   ├── base.bbclass >> │   │   ├── dpkg-base.bbclass >> │   │   ├── dpkg.bbclass >> │   │   ├── dpkg-raw.bbclass >> │   │   ├── ext4-img.bbclass >> │   │   ├── image.bbclass >> │   │   ├── isar-bootstrap-helper.bbclass >> │   │   ├── isar-events.bbclass >> │   │   └── patch.bbclass >> │   ├── conf >> │   │   ├── isar-bitbake.conf >> │   │   └── layer.conf >> │   ├── lib >> │   │   └── oe >> │   │       └── path.py >> │   ├── licenses >> │   │   ├── COPYING.GPLv2 >> │   │   └── COPYING.MIT >> │   ├── recipes-core >> │   │   ├── images >> │   │   │   ├── isar-image-base.bb >> │   │   │   └── isar-image-debug.bb >> │   │   └── isar-bootstrap >> │   │       ├── files >> │   │       │   └── isar-apt.conf >> │   │       └── isar-bootstrap.bb >> │   ├── recipes-devtools >> │   │   ├── buildchroot >> │   │   │   ├── buildchroot.bb >> │   │   │   └── files >> │   │   │       ├── build.sh >> │   │   │       └── configscript.sh >> │   │   └── isar-apt >> │   │       ├── files >> │   │       │   └── distributions.in >> │   │       └── isar-apt.bb >> │   └── recipes-kernel >> │       ├── linux >> │       │   ├── files >> │       │   │   └── build-kernel.sh >> │       │   ├── linux-custom.inc >> │       │   └── linux-distro.bb >> │       └── linux-module >> │           ├── files >> │           │   └── debian >> │           │       ├── changelog >> │           │       ├── compat >> │           │       ├── control >> │           │       └── rules >> │           └── module.inc >> ├── meta-isar-debian >> │   ├── conf >> │   │   ├── bblayers.conf.sample >> │   │   ├── distro >> │   │   │   ├── debian-jessie.conf >> │   │   │   ├── debian-jessie.list >> │   │   │   ├── debian-stretch.conf >> │   │   │   ├── debian-stretch.list >> │   │   │   ├── debian-wheezy.conf >> │   │   │   └── debian-wheezy.list >> │   │   ├── layer.conf >> │   │   ├── local.conf.sample >> │   │   ├── machine >> │   │   │   ├── qemuamd64.conf >> │   │   │   ├── qemuarm64.conf >> │   │   │   ├── qemuarm.conf >> │   │   │   └── qemui386.conf >> │   │   └── multiconfig >> │   │       ├── qemuamd64-jessie.conf >> │   │       ├── qemuamd64-stretch.conf >> │   │       ├── qemuarm64-stretch.conf >> │   │       ├── qemuarm-jessie.conf >> │   │       ├── qemuarm-stretch.conf >> │   │       ├── qemuarm-wheezy.conf >> │   │       ├── qemui386-jessie.conf >> │   │       └── qemui386-stretch.conf >> │   └── recipes-core >> │       └── images >> │           ├── files >> │           │   └── debian-configscript.sh >> │           └── isar-image-base.bbappend >> ├── meta-isar-example >> │   ├── classes >> │   │   └── rpi-sdimg.bbclass >> │   ├── conf >> │   │   ├── distro >> │   │   │   ├── raspbian-jessie.conf >> │   │   │   └── raspbian-jessie.list > >> │   │   ├── layer.conf >> │   │   ├── machine >> │   │   │   └── rpi.conf >> │   │   └── multiconfig >> │   │       └── rpi-jessie.conf > > Raspbian stuff should go into meta-isar-raspbian or meta-isar directly > (see below). Why? My reasons for not doing that are in my reply to this post: ---- All real example code I moved there as well as the raspbian configuration. I moved the raspbian configuration here for a couple of reasons: - Its a good example how to customize Isar to use a different repo and create a bsp. - While Isar supports raspbian, that support is currently not very well maintained. We only support RPi1 AFAIK. Its better if someone more interested in maintaining this port does it IMO. ---- While I see debian being actively used I don't know how many active developers are using it for raspbian images. I would say that a separated 'meta-isar-raspbian' meta layer that only supports the jessie version of it would be a bit underwhelming. But as part of the example that is enough. Of course if someone steps up and improves the maintenance of raspbian, then having such a meta-isar-raspbian layer would be ok. > >> │   ├── recipes-app >> │   │   ├── example-hello >> │   │   │   ├── example-hello.bb >> │   │   │   └── files >> │   │   │       ├── 0001-Add-some-help.patch >> │   │   │       └── yet-another-change.txt >> │   │   ├── example-raw >> │   │   │   ├── example-raw_0.2.bb >> │   │   │   └── files >> │   │   │       ├── postinst >> │   │   │       └── README >> │   │   └── libhello >> │   │       └── libhello.bb >> │   ├── recipes-core >> │   │   └── images >> │   │       ├── files >> │   │       │   └── raspbian-configscript.sh >> │   │       └── isar-image-base.bbappend >> │   ├── recipes-kernel >> │   │   ├── example-module >> │   │   │   ├── example-module.bb >> │   │   │   └── files >> │   │   │       └── src >> │   │   │           ├── example-module.c >> │   │   │           └── Makefile >> │   │   └── linux >> │   │       ├── files >> │   │       │   └── x86_64_defconfig >> │   │       ├── linux-cip_4.4.bb >> │   │       └── linux-mainline_4.14.18.bb >> │   └── scripts >> │       └── lib >> │           └── wic >> │               └── canned-wks >> │                   └── sdimage-efi.wks >> ... >> >> > > I'm not sure if a split-up into meta-isar-{debian,raspbian} is already > needed at this point. Thats a fair point. We could put the support of debian into meta-isar as well. I split it in my draft here, because splitting the distribution support from the core was the intention of current directory layout. > Otherwise, this refactoring looks good and would > be welcome. Thanks! Before we submit patches. We should have some sort of shared vision where we want to go. 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