From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6566568349648551936 X-Received: by 2002:a19:ea59:: with SMTP id i86-v6mr700415lfh.44.1529393638613; Tue, 19 Jun 2018 00:33:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:c502:: with SMTP id w2-v6ls1897528lfe.7.gmail; Tue, 19 Jun 2018 00:33:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLP7PhApOIzXBudzh5hAd7q9FEz/n/lPefTwgmtb9BovqyLgjnRt2YnxLm3ci2ZAZXrfYx0 X-Received: by 2002:a19:1659:: with SMTP id m86-v6mr699066lfi.39.1529393638084; Tue, 19 Jun 2018 00:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529393638; cv=none; d=google.com; s=arc-20160816; b=K8Y2taJhq5MjBXT+j66+SrTcvwOul9DDQwJ7aw//oQ1JssOHkJtJyEmlo+9bKqZpDI kYeGdnzgMZOyBo0NuD42khag4HwPT0gpHvXfn0Y5Wcytnx49riCWBCAeLoOcGemZ5Ne+ cnZP739/gtddHk/mM0zskYDHAI41Q5mQmGvE6PpQnSqH9Xlh7gxObj9099qr2ldFxqK3 8eDe4SMjfR2HFxIS8T2r/gzabuA3HHlJx+7cTcrKhyrRyMuAE/UDY4yz+huhLq1fQV6M 9s1mRhz6amnzr+prUStYfeObFaXBGYwf1/kjOmS7LBQvX2NOMApilm7hfVm1cqeXm2Jv Uq4g== 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:organization:from:references:cc:to :subject:arc-authentication-results; bh=X4gNQCv0EA4i8hcdT0s4MpY/dTuetLxFTKeBL/DI/HE=; b=flNG8fb10hHdFMCLjr+kMUT0lrGNixW0xKRfa7ESk/vUXmWsN0MjIea1K0h6dtuVh3 a06nVhvAn5AjQflFr62NZIE765/IfVXHrL/PbBCqIu1uw/P+VnXrtJfJyc2IrOmsSMYr TEjz47R9/JGWWiDCjvb3F1xge0EwLwogy14kUz2bqohLmTFWh/qzjKSk237YlPQmpdLR x5TS6bX+7S8bF2BkmlSEOQH0dp2ox2wwVcLBpT2CQHdVjBSg4p9hvIeXckpfiBt0RipZ RwITsnHCekNvyDOiuaV80fj4TRBKc0rsBfhVVRKeog8Kvb5g44DwjxQsWHjPlvxobZaY J7Og== 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 u23-v6si433493lji.3.2018.06.19.00.33.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 00:33:57 -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 w5J7XteW018829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 19 Jun 2018 09:33:56 +0200 Subject: Re: [RFC PATCH 0/6] ISAR SDK root filesystem To: Henning Schild Cc: isar-users References: <20180613135829.3151-1-mosipov@ilbers.de> <20180614104826.0d954ed7@md1pvb1c.ad001.siemens.net> <69362abe-e823-7027-71fe-e35126e32bce@ilbers.de> <20180618090814.55208ce6@md1pvb1c.ad001.siemens.net> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <43ecdb4a-b383-1dbf-59f7-75b763fda0d5@ilbers.de> Date: Tue, 19 Jun 2018 09:33:52 +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: <20180618090814.55208ce6@md1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: yJ0c2WwI2Hy9 On 06/18/2018 09:08 AM, Henning Schild wrote: > Am Thu, 14 Jun 2018 11:46:23 +0200 > schrieb "Maxim Yu. Osipov" : > >> 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). > > Ok, i will look into the buster-wic thing. But my question is whether > the SDK/crossbuild approach that works for stretch will also work for > buster. I didn't install buster, but from the first glance, approach should work for buster too as crossbuild-essential-* packages are shipped by default with buster (see f.e. ftp://ftp.de.debian.org/debian/dists/buster/main/binary-amd64/Packages.gz). Kind regards, Maxim. > Henning > >> 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