From patchwork Fri Apr 5 13:42:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayoub Zaki X-Patchwork-Id: 1920275 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=njFLRu+8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23c; helo=mail-lj1-x23c.google.com; envelope-from=swupdate+bncbdbktzhrzujrbqx7x6yamgqewevixra@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23c.google.com (mail-lj1-x23c.google.com [IPv6:2a00:1450:4864:20::23c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VB06L2D4gz1yZH for ; Sat, 6 Apr 2024 00:42:33 +1100 (AEDT) Received: by mail-lj1-x23c.google.com with SMTP id 38308e7fff4ca-2d86005189esf14346631fa.1 for ; Fri, 05 Apr 2024 06:42:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712324547; cv=pass; d=google.com; s=arc-20160816; b=ICF4OvCw+C2POBB/VxFNXAtZQ0vA8iHuF7BrWeslzAGzZti6n7KsoBNXHEbVvq3CJ6 Wzk1o0PdCx1aJGHgm85x1tGKq+R7pgfQLoKESAA/bsagSzIKW63eolR2017aIXQ6I4nN YnvudNLfUnqBjtn86N+UzdfEsvb8oyZ0adpoetfO5lpMM7iB6/+8k1cZMYMeJkNhp9eS eSwQ3zN4ofRtGkibOuXkr+yOp/C8OE+ifjljWe5us0g87wJvddDfrAyeBfWuPr0Mh6PZ SPlYAl5Ze2NBAeKjXlKU392c2h7N5Day2iExJDxiOe91Rl/0vKo9H3v/pg/NDZzNfrQB yFZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=TjEQoNoDdACecu+Sj3b4Bn1BQlgwVCo7PbeeGUxUGHo=; fh=hGHJFW0XLTekoDWRN+cUW1+BHnYvCSujn4GD/pyU6YM=; b=DaHAXMfOO3iemRUZLSy5lsTPm89BkVIawERVx/eVciuSCpGnHMTNueaep7Pq9kQQIW mZKARzb/sLHvoH4mnfbggLwyvpsGV1W/7PujJYfrAvcvJ3x1ywAd++LMNxMByXaDULv+ NCShPcCLNf6NTyMsusVlm2MKCfA1NarRggs7ga48R4l2yM2eAx21uPAxuWwSWTLhCU9G ZFoLgS/ZS51c7jNCaa5Yi/sKxmRt8N3KH/y3bPsPDvpz4uGwWMaR9FaF+y0QKEDsw/Gw dAVSao5/OBA2aH9nyqB9M7YjCRCiPiooa8IsWTlXGarUyiVE5tH7Xjq0oZCEdC7BhmWs jazg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b="tiC/euB7"; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:503::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1712324547; x=1712929347; darn=patchwork.ozlabs.org; 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:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=TjEQoNoDdACecu+Sj3b4Bn1BQlgwVCo7PbeeGUxUGHo=; b=njFLRu+8oHT5p/M0M9I9GlRHKSh80Y3u2zaCZlBt7BaKqu4P3X+8HkyrcLwhJPUi4y g/ooCmVKwZiyyGAjQ0H/nAuBuH0eZl+mbjegvwfnGjMTKSLB39JsGyqxrUAIrGtKlbnm AFbqXF9C81BAM4szxUiNLtpQnYNrJ/4Qvf5jzVCF3k4fW4/ld+wkkipLfoZDGZUzznhm R139hntNfqggTju5G2O8mC4xC1VrCinXEXdTS408Y6rKbLWWkuQiFybkSqCveu5uGimH XYl2+GHKUOuGzMhBvhvqEk8+GTCalFCa/p/0k4waOmsIVwqUXc8cMYonik+e/4lTvFms fhzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712324547; x=1712929347; 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:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=TjEQoNoDdACecu+Sj3b4Bn1BQlgwVCo7PbeeGUxUGHo=; b=SHjGRM017dxO3MfCzOpFsrW+yoD8cVxqqCl1OzBrRo43HnJ/bnv5kFBEwWDIIIxcpj fWjWR6k5cXGrNxmPaqP3otTGuOzBnRqvOhjEX2IGkxw+XjTb8lupanOIJCAIVNixpllZ NMtlTEK/wxq7MutvxEgJj5y3qR+ggvr+bUy3Jev7Bth7O0w8+9euY+V4IaBzMmo0NNk6 tndNx14xN4e8Ngc7CsuJQRZFy8oIYiafmUbKJLJzBkqW8KvI8i2jTwanz0fCJf4Ey4PS XYs9DtL/ICxF2pyRJEoGT08osMXN5h0cR1CZ0l+3URIgybGa62BadNAKgBfyHywHZL1F Olsg== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUtGlBdS0JWSdWdaqUS4rK6Tyg2Cec+l9pgo9DpG9poPPA/QggXenh/hjVkP/hupPAoHyfrpYIJykdd57e+nV8b1fXQcEOoAILcGs2pmA== X-Gm-Message-State: AOJu0YwO8jiZnf2dF6X50+ICEq212jf7SwQP9yxEmeYFFB1L6JUAH1Lq MRlUEVj9n1VOWubNH4PlO7wyoPAX1+aO5DFgCuCTrQ5hOOVE40pN X-Google-Smtp-Source: AGHT+IFoYha7NE2A1F3gDJ1+eMbpCac1DTj30vsx7o24XRPj09ZpvK4NZz/QBo4JYH7QLLjFLYp09g== X-Received: by 2002:a2e:980f:0:b0:2d8:1267:320e with SMTP id a15-20020a2e980f000000b002d81267320emr1182133ljj.5.1712324547092; Fri, 05 Apr 2024 06:42:27 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:b0c6:0:b0:2d4:6f12:46ce with SMTP id g6-20020a2eb0c6000000b002d46f1246cels1318500ljl.1.-pod-prod-02-eu; Fri, 05 Apr 2024 06:42:24 -0700 (PDT) X-Received: by 2002:a2e:9912:0:b0:2d3:9b4:4363 with SMTP id v18-20020a2e9912000000b002d309b44363mr1113558lji.23.1712324544149; Fri, 05 Apr 2024 06:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712324544; cv=none; d=google.com; s=arc-20160816; b=fXa4mq/ap5eQ9po+C/bzpoPRviMQbrzuwMEkBSahZ75emLL17IDznlycesZ0xwAWG5 n4z4dMwJc0yhfvHwYguwTdP6BjIFeYLnhnYaJwbQSYewH1pnf3en1W630FuOy3853D19 3Jf+mfJQx/iNIccrRCyeTwLWuEYZPKzkBcosKpq2dgUKuJMvyqWer/jxFdOxxWuRM71/ 8mtq2WLqk0Coj2zREVktNSaZzG/8yMaGpNS4xSn41x4o9q6yUbaW10K4t4hx0TcKx4wj t4KsRWUS+E3YAueSZndJOI1zbXTLCGnJdlap8/hOVWmG2sHgRkUjP8RsvnVBYV8VYArK 5Vkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:dkim-signature:dkim-signature; bh=c4+KhEivhPACrq9L1RyFUnwcC2VYUxXuPm6N1ah53zw=; fh=2n7b/BxEXPj190cubIbxG+uFHQ41B5b7uQuUkqgjNc8=; b=I1eNG4cOrCmTbBScKrWMWyLPoZSg5Mum81E/gvgggk3V3fBGNbE/nDSqawUILxTubQ 3n2qSAsRr0RUrcDRsrNyuAsA7hiDoF5CIy4eBmAFscxKzm3qnhW+cNobWR94PvR/PUia acmnce6cSahfPUWehzNf03SUrYkseO5p4R0PoBF8ScJTHElecnrK6aNwndMZ8lCoMCp7 6p9+urFOzTsoGiEzBzpU2Ouy8+b7dTP8JQCFa+W2aIR7N3HqYdWBpvO77iKhCbl8ogjV kRIm2v9IO40R8Fs7X7CYphyDpCKpCubNRa5hbxDgvzzmIUftl+XZ/ud6jAFHmI5mYlUc 6tFA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b="tiC/euB7"; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:503::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com Received: from mailrelay4-3.pub.mailoutpod2-cph3.one.com (mailrelay4-3.pub.mailoutpod2-cph3.one.com. [2a02:2350:5:503::1]) by gmr-mx.google.com with ESMTPS id 7-20020a05600c26c700b0041489943029si64895wmv.1.2024.04.05.06.42.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 06:42:24 -0700 (PDT) Received-SPF: neutral (google.com: 2a02:2350:5:503::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) client-ip=2a02:2350:5:503::1; X-HalOne-ID: 530c8a40-f352-11ee-bd2d-31e85a7fa845 Received: from 57c1271ef05b.fritz.box (dynamic-002-212-007-182.2.212.pool.telefonica.de [2.212.7.182]) by mailrelay4.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 530c8a40-f352-11ee-bd2d-31e85a7fa845; Fri, 05 Apr 2024 13:42:23 +0000 (UTC) From: Ayoub Zaki To: swupdate@googlegroups.com, ayoub.zaki@embetrix.com Subject: [swupdate] [PATCH 1/2] CI: use parallel build for a faster setup Date: Fri, 5 Apr 2024 13:42:20 +0000 Message-Id: <20240405134220.5275-1-ayoub.zaki@embetrix.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: ayoub.zaki@embetrix.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b="tiC/euB7"; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:503::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Ayoub Zaki --- ci/install-src-deps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/install-src-deps.sh b/ci/install-src-deps.sh index 943f248..2616679 100755 --- a/ci/install-src-deps.sh +++ b/ci/install-src-deps.sh @@ -24,7 +24,7 @@ install_mtd_utils() { git checkout -b tmp v2.0.0 ./autogen.sh ./configure - make + make -j$(nproc) $_SUDO install -m 644 include/libubi.h /usr/local/include $_SUDO install -m 644 include/libmtd.h /usr/local/include $_SUDO install -m 644 include/mtd/ubi-media.h /usr/local/include/mtd @@ -36,7 +36,7 @@ install_libubootenv() { git clone https://github.com/sbabic/libubootenv.git cd libubootenv cmake . - make + make -j$(nproc) $_SUDO make install cd .. } @@ -47,7 +47,7 @@ install_efibootguard() { git submodule update --init autoreconf -fi ./configure --disable-bootloader - make + make -j$(nproc) $_SUDO make install cd .. } From patchwork Fri Apr 5 13:42:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayoub Zaki X-Patchwork-Id: 1920276 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=Vjhi4nzA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23e; helo=mail-lj1-x23e.google.com; envelope-from=swupdate+bncbdbktzhrzujrbtp7x6yamgqewv4y5cq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23e.google.com (mail-lj1-x23e.google.com [IPv6:2a00:1450:4864:20::23e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VB06V2cYNz1yZH for ; Sat, 6 Apr 2024 00:42:42 +1100 (AEDT) Received: by mail-lj1-x23e.google.com with SMTP id 38308e7fff4ca-2d48e62e525sf19948331fa.1 for ; Fri, 05 Apr 2024 06:42:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712324559; cv=pass; d=google.com; s=arc-20160816; b=tf/O/yV9ZRvaYb8TkrjjpbDuN2VBrhV9U4Zxl6ioFkphxQ6z10nY8ag1VxkPX/Fbgm fqRw8Im16iqnYKWriqr1GfyI4MxhslT8KWVvo3/R0MR5X/lWkWW96aKzUr4NeY6ArrE2 PxnUODLSFcvWztDwFKfSExHdnJET8ATLu8QYaFlDsxx3olKqXL8tNkYDci5DFWT5mmYt d2RYajiPRREh/JFB5yqw4ohIneO9CSk6+wt2xkRy3nGmXwkCvfDsWkIfFMNFGE42RwGl s90r3k57V91AVPxFJJpZAx7PcGuQfupPLZL5d2pJzRSi6R+TJS3VHvioHKawqajwGxFi 7BKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=r5ummPPTUwROOmuO+QgiGnsB4GNoIZOjqLHA9YkIgiQ=; fh=F96Vod67Z3OjhnFdqrSxmscx4fUHQhq2Fv2zSgjoQ80=; b=YTHriFdS6MdlRVSZzmzjfbn8tT+d7VMgejwE4mnQ3bzq5tKBIzrYF03bg1g7VqApGM S10CIxnIjOQrLGnXo5K3/hJLALSDLOTxf4XapFkwqFvXRcZgRfOk/I6kGywG7/C0mpXA 1fwRdWQbkTQoWX4VF0bXSCSqxQvlhk9uoqXkDk8fKlMdgOwL75xI+s7sLU7vVN7wb9KC o1D8CxU7iopRcz3hqUUCuCT0PRaGrhVjcF5PyQWR4aghK+lXypV1aCAMbcWYlhnnwKFO bTH9lKrxqZCwl5PmXLJRgACd7GX8ewEjJUMtKxW2rgfVuGSYLy3l9JPcrPugjKuijmdr uwGg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b=Jfe71lap; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:522::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1712324559; x=1712929359; darn=patchwork.ozlabs.org; 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:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=r5ummPPTUwROOmuO+QgiGnsB4GNoIZOjqLHA9YkIgiQ=; b=Vjhi4nzAHElJI2w/rtlWPUHhU/7m68DOHcYMNhReL/DnPf0w9zVYe7YxyPVclkJ9Ry FdO4eAsXChnZTlg4yMyXPKVS1iBpARwLVbzuB9ZrWaD1j05ZpfGexuYB1ZOa8sMnlcjx BY+095RrXacfDfJRqDaSIjFLjgmpDPc5G/yat0yY+rOeWUMpYR7nemDq/pEPthvULAU/ OXZML+KY94PdUlax6Uwbdqd+SV48gRHD7VUskHF1KMrEcB1Ktz8MdpRK50yvto/PUi87 flVkcBlad/HN30qwcklva/GKN+vb7yDuKIzNBvGxGt/NV6JWsZ+m607QQ3kzOxTf1Lrk eymQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712324559; x=1712929359; 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:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=r5ummPPTUwROOmuO+QgiGnsB4GNoIZOjqLHA9YkIgiQ=; b=dyZzNHtMWiuP2A9VHBkNPmAGsQeDK3wLUd6uXNHcUkAhjF/cP/r9Ud+VyF9vOe0WdP A6bQ+Wd9QV/WuyuwZMK5X02tNhtepl7jtfhOP+M3Seqfk/lstTMyHqiTh58lqXgdvFuL lzNhAS4vWFO1WatNdYPy691OEvedVLJUI4kkUEqCJLfx0uA2s7caSwBpLVy1jQJbTdQr V/KWIbhr7LVXBWJlcj9t63hDQCifdTa9yw5lRuSKLBSEQw3jvReg8hGs2jvfY4cgT345 yEFwg0pmB4lBEpt3/qgOOzH/4kLMYtwh5gfo/Wmkt/lTuNuEQQ2m/4WgUoGrzpZ1HL4E ufSQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCX+dMnPzT0peXjPutsQvlxggj7rgPJ009ziQnRdZy+790ZnEO+d+2CZWd1D9AWyAFlakcdNgKG/GaqYVS1oiiydk6w0plO8+M2xmOmO/Q== X-Gm-Message-State: AOJu0YzC4+oQ5PqC2CH5yDnKhWFP7jGizdEV9mWfHAZ+HkUBHchYb5gt O5HBVGRpOBlu33GY8X91Lv3pk3jnk2pdf+klv3/pQU9AacGEvkIe X-Google-Smtp-Source: AGHT+IHZYbgEfyCb2V+hZvO8F73OHLv1bku5Obm7yJlMbrIIogyg/cxfOj07HpxxrSVwQrrUZ6LTOw== X-Received: by 2002:a05:651c:10b:b0:2d2:6193:6d53 with SMTP id a11-20020a05651c010b00b002d261936d53mr1093448ljb.13.1712324558220; Fri, 05 Apr 2024 06:42:38 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:651c:2122:b0:2d7:3f7:8784 with SMTP id a34-20020a05651c212200b002d703f78784ls222806ljq.2.-pod-prod-09-eu; Fri, 05 Apr 2024 06:42:36 -0700 (PDT) X-Received: by 2002:a2e:3807:0:b0:2d8:b2e:7bf3 with SMTP id f7-20020a2e3807000000b002d80b2e7bf3mr1082267lja.0.1712324555588; Fri, 05 Apr 2024 06:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712324555; cv=none; d=google.com; s=arc-20160816; b=BL36FyC9d9zZOLkpPuCQ8FK/Ee5QIzhYYEKe7nEnrgVaxPhKpLBB6FFUTxC8ihyRAo 49igZymf5xHWHZC4amTZeDgGeNASK1z+GFIdwhmw7zrSkqTAnYNzghtrQ3sJxkiC12xp owWpcLCkb809N7MYrtzt/Ix9P3Zo5csxykhFQbEF4yKXDKYztPEW3wBcK/jL0rtI6a5v K9PHIOfCFLTZUyScgMc8DqriFuO+EGn8Wzg/HrEncVTqRxfEs8tU7sX70wOg/DUOye0M ffKkSYcqhfwyEXseGmPHNtIIlGTtfQUyiF4Kiadp0v7wC9SLfYGm7nnDwvhAaIHYShvF 5rTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:dkim-signature:dkim-signature; bh=TlBtljhAR17Ef1C4694UK15O5ZPBFr7VOtjaXmJPKq0=; fh=2n7b/BxEXPj190cubIbxG+uFHQ41B5b7uQuUkqgjNc8=; b=tWbhJyOwngGJSeSzqfKEwp9rpTPMJsdYMMEVKxehBuPf+3vtVyiTTzvabfrMnsBJL8 MxYR/hNwNBFXyumTRRwom6DCIy84Q/DEGFs90a8l99WoYy3gz5l3LzH3RUaxws105DjQ zTHAv5USwm7DtzpHTYHGm/0WUO0j/P8YsEgNuR1HfR3jHeZVyM+u1P+IHzT1wFAPwYp2 0ZqTRCNWc3C/csH3OYBW+p2fuD85ay8xIHnFcYfNzEtxWGrXx7MZzKTbvuehlKkAYjsf VsKpfamp+CfumM/OQPsjeToYVkNARTwmfMhw+8j2qXJIUONuq7SFocn1v0nfM7rmYpPB 4SdQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b=Jfe71lap; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:522::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com Received: from mailrelay3-3.pub.mailoutpod3-cph3.one.com (mailrelay3-3.pub.mailoutpod3-cph3.one.com. [2a02:2350:5:522::1]) by gmr-mx.google.com with ESMTPS id i21-20020a2e8655000000b002d71ee0aaddsi52528ljj.0.2024.04.05.06.42.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 06:42:35 -0700 (PDT) Received-SPF: neutral (google.com: 2a02:2350:5:522::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) client-ip=2a02:2350:5:522::1; X-HalOne-ID: 5a2b480c-f352-11ee-a45d-ff813d2dbafc Received: from 57c1271ef05b.fritz.box (dynamic-002-212-007-182.2.212.pool.telefonica.de [2.212.7.182]) by mailrelay3.pub.mailoutpod3-cph3.one.com (Halon) with ESMTPSA id 5a2b480c-f352-11ee-a45d-ff813d2dbafc; Fri, 05 Apr 2024 13:42:34 +0000 (UTC) From: Ayoub Zaki To: swupdate@googlegroups.com, ayoub.zaki@embetrix.com Subject: [swupdate] [PATCH 2/2] Add Dockerfile to ease setup of the SWUpdate project, build, debug and send patches Date: Fri, 5 Apr 2024 13:42:32 +0000 Message-Id: <20240405134232.5406-1-ayoub.zaki@embetrix.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: ayoub.zaki@embetrix.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@embetrix.com header.s=rsa2 header.b=Jfe71lap; dkim=neutral (no key) header.i=@embetrix.com header.s=ed2; spf=neutral (google.com: 2a02:2350:5:522::1 is neither permitted nor denied by best guess record for domain of ayoub.zaki@embetrix.com) smtp.mailfrom=ayoub.zaki@embetrix.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Ayoub Zaki --- Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2537da2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM ubuntu:jammy + +COPY ci/setup.sh /tmp/setup.sh +COPY ci/install-src-deps.sh /tmp/install-src-deps.sh +RUN chmod +x /tmp/setup.sh +RUN chmod +x /tmp/install-src-deps.sh + +RUN /tmp/setup.sh +RUN /tmp/install-src-deps.sh + +# Aditional development tools +RUN apt-get install -y \ + git-core git-man git-email \ + gcc-multilib g++-multilib gdb-multiarch \ + sudo nano vim openssh-client bash-completion + +# Add swupdate user +RUN useradd -ms /bin/bash swupdate +RUN echo "swupdate ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers +USER swupdate +WORKDIR /home/swupdate + +CMD ["/bin/bash"]