From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 22 Dec 2025 10:01:09 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f60.google.com (mail-lf1-f60.google.com [209.85.167.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5BM917pw007009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 22 Dec 2025 10:01:07 +0100 Received: by mail-lf1-f60.google.com with SMTP id 2adb3069b0e04-597d5b80d55sf3849851e87.2 for ; Mon, 22 Dec 2025 01:01:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1766394062; cv=pass; d=google.com; s=arc-20240605; b=Fg9yzPYgJe2jO0EZpeuN/3PQ6vu2BikY+Vv+OWdpBQDpFfKtKOS1RVxczRDgHgGDip /qna44zItxXvetK1rPNmFxClvxB3cMeMy7sq5YkyYtCO+jrSTrKhjpWmgPBYvtEp1h6K i9CngwZz2r1xRc2PtUgc974EVAi2eYtbaar+gDx1jhDm4S8M11O+E5DuT7KjPzEd+g0f KkjzB71tvDAlvzn3YEW8Ldx4vZXZO1T92Adb6eY6EZg7qYVu6VpvG6VCoTl6EFxOzJa/ aVJ1GgL3T9/K8Ivv/FBJGv8+z+hc98/rhdlLN9A9y0MU3EM2HSrg7X+60LEdXFjaV+N/ 3dRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=2RMvMcvSyy1nQScSwrv5BYdhDtrGRlFNDcfYlm1pMEE=; fh=MJlbsPVZOAC+6Ol7BrwzcwJd2G/n+cRFTWHgSIS4yr8=; b=hGPvlttK3vDiExtQsM5o3nl0wyZ216adAxzibCXNBkDgMlOR4qRtNo0kU4Qq7qz/EO yGlvZjYSv/0z9isvmv1W+pbL2yxqhBpMbYFkRFFVaz6wdKd0w76Ee/3UYIZOilSlgjex h760DspfOS2rLS0bsilgOEk/asXwv07uZMOkSIm/C58uZxm6f8J6FGOY5e2pXudN4GVP fYsu994nJZvrmw9oxSq80Hk2RT67eyyr9x4bs69IykM8jPZg4QovzX12is3YRrohVYQ3 MI/Ti5FpMhO+5K64PMldOcWwGShijUqbXiqc7ktu8ukYhjFqcnS8C39wi3reeyY9HhrU PfUw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1766394062; x=1766998862; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=2RMvMcvSyy1nQScSwrv5BYdhDtrGRlFNDcfYlm1pMEE=; b=C1NTpctEn1fNsQt441GkQGuno6w1bPQnDZEhAgOWAbQ3nVWuH5YJKVma2U62ed/ILn LsrsIkHp4auqqlZlNuzlh/7qyOA8Ki8CbxXqyfO8R7LZfgHKIcQOeQucMABBqxEl47Ad zz5k/VJ3Brk6TfGG9//3gaije5gpYBFrYEaHo+jOmjzYOjUGnBgCkjyU6Etj9qHiD8YQ yguYWlBYnChfIK5o9xbz9DhjILzy7izZX1a6nZeREz8nBh1AcaB1KV+kJd0q3b6DiB5l cfJD+uiv1WQCXaAoomMC6pEsS6Tn/3NIAw6E5rrqaXF8LzADEKL6MdvtMVf+Cc6MInJ/ k6Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766394062; x=1766998862; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=2RMvMcvSyy1nQScSwrv5BYdhDtrGRlFNDcfYlm1pMEE=; b=MTg38VovXTwn8f9QaXBh7BDRDSeObZ4cKfoDEO5uRrTu1hvucfa+F88bn888Sirwrn s65hzTRWPrlZ4PEGYSHu6bC4dX9ZfZ+AiFMd9M2SuEkcZQeP8034cyrHzMVYK1DycS4g 5WcQpGs5bKqdAyBFSqkf7N52UzvIh/SA8CFtIK8o4TZv/z/zjTK2U6qjlP71KUxQhbQZ HHzimLu4cHpZArfcmw9LpEQhIC7aF+A4CUzdJMRfj//zpz/zQcj2B1Fpzgyeh9pvDBcr foTToP8zx4PxgefDK+BzuoNyCfXTWtqGXhE0miqt101Wj4KwgcdxSOS7d3vnvhKrO6DG 7RkA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVVwOI7DddTBVYIy3M5x5k9c6BiYFbOKpx/vJ7Dtyhex5NfxlgO3B8CNSJMiseNg+di24dn@ilbers.de X-Gm-Message-State: AOJu0YzoCyGP0dLmhyfV6fxl1o6OT15/5datmiwzd1oQ8XFc/uXYlWni BCWdPK2ua/JH9a0XdMWKPdNHNBVUXH+gYJcVJdYjg6mtWANFE0Gps13t X-Google-Smtp-Source: AGHT+IF7e1yQ7rdqz+4f/lvrm3SFtiaW917RYwHyjTAz5jO5WIGLIMaadowgevc2kac/K82RKlS73g== X-Received: by 2002:a05:6512:b01:b0:598:8f91:6d12 with SMTP id 2adb3069b0e04-59a17d5b355mr3416041e87.53.1766394061655; Mon, 22 Dec 2025 01:01:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AWVwgWZbfnfqw8iBYdmhIOd7MT9G+defKevTd7fU0QjJG1/uMA==" Received: by 2002:a05:6512:1188:b0:597:d79e:e081 with SMTP id 2adb3069b0e04-598fa3fb651ls1556161e87.1.-pod-prod-03-eu; Mon, 22 Dec 2025 01:00:59 -0800 (PST) X-Received: by 2002:a05:6512:239e:b0:594:26cb:fce6 with SMTP id 2adb3069b0e04-59a17d417bemr4721497e87.34.1766394058828; Mon, 22 Dec 2025 01:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1766394058; cv=none; d=google.com; s=arc-20240605; b=MrcIYcVRvs+kZnIqfecV8y5QuQC1jC98IEsymGpamhKCE6IneAkeI1KQaGTsw7bXk8 MWWqbJCXXFDoKkw1LSi/ESxRRu+OsTzWb8vX0d6TB8HQk0/zQ8xFtietWlf6UH/RehjZ w3jlPWH6G0Wh2oInPhGJSxZ+yDHHXbFpJN2idKJQ4ZZOVFKxJQ8VhVCtTlRK5mfb3pO2 ToaDRmNiDDUQs7+AJd09q80shXusK4x27WDX5Jbk91y+BWMRdLuL8mVsnSgfnNQK5tPL KKSscXu18oJ+v4ALg8F6+RHFwFykbNvXQwpqgefqX6tIh/ijLb7AMH2wr2Sx+j/QZIgH oz5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=i+ock94ibNDdBQteqGH4Xnztf7zsGELGySyyjm+jq5E=; fh=xwW/rMGS3IGvsqBxwI3fCi8W8YClf/t0UGwLXADmGKw=; b=HpE0BjAh4fNodpVz2jTihIZeTq9lDDBEhBur6fTbpYoPSI/UWYM9+AX8dcft6VwX9R Q8xbNxBcGWmXupsSw2SXJQHlk7+mjVq7fc078FawDlySi9ayc47IPeFWDPQ4rz4ry8Eh TvnpdsftQ5GRVONz77RmyIGG6Y5BMccDyAEe2mgGovnuTlTF20YDyao5Plnm1jGIZI4Q H8ldUtHfCovvH9YdOFUQLZ4Wd6ajmVVPhVopddzkuDVjzXAT5GUmnWh0omcz+MMQCdur aAEmYL1ITmBxwTj/mPd57zTzOlhnEcpX3iV8n5tdFRclRSV6bvOR0PptOwQ/CIOYJKWy qvLw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-59a185d65d5si203767e87.1.2025.12.22.01.00.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Dec 2025 01:00:58 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 5BM90a0Q006998 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 10:00:57 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Vladimir Burkin , Anton Mikanovich Subject: [PATCH v2] Fix missing /var/lib/dpkg/available in Buster rootfs Date: Mon, 22 Dec 2025 11:00:30 +0200 Message-Id: <20251222090030.1922930-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS 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-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: HQImK0D15Cdn From: Vladimir Burkin When building an image based on Debian Buster the rootfs installation fails on dpkg because /var/lib/dpkg/available is missing. isar-mmdebstrap.inc tries to work around this by adding an mmdebstrap hook. The hook uses touch /var/lib/dpkg/available, but it runs on the host rather than inside the mmdebstrap rootfs. The proposed fix is to use the hook parameter $1 (the mmdebstrap rootfs path) when creating the file. Signed-off-by: Vladimir Burkin Signed-off-by: Anton Mikanovich --- meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc index 80b13a9e..73fe9434 100644 --- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc +++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc @@ -18,7 +18,7 @@ BOOTSTRAP_TMPDIR = "${WORKDIR}/tempdir" MM_HOOK_JESSIE = "/usr/share/mmdebstrap/hooks/jessie-or-older" DPKG_HOOKS ?= "${@'--hook-dir='+d.getVar('MM_HOOK_JESSIE') \ if os.path.isdir(d.getVar('MM_HOOK_JESSIE')) \ - else '--customize-hook=\'touch /var/lib/dpkg/available\''}" + else '--customize-hook=\'touch $1/var/lib/dpkg/available\''}" MMHOOKS:focal ?= "${DPKG_HOOKS}" MMHOOKS:buster ?= "${DPKG_HOOKS}" -- 2.34.1 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251222090030.1922930-1-amikan%40ilbers.de.