Message ID | 20240425124620.51594-2-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBD2ZDGN6SEKRBINBVGYQMGQES3QAFKY@googlegroups.com> 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=LrbpmdAz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::240; helo=mail-lj1-x240.google.com; envelope-from=swupdate+bncbd2zdgn6sekrbinbvgyqmgqes3qafky@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x240.google.com (mail-lj1-x240.google.com [IPv6:2a00:1450:4864:20::240]) (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 4VQFwS0Ln0z23sX for <incoming@patchwork.ozlabs.org>; Thu, 25 Apr 2024 22:46:31 +1000 (AEST) Received: by mail-lj1-x240.google.com with SMTP id 38308e7fff4ca-2d87ba1f5e0sf8120521fa.2 for <incoming@patchwork.ozlabs.org>; Thu, 25 Apr 2024 05:46:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714049188; cv=pass; d=google.com; s=arc-20160816; b=qH00LZVJwvx6nbr7EvalgdS0NIOzEt7iGQ01/ME3sYwHpuXSZoyzP6hWn7ae3dg8Vl VSixUoCDHbZ/g0En/mQCBcSNU+4ivkpqpIGVLSoIjVQPuC1wOLt9rlMg4cBjZ0Bdb5Rg H29iF5G4n2RCxeUk8YHPbyBY+EU6tHdPqkQaGDwwo3VFgXof7xqcYPC9VfseXuY3galC AjHEip1uioBQPoHj1mJm9Lrw9EUDBwmGZpc/NMG40v/EOKfGycYOtW8bEXZAe8HeQGEI T3Jn1deVGbXD40wgyz1Skw/xsRLPMzbvwMHSetgnOA7U/yBuzO6HjRAT4rza/RMEVRG7 BJIA== 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:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=tNIxgm5KPHXWhsuR2LtSCRDWyJLhIPULkm7grNDjLI4=; fh=SoGfP2pV4NNyMN2Eu4mGcMO+GdiI8lkLjuOHtvw2qPE=; b=PYJbntgxqtBKRLP6WZw+deCjVoDiBuHGGgJWEDJaoOybcNkS0YZKHKArphQZUu1KpB Urn5bfuZZzDz6s++9BaT0Avtuqv4N3t1sog4P+Sr2YnPgl3xn13gsAQ4tcyAkNf4lEZB gFtADiEyi9Ej4WvtsR5jQ0r2qSpjNFOCWLInhG3drI4fzFP/1+KvMsIYJ+0D1lvCQhFz e3rv2kccI1VbEYdqOqelhZhV6kRsAWrPh/YZtCPHXc3Pp0SWol8Z5dlg5TC4YAW1VF8a 0lc1sE6X+HzG/glBr8DjqBQl3jEkzCrD+vOLLIGTVb+AhwYicgvYBtjvjMC1nxInfYnf IDNA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=htbuaNxw; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1714049188; x=1714653988; 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:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=tNIxgm5KPHXWhsuR2LtSCRDWyJLhIPULkm7grNDjLI4=; b=LrbpmdAzJek7xE2O1RVk3RnCBShxgqHbhABfr+KqwDRwq7VvINUkCOovkv/JaasWnn rEDa/dtegO8iql/FCeIZFPlIjfo8Tty9WGLg1D+u0AjmMXpNQD9cKkclQedVgqQUpSzf pXsuL7/GqBuelbaWJhpDrh0OlkcCJRnNEK5N7gl2vADMza25/ty913S37g1JG4NaYL/A 8waNOGJ358gwaO4RJN9NsOBJ0Gj5fqRm5ze9Y+6X4BjSCXoJDBn1hOhCUbhgDbogJJBG Sr3LgZj5p9QHvpVhOCUHg4C3ITC79xyhGCThNGe63/K2ZhUxP56bIRWPN0yNEWJizo16 PltA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714049188; x=1714653988; 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 :ui-outboundreport:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=tNIxgm5KPHXWhsuR2LtSCRDWyJLhIPULkm7grNDjLI4=; b=AK6TvykqEoHWt6RNQTbzH3GPLUkx89yseGYzIbf3G3AqzONcglhGhfcT2ieJrPHk7B iWL7G5cBVEmEzkDKEC2esbRlq6AED8mzHruC7pdbzADbTQd5I2bAZz0vrgC+0ozt8dAX fJHbv91iEIeZ5JlfW0G8lN8DX+wNM8VBlgXeMD4Y4F2LVfGnKp21CiaSPfGS6JKxLl6G ZQeoPdPCVJ2CAf5/zh0plntGB6zLMCaf5xM/6pLQnZTigojC7v44YZ5wxnQWv54daJiL n/siiwnuQehJURcFau0lMRCRAsawqqoBnAQX16tdHgFGLUQTF3N/CIW1Y4UslaCXcG3j qE9Q== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWb2ui55OuvFesHo2PlwLLjnAF+UeQt8DuLNs1qqfqwLasH3LLpJKSjAoeQGxMTQSrwctCeO0aeHVLUFrbnUKvPbgWT7pXURytc+intxg== X-Gm-Message-State: AOJu0Yw8Qem34NJiqMlPBA6uOENi0sKKQd4yQz4orx9R9wwEXIjVtxGP ddNNysvNRaUX4H9hozzgkuPe46G2biIAIxKcYVrMxxSs5LQKnBfT X-Google-Smtp-Source: AGHT+IFZPRcWx1HIplysrDNnVKDIw9F/VN33M6BkXxFsu3ZF9DYXlTgxsDKZQsQhRWz8ss0097zOZQ== X-Received: by 2002:a2e:321a:0:b0:2d6:db84:5e93 with SMTP id y26-20020a2e321a000000b002d6db845e93mr3103373ljy.47.1714049186593; Thu, 25 Apr 2024 05:46:26 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:3611:0:b0:2db:b3e0:6b80 with SMTP id 38308e7fff4ca-2decb879a85ls1692791fa.2.-pod-prod-03-eu; Thu, 25 Apr 2024 05:46:24 -0700 (PDT) X-Received: by 2002:a19:ca0d:0:b0:51b:58c7:d041 with SMTP id a13-20020a19ca0d000000b0051b58c7d041mr3362588lfg.39.1714049183650; Thu, 25 Apr 2024 05:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714049183; cv=none; d=google.com; s=arc-20160816; b=LfFcwp14Pq/mMLIkM360N2VFz8BrkchxdoRT3OTANkPhvp1FiMZyAP2DkANjI8ccvI nPqe7CCKew2g5wpJOFvu+Xtpuuc01zUQ9XsChTPWj8JuAOFQLgKtSrkhexSzuUaJGrWk qXsBDj9u7cmeSMsk0CLKRSY06s9V4WmdeufemBZYsn/zahaaDLvQx1zw2FKZNUG1GDRj 7zp6kQwegJPHMWZO25N4OSiUZuvgT6KH0guA/77dZvq9t+0S385gZ2877jVy47kmpsN+ CchHmr8RbBe3N+82PcEd3pJvPy1IvoX1njlGkiAiCSpT8P7RXXgqxO7WJcj7prg5Godd cEqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=TEFM17cxTYj8JiBOuN9DpKDCHQ5pNm+RRvju2uCpvsw=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=sDX/z/rBQdGEjtNsCJ8GYIxynX1yRLY0JhrlCTsiIBxjkKh2fEi+q6qlTHlT54V81n z/zlZlt5iUB9S4dw+oOwr2j1jwc3odUqqp/Dz7uspWMiia2JS7kkTvl3pDVR1c1e/HZF DvXlNc6aX0umPbBHkulZ9buC7fzzyhOVBAVokw7+gcuiPh5E6+pAcsZGy52Mq6WV2YN+ 5KELinAtxTFB82XWJzEHYJ6SENd8TIal+uMcAq/UJlPRZPMl3Cu17bsAlQrnJqVJvsVn DFPIlCoVKj/vkE5dq22q7CtSiQgLTRl8b98Qzl2WsKb8wSMJ3W6IESFy+mail03rdlyt 7xSg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=htbuaNxw; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.126.187]) by gmr-mx.google.com with ESMTPS id i22-20020a056512341600b0051b1829e40asi367546lfr.9.2024.04.25.05.46.23 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 05:46:23 -0700 (PDT) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) client-ip=212.227.126.187; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MvazO-1srOci2wj8-00sbEE; Thu, 25 Apr 2024 14:46:22 +0200 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 2/4] image: preserve_attributes is a boolean flag Date: Thu, 25 Apr 2024 14:46:18 +0200 Message-Id: <20240425124620.51594-2-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240425124620.51594-1-stefano.babic@swupdate.org> References: <20240425124620.51594-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:Us4wWEhzoflrteJmOdkNtl8HHMN/0FLdjoDQjncQovA1+yeF1/e vhnA5UNPLBEuzS+hh+lnxr/+xWJXyYA9zUWpe4u2LSz1nVfXlews9Pyc2aie9J8UnqGXGa9 1s1lP9I7lUw56bK8V664ZgJ6VEUH7beFJ4GOdk4WSMeqc0vVIX2K8vA8ipPlPBEpaJjmF5j idpqUcz4WhnE3WWd9z85A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:t5tIthrzKGM=;RajS0K/Fx/+uU9U2xu6ccSkkwar gEDTpVYQc2/1dEqaZrWLk5pTUqqHTFopu/74x32LRshB2pcxMUVsm1BC3A5wN2BT7deaNke2J hjR9r20JIpPPFyyVjkM3vspFpq7N9VsgoTYQEncYFXYCYKOE7JYYvhTQAfgDTSFvu+Qdd8Nd8 djhDN0FFfe5tkI0JBZEk+d9lrUARzow063eRjtPGb0FCrEFoWq55llPJtUBt6v4GK5VTt0aH/ EKNBAD+cztFXgFkDW7zKOIXohAWi9cAlVgZifIMF5Nqe4jEOIdpJQbwrlPjDFhEGKetSZPS4T jlSxnnZV4ZZT4TWP6pFfgqe6Fi2aR2Ciy4pUqkih9V5tRJLyyxYLIxJP5zVVJkw6Xgy4XBSV9 RwyR2ldgojQqbiCsdwLP4bCeNabX9HpQyUIntdiZhJLMX/OLxaJfhYyVkgsv/JCu2z81GJ5Zg kd6LRTsA5NCcv+uueKa/0hf/6bu1rZGnh9TWDP6lAFzF61L/cpoI6y2b3mBMvyA1jXlKw8lCW gwH7is2xAP8VaEe/lEgS0b50yie7/M3fMXuPQ6RQyJQoT8k/+t3rNJFOihzbFSfDm4hjInrCT uQyoXQ3bIIu5Q3tE9BrWGTf2tRzTgL2z1VcSoAm7G13yHDnzKGiiR6Y7e8xi4aZG8EdaTU9e8 uiZuN4V3zzNnn5GczY5MLcv8e+0PmRAGSqqi9CbRS9oG6+730YnMPk54MWYdiATpWVOMhu8GD sY2GYkO342Mc9gCBNdvEaHlBuSaQCtI1tMT8W5wnpcho9roEH7zNGQ= X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=htbuaNxw; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[1/4] Parser: statify get_value_*
|
expand
|
diff --git a/include/swupdate_image.h b/include/swupdate_image.h index 68d97a02..e214aafc 100644 --- a/include/swupdate_image.h +++ b/include/swupdate_image.h @@ -54,7 +54,7 @@ struct img_type { skip_t skip; int provided; int compressed; - int preserve_attributes; /* whether to preserve attributes in archives */ + bool preserve_attributes; /* whether to preserve attributes in archives */ bool is_encrypted; char ivt_ascii[33]; int install_directly;
Change type from int to bool. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- include/swupdate_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1