From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7023151278367703040 X-Received: by 2002:a1c:4b0c:: with SMTP id y12mr24082054wma.135.1635204832793; Mon, 25 Oct 2021 16:33:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4e85:: with SMTP id e5ls86864wru.1.gmail; Mon, 25 Oct 2021 16:33:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxSLhakxXykWYc4iiReKaaaFULGOBa1ck3W459bjpZW9OJ9X1avDCR/c6fwfSo7OfBbYfo X-Received: by 2002:adf:eccb:: with SMTP id s11mr27508682wro.22.1635204831850; Mon, 25 Oct 2021 16:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635204831; cv=none; d=google.com; s=arc-20160816; b=QYNsdTTfOfdc4EgcequbPCQ4zQds84451ohhDM6bmgo3FaO1+sb9q0S/3AtldaKcmF bbXYZKyOiZ9F2riCj/I4FrGYhO1UPeSkWYKDdpgT50dYOTpaWiKtVOWUC0x1pj8Qf598 SJKJphz77Zard25m+Jzk2HQANRxsClKfunr4aMaLI7/HqY2peaWmVOS6bpmuf4XsBQa7 YY7VfuBCsGSFAQ0IHHGTpLcqhKto3Zq4MeylLF86M1GVPPILwW/vKndGCdsHJHWs+ttF 2z5HVwRK9eGQhDjjySdKFOj2PoLOObCCGiVSKUQvR9EF5eJYJ+zDoQzBC0Yf92WSPN2Y cbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:subject:in-reply-to :message-id:to:from:date:dkim-signature; bh=r7aTlUF10mIdme2VBLQMVkuWWG0ZdGE0I8Z0LbxCL+w=; b=s5rqOfg33qJddx1lA7sWN6Puo+zB5iERqpdZMrjMHAxRqtN/bWWmVON8kDgmDt2Jgh 5YOZa6FAMgkmGaT8Mr7CluUA7EG//I/cub3udcSIyhoEULYDejEnULly6qiSpBn6ANbT BXAdXo6NSpTY8aJqwxlk7X0AwAX1ml3n4990Y4c4uVh09yFq44CLwlyK6f6UYiExXmAQ r3+nZK58C0hZ4Q1d68Ew2EJN7RG6+zVVOB48ko4uH+A9tx9bxXPiYMaZ41B8AURbGNw3 Lm0AMj51H48YSgUbgxXtz5X7W/DRQuRAmaw/7G0bXsljhBsjYvfUQJx9vAG2FEAtKXBj UcJw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=F0Pttjxh; spf=pass (google.com: domain of ydirson@free.fr designates 212.27.42.6 as permitted sender) smtp.mailfrom=ydirson@free.fr; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Return-Path: Received: from smtp6-g21.free.fr (smtp6-g21.free.fr. [212.27.42.6]) by gmr-mx.google.com with ESMTPS id w2si630620wrg.5.2021.10.25.16.33.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Oct 2021 16:33:51 -0700 (PDT) Received-SPF: pass (google.com: domain of ydirson@free.fr designates 212.27.42.6 as permitted sender) client-ip=212.27.42.6; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=F0Pttjxh; spf=pass (google.com: domain of ydirson@free.fr designates 212.27.42.6 as permitted sender) smtp.mailfrom=ydirson@free.fr; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: from zimbra39-e7.priv.proxad.net (unknown [172.20.243.189]) by smtp6-g21.free.fr (Postfix) with ESMTP id B50057802CE for ; Tue, 26 Oct 2021 01:33:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1635204831; bh=CoyNYWIRE0R+fC9ellYPELxaHxT12EwUA1yEPH+VwwY=; h=Date:From:To:In-Reply-To:Subject:From; b=F0PttjxhePK7SXvIXBnoXeYWgJRiGng0bsre10XCElDPyD31fyUVQjU4VYf4Y4FUK xPPG+f3zIUpDPt+8D9j9u8bbjrivMpE9iy9naFa6Zx5ncIKCl8VE4Duonqc1Ri9Akc QxsfE1Fec5PpTLKivuyGuBwQPw3/VF9TDGhFmZDbpAQ3UkSsDEzLkp2UUE3G5ShAZZ j1NxKRZipXgph9TiZsp4Y/vmZl15Vagcnkm8A/ZSqF37LepB314xIJ3lU5Mo6hCREK d4hpGngAJSqJopJtdWjhl3/8Wwv02CBl3m48Cxnp5ldTq60/DXYIRL/iyfaoBvwpRg USFXdhzkHO+eg== Date: Tue, 26 Oct 2021 01:33:51 +0200 (CEST) From: ydirson@free.fr To: isar-users@googlegroups.com Message-ID: <853542706.1343708285.1635204831683.JavaMail.root@zimbra39-e7> In-Reply-To: <1723895297.1343656873.1635201406531.JavaMail.root@zimbra39-e7> Subject: isar-bootstrap MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [88.120.44.86] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Linux)/7.2.0-GA2598) X-Authenticated-User: ydirson@free.fr X-TUID: Xv7QzFKem7dX Hello, While reading the isar-bootstrap recipe to get the gist of it, I stumbled on what looks like just a typo, but could possibly be more than that: I was trying to get a grasp on DISTRO_APT_SOURCES handling, and noticed a spurious match for "distro_apt_sources" in DISTRO_APT_PREFERENCES handling. While this possibly was meant to read "distro_apt_preferences" instead, it raises the question of whether it is useful to add all of this to SRC_URI if not adding it did not cause any problem (it does not appear to be used by any conf in isar itself, but I guess it is/has been used in downstream layers). This brought me to where this gets used (both _SOURCES and _PREFERENCES in fact), ie. do_apt_config_prepare: the whole point of SRC_URI is to direct the fetcher to download/copy source files into $WORKDIR, and then later tasks (unpack/patch in OE) take files from there. But here, $WORKDIR is not used, and instead aggregate_files() uses resolve_file() on them. At first sight this seems to break the bitbake abstractions (and seems unnecessarily complicated at the same time). Am I missing something, or is it worth for me to try patching ? On a related note, I assume that aggregate_files() was meant to support distro versions predating preferences.d/ and sources.list.d/ - would it be correct to use the latter instead to simply things further ? Most recent is preferences.d/, released with 0.7.22 in 2009, and stretch which seems to be the oldest supported distro has 1.4. The chroot-setup.sh script there also seems to do things that are already handled by the debootstrap (policy.d and start-stop-daemon), except for the upstart support. Even if someone still uses upstart (which has not been developped since 2014), probably the rest could be omitted ? Best regards, -- Yann