From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6467463440282681344 X-Received: by 10.46.56.19 with SMTP id f19mr140354lja.21.1505823675043; Tue, 19 Sep 2017 05:21:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.5.73 with SMTP id 70ls2134797wmf.22.gmail; Tue, 19 Sep 2017 05:21:14 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAfC1XJ4BV31VYoL3gWIu7lBB175IeupK0C54tls1M2bFSUJByhh5EEjqM26v9sYS7SK++M X-Received: by 10.28.135.132 with SMTP id j126mr99636wmd.0.1505823674703; Tue, 19 Sep 2017 05:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505823674; cv=none; d=google.com; s=arc-20160816; b=UUL0ni2KoZIxzkyvItUO6vnWVJyi8q74nX/uRgtFmBa8HnWqaG3H06NUSCR1r7jxho pAejHMiwV4UIk54ZtRPTqJt4dSo0JTSFPfZkEZ5psDtkNpGhIcp66mSHZ0juaTXJ3laT EV46xJVFVCukbowyqaVpTeweT0KGSBjVdoXE+uO2MN9SSKANG89QPN09xMt4PZs7UlcR Ytw9+jLk6xknbfu0v7ZLY0kTustraiQ4ySZjfbXykqATYmxCzSFs+aXXN0P4+fBEov4M pXEW+EdGEZT1P23KP+xaYLtMh8pjSKSHH0i9rM+kCeLr2pGl+EMEnhf1HxfDo6jRpAlu 3X0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=6Cepye/nbOe7I/wC3qyWNwoV+AL6Z0Rs44oSdpm0NB4=; b=aQNtF+f43tVbjBFWWPPGod8WLtdSvcfX+Fu3dQrlUxuEGBZF+Lh/1fSP8K3bg/v65H LIdnjRlYu+WObS59VrPa1nMsRUWySWYbIsH/VFaPLDkWPuyii47rR8U4Yd6iJvy+ym/o qjunJiWRJ6qMmjOdEBKbBxriUqrfzFnOcpnqJRBk8gTVaIgbMXEBivpG4CeYzFY4E9FT HbKVNm68pSegXRjuyucD7tKfda7Gtqgld7xSllIY6GYkyQbVRgYmGS6JXWPQ6jaX+Ib3 1gU59dYc40yiDH3VxcPhdwJ+pxDax1lO/VNB4A/P2m5AaPzLE8g0K2FPdwze2fPl91SZ /EKw== 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 l133si128795wmb.3.2017.09.19.05.21.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2017 05:21:14 -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 v8JCKxnE010376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Sep 2017 14:21:06 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH v2 0/4] Basic binary cache implementation Date: Tue, 19 Sep 2017 15:20:48 +0300 Message-Id: <20170919122052.28688-1-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.4 X-TUID: 3Fy1Orf7KA0Q Hello everybody, this series introduces basic binary caching for Isar. There is a new layer: meta-isar-bin which is intended to be the binary cache. All the packages that are built in Isar are stored in this cache using reprepro. Having the separate layer makes possible to manage this cache separately from the Isar build tree. So once you have built your packages, you could re-use this cache for further builds. Also this cache repo is now used to generate image filesystem via multistrap. Changes since v1: - Total refactoring - Split huge patches into small pieces - Avoid races With best regards, Alex 8<-- Alexander Smirnov (4): meta-isar-bin: Add reprepro configs meta-isar-bin: Generate cache repos meta-isar-bin: Populate cache meta-isar-bin: Install packages via multistrap meta-isar-bin/conf/layer.conf | 14 ++++++ meta-isar-bin/files/distributions.in | 3 ++ meta-isar/conf/bblayers.conf.sample | 1 + .../recipes-core/images/files/multistrap.conf.in | 9 +++- meta-isar/recipes-core/images/isar-image-base.bb | 5 ++- meta/classes/ext4-img.bbclass | 2 +- meta/classes/image.bbclass | 52 +++++++++++++++++++--- 7 files changed, 76 insertions(+), 10 deletions(-) create mode 100644 meta-isar-bin/conf/layer.conf create mode 100644 meta-isar-bin/files/distributions.in -- 2.1.4