From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6701739048874016768 X-Received: by 2002:adf:dd91:: with SMTP id x17mr17705839wrl.291.1560441925175; Thu, 13 Jun 2019 09:05:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:9d45:: with SMTP id g66ls1940366wme.1.gmail; Thu, 13 Jun 2019 09:05:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgoFH2Lh0mPzn76WyVQOBGJlosb7c1IyyrFQopQxvXK/lIHuh13BjuVg1TtG8TDOZNIW/E X-Received: by 2002:a1c:208c:: with SMTP id g134mr4447343wmg.112.1560441924667; Thu, 13 Jun 2019 09:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560441924; cv=none; d=google.com; s=arc-20160816; b=IcAJA35drCNXU8UymSgs1+I1qFQEbTukxUw33hN8oCm7XzsfFm+j1yi/2UfLpuosVh Hd9+Yz88QQkQQ9WQCyVOgmoFjQeO0w+NZ4BBy4xQd6aminJPQOSafMGIh71Bnw7Lj4LM QA4FVbd0osuaOZhOtutlFaPxT78vmin0dBqJponPdWeODSCJwjf4dE1UW1shOk8vAujs hH02qQc/8xefV7bayRvLLXtQ2v/E9ORFglr1zgKxbqklA/Izv2uGyjzZ20KhZDYqj5ID W2mv1ES4n07hy4wNIl4tJ318VYcoKH055UxP5YjewQURO1l2H50lk4zfPO1pON/v3GCE fhGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=RWRGtfIAtX467tASD/ZTDIIZpkpk4z4PA10BFzhdYZU=; b=MIyzMPIU1doqyzM9pYHTF7M3PukK2ad2WzTICDyUWZujZBfgml71rxQR/y4t7R3kSO M5wPd06oxDtR2bTBvH8z9R7H3L5dMrrV0NEic/KsMfzGHvubtEPunGASNGjcxUyZPXZH 9cuwCsoQT+ACENKCwg8VkYQwFfe1tK8UPm4BvisuDDBSJ+vIrOgSpmlRm4pPZK7LNoyy idn1Dv4TMVBFfArHkJUhj+0f1GJ46kG2NvtLG9H9QKICwvgGyHlzI647xos2+HmJTiw0 DZVlKfrto5vafIMV9V2WXg15N7UKWlbhe4R/iFKkpowxDlTZkzxm39QLBiJc1uvn1xUP XPbw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id h13si18941wrt.4.2019.06.13.09.05.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Jun 2019 09:05:24 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x5DG5MaE004041 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jun 2019 18:05:23 +0200 Date: Thu, 13 Jun 2019 18:05:22 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH] linux-custom: repack linux-libc-dev Message-ID: <20190613160522.GO3977@yssyq.m.ilbers.de> Mail-Followup-To: isar-users@googlegroups.com References: <1560370202-632-1-git-send-email-Cedric_Hombourger@mentor.com> <20190613101030.156ab5ac@md1za8fc.ad001.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190613101030.156ab5ac@md1za8fc.ad001.siemens.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 4XVMBGt/DlIC On Thu, Jun 13, 2019 at 10:10:30AM +0200, Henning Schild wrote: > To me that sounds like an upstream bug that should not just get covered > up by repacking. I would propose looking into a kernel patch for the > "debpkg" step. That patch could be carried in your layer(s) and Isar > while it is pending upstream. > > Looking at both ubuntu and debian, old and new .. it should never > be /usr/include/asm/. /usr/include/asm is specified in FHS [1]. Debian moves stuff around to support e.g. installing of cross-dependencies (multiarch [2]). Back when multiarch was introduced, Debian was alone with that approach; I haven't used other distros lately, but I haven't heard about others adopting it, either. That is why I usually use custom kernel packaging in downstream projects. It arguably ends up simpler than using deb-pkg. But that's a matter of preference. Given that deb-pkg is Debian-specific, one may ask upstream about that. That said, Isar aims at providing a working image. And we already repack stuff. I think the improvement is useful for more than one project, so if there are no other disadvantages (building for other arches, etc.), I'd be in favor of merging it. 1. https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf. 2. https://wiki.debian.org/Multiarch/HOWTO With kind regards, Baurzhan.