From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6473366578589073408 X-Received: by 10.28.184.78 with SMTP id i75mr3245336wmf.30.1507198110055; Thu, 05 Oct 2017 03:08:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.88.14 with SMTP id m14ls1428990wmb.11.canary-gmail; Thu, 05 Oct 2017 03:08:29 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCBJwyW+963GUKft0JGLjoZ/KcXjttSHbXXG4Ev+bcERy+oKlmJvsC/DGM+lLI96h6tMuXp X-Received: by 10.223.184.197 with SMTP id c5mr1079803wrg.23.1507198109785; Thu, 05 Oct 2017 03:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507198109; cv=none; d=google.com; s=arc-20160816; b=Fjhek3C8q4Su4Xjc8XZZ2oJ99jqWUiyD8pL1iOXzGBoXeBk2o3uYE5CUyxJlRAceKe tnBfP31LnJ+GEho4+f+nMxBCjwnxFfdw+Mt1bJlxf+uCnhr1wmKyylZMe+1duTfMOkto evGrM/ujjY2yEhX1YPNdcoNkPfX4KZRzM7ywyTRiaj2xTJVj5tuqe2M11ezliYyorB1N lJaLrjT2Mvpo9vi5yKcP9ww9k7Xta0wYE+zjd7irWhHjlLJMHLDIVyCCJzE9PbekQZn/ 52Eq8JpkrkevoOhrmKGIG3RXSiFq24uO0Hvaw6ziwfiyPQD+jM5EwwFoOfCnwLNXFqjt y75g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=qbXQTbqqp5fU6+lckFEm7pqp6FNqt2fbmeC1yo0Cawo=; b=mSihb56CMg4vAkOUF3TZjCU+phTZ2Xcz16lzrHaO5OcVq2CvhyyaBiODESzVexCLNp 2GOsjaW7CWMxOwJepTgFzxO3nU1zbjaUSHFbz9cZIF8yjFxypfS2WWTCPNlqzHwjxZ6N ZtGIWOT1C9beJk26KqJjwkhb3AQOAkRpF5rC0oUoA1eFRzVgYm12SBlJmHAfpO7mlV7q c4l2BMOMgGRo4hrnPBo3SQJdsuQgEjFn3YutZuVu+u5lSU640yLzpvzWRwIwoe/wNtRB mnYNGJ3Yz5otBnqYeNv4YgJoXZ8SPiUsnJkFXBSCXV982X1CoKB1ucG0xRKfnFpsdJlo tzRQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id r65si1803057wmf.2.2017.10.05.03.08.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 03:08:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@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 asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id v95A8DXa003858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Oct 2017 12:08:21 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH 3/4] apt: Populate Isar apt Date: Thu, 5 Oct 2017 13:08:06 +0300 Message-Id: <20171005100807.3369-4-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20171005100807.3369-1-asmirnov@ilbers.de> References: <20171005100807.3369-1-asmirnov@ilbers.de> X-TUID: 9V5W621rdOF3 Populate newly built binary packages to Isar apt repository. Signed-off-by: Alexander Smirnov --- meta/classes/image.bbclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 47f53a3..610dd74 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -64,6 +64,13 @@ do_populate[stamp-extra-info] = "${DISTRO}-${MACHINE}" # Install Debian packages, that were built from sources do_populate() { if [ -n "${IMAGE_INSTALL}" ]; then + for p in ${IMAGE_INSTALL}; do + call_reprepro -b ${DEPLOY_DIR_APT}/${DISTRO} \ + --dbdir ${DEPLOY_DIR_DB}/${DISTRO} \ + -C main \ + includedeb ${DEBDISTRONAME} \ + ${DEPLOY_DIR_DEB}/${p}_*.deb + done sudo mkdir -p ${IMAGE_ROOTFS}/deb for p in ${IMAGE_INSTALL}; do -- 2.1.4