From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6566568349648551936 X-Received: by 2002:a1c:f108:: with SMTP id p8-v6mr152329wmh.0.1528969586524; Thu, 14 Jun 2018 02:46:26 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:f117:: with SMTP id p23-v6ls1605513wmh.4.canary-gmail; Thu, 14 Jun 2018 02:46:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL7vn0GMJI1oI7oGjEMZuwSir/jRhEKsfkUgvupo6gY0hNuGKa2zu7IO0CITpbNENXjWzNi X-Received: by 2002:a1c:f106:: with SMTP id p6-v6mr140093wmh.15.1528969586096; Thu, 14 Jun 2018 02:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528969586; cv=none; d=google.com; s=arc-20160816; b=ES1E77/Nq3cZUNm6oOKljlmxmB04EtEKhIexTpDn1rfQcOHyMKPfygB62V4dVlI6vz 8um9TnIBFWO/OfWszTIVQUcwV67sWQrbg15hYQGMChBQm7oBkzfSVzH1D2LYB8kNm9X0 xlmokuGUDjdUYJYaqXEXbVYu11W5laZTZ4XohFf6U9eajYkdrg6WkRyyA1RQ4tKSOfPd vuZDPGTpNy1YoNIsITDyd4lR+7XTEZaVv/GmBOkZixsHejBfRlJQ/ra4jREealfBnQTo f6JOWYtp65zEPxZ9Zv7C74bLOmnKbcTMghPaculb3L40MCDNBzu3DEBe1d2o47sTkPam FZyg== 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:cc:organization:from:references:to :subject:arc-authentication-results; bh=BOdjWNlxpYkzaodSLCnQSeaxA28eYHWfCrlIolylfXo=; b=XDlllz/aavZE6Ma1FjgoqA3lqBJryvPuoXEVLArS7SkFVbV+gPMEHFu+WsUA13sn5h f5RBwdoAJuq8e6vtt1JtnxMXA/aNHrQbKW81lqne17GopL+WJrAn8dGMATofEm/qRp/J MRSCzITIqSb+o6U8z3zm/xOVnHF2sVtdfDvUEdqY3l/MbCWwXKtp82ZohIQaY3kpHUgp YRn9N0msnQwzwwi+BxUT94lnmsA2hfeV1SAZ4FHgdCc7rCC8sBdV8/upBw1IXKO5qN3M Dg2T62MX3IMzKB1N70opHXrxlKx3CcOw7F+bxvg4gPQipoFFJqbc+SNFh6JHeGMxeUMk ZvwQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id o15-v6si136449wrq.4.2018.06.14.02.46.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 02:46:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@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 mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.163] (d51A48A80.access.telenet.be [81.164.138.128]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w5E9kNF3000696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 14 Jun 2018 11:46:25 +0200 Subject: Re: [RFC PATCH 0/6] ISAR SDK root filesystem To: Henning Schild References: <20180613135829.3151-1-mosipov@ilbers.de> <20180614104826.0d954ed7@md1pvb1c.ad001.siemens.net> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Cc: isar-users Message-ID: <69362abe-e823-7027-71fe-e35126e32bce@ilbers.de> Date: Thu, 14 Jun 2018 11:46:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614104826.0d954ed7@md1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: oEfUVvv3OjSa On 06/14/2018 10:48 AM, Henning Schild wrote: >> Limitation >> >> Only Debian Stretch for SDK root filesystem is supported as only >> Stretch provides crossbuild environment by default. (Debian Jessie >> requires some additional preconfiguration steps see >> https://wiki.debian.org/CrossToolchains#Installation for details). > > Are we ready for buster? Not many people care about the past, but let > us make sure this will work in the future. Your patch regarding buster support is still pending as additional feedback from you is needed (see email below I've sent you a week ago). 8<--- > -------- Forwarded Message -------- > Subject: Re: [PATCHv2 2/2] conf: Add support for new debian distro "buster" > Date: Thu, 7 Jun 2018 11:53:13 +0200 > From: Maxim Yu. Osipov > Organization: ilbers GmbH > To: Henning Schild , isar-users@googlegroups.com > CC: Alexander Smirnov > > Hello Henning, > > Did you experience the problem Alexander reported in email below? > > Kind regards, > Maxim. > > On 05/27/2018 09:54 PM, Alexander Smirnov wrote: >> Hi Henning, >> >> thank you for the first patch, now there is no problem with trusted >> repo. But there is another issue with wic: >> >> 8<-- >> ERROR: mc:qemui386-buster:isar-image-base-1.0-r0 do_wic_image: Function >> failed: do_wic_image (log file is located at >> /home/builder/isar/build/tmp/work/debian-buster-i386/isar-image-base/temp/log.do_wic_image.6282) >> 8<--- >> Example >> >> - Trigger creation of SDK root filesystem >> >> >> bitbake -c do_isar_sdk multiconfig:qemuarm-stretch:isar-image-base >> >> >> - Mount the following directories in chroot by passing resulting >> rootfs as an argument to the script `mount_chroot.sh`: >> >> >> $ cat mount_chroot.sh >> #!/bin/bash >> sudo mount /tmp $1/tmp -o bind >> sudo mount proc $1/proc -t proc -o nosuid,noexec,nodev >> sudo mount sysfs $1/sys -t sysfs -o nosuid,noexec,nodev >> sudo mount devtmpfs $1/dev -t devtmpfs -o mode=0755,nosuid >> sudo mount devpts $1/dev/pts -t devpts -o gid=5,mode=620 >> sudo mount tmpfs $1/dev/shm -t tmpfs -o rw,seclabel,nosuid,nodev >> >> $ ./mount_chroot.sh ./build/tmp/work/debian-stretch-armhf/sdkchroot/rootfs > > Imagine this being copied over to a totally different Linux-distro or > into a docker container. > > The "sudos" should not be in the script. So people can choose to not > use sudo at all or call the script with sudo. OK. > Maybe adding a Dockerfile would be a good idea to understand more such > implications. > > Henning Kind regards, Maxim. -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov