Message ID | 20231201214949.2333622-2-russell@personaltelco.net |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=HOnM7nMg; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=personaltelco-net.20230601.gappssmtp.com header.i=@personaltelco-net.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=oHIEfRdJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (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 4Shn8K5sjCz1ySh for <incoming@patchwork.ozlabs.org>; Sat, 2 Dec 2023 09:01:37 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MWwk/u2NzyxInTluwPcSFLkLcwH3vUHoR5OefXdJAJ0=; b=HOnM7nMg8/i542 uRsPBF/Fq2LcZwT2H+mqAHmHu9BU0UzZpuTa5PoVemvWPOB03URipeHOJlfmbSu7ygcjsgQ0IaQq0 SCfeGWQDG0YgI1N88EQ6jDRWLwoRtQPiGjcb7IgIGW1mwq9bFq75cP+Dy9JE+Ofos/O0J2O7V4bFd 9yMRLLBkzh5DN4GMWJ+sZVU7eY+mqWXs21ILJIPBYBm6z5/lqiU5O+MbM2Aow5ubHiMqd5oaYNEPA qjA6+3FDLiME+NvEHZ3G2wcb8J7H+kShR3YPA6Nau3VLzNNhsZesdDWHBwC2LffcmE0CrgMqmFl/k vmDHWpoHCcX0+Jj8eUoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9BWc-00Ehj0-0d; Fri, 01 Dec 2023 21:58:18 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9BWZ-00EhiN-25 for openwrt-devel@lists.openwrt.org; Fri, 01 Dec 2023 21:58:16 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1cf7a8ab047so9024805ad.1 for <openwrt-devel@lists.openwrt.org>; Fri, 01 Dec 2023 13:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=personaltelco-net.20230601.gappssmtp.com; s=20230601; t=1701467894; x=1702072694; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YCWvPgjZXqPXUDcpysD4uNJUBfIy8SfEjwQq1vLUUJA=; b=oHIEfRdJ8ACE0c7yzKD3liIcOBnLiMBWORcbm9zMhbSozVBSzuJMS/UqK0aJTClMyL O2DLySwxl+1cFbtmS6Vyf1SDEmYMS39EOQ6q5WlHEatcp62zFX9HmxSkzfZD1CtVJ4l5 9Nxo2S2QqU6IeLWpd4D3oPr0qnZyZGNUSiHsQNrclnp0UCMb5RBpi4Exq8trhfuqaC8M cQOBgN6Je/7+de2Zm15lci6Hd0jVAAv+zYHEyfo3LzFNlpehUnxsxljRNfGZBAkCNjCM DxJf4mdjC/KAGLOl0KGWs3bSjvshqtYWYfxJuPklbiYl1XLrVI4yexo34osF/5yozNmm dDPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701467894; x=1702072694; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YCWvPgjZXqPXUDcpysD4uNJUBfIy8SfEjwQq1vLUUJA=; b=MsThhOq8CPlcrQQ6+ON7PSPrAmkBoUTI6mdBHtCraZm23EfNllgFnYItTNjoCWZ+FE VuhZhOeVUiaPakIVJjbebYB6syJoJEb06iu05iSLh15612ZLaMx2vRCIzL9mAeqYAYP0 kKQtSYtDMIJfE+r5zyPP04OB2QYM9XfyjbX4j9u8LIiUJtTq9EFO2wTDNNAkXHoHOGIM J/qyHIVJrqyYAgrbFCPCFW4SOv9QxPtW+kOe9HLEqfWBCcOu4gTDwWpv5HFh6NGXuCy3 oCpT8GJgvL3GA1xlx71ghzrkdFlOf/9KuTHplpC5pH9EDu56KvqKT5ah4PBxD1qPQVTj bC8Q== X-Gm-Message-State: AOJu0YzICLjyg5ERrQP6Tf0J+8JX+DGIgQZM5xRbRhe/TxiGpKJFh0JS AsixFjGd7NM39g1dmSf8fdBtaku610ipT8dp30s= X-Google-Smtp-Source: AGHT+IF2UWnvWJqfOccI9IOrjHGGTgUvT1OY0ljWxpfLLkMD3LErHcjijGb2rQ8Ss6d1tZonfIkj1Q== X-Received: by 2002:a17:902:9303:b0:1d0:6ffd:8378 with SMTP id bc3-20020a170902930300b001d06ffd8378mr119624plb.131.1701467894180; Fri, 01 Dec 2023 13:58:14 -0800 (PST) Received: from hawg.ptp ([2602:3f:e4ac:bf01:3162:4332:e1bf:a4c2]) by smtp.gmail.com with ESMTPSA id q5-20020a170902b10500b001cf83962743sm3771742plr.250.2023.12.01.13.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 13:58:13 -0800 (PST) From: Russell Senior <russell@personaltelco.net> To: openwrt-devel@lists.openwrt.org Cc: Russell Senior <russell@personaltelco.net> Subject: [PATCH 2/2] qoriq: pad rootfs with zeros so that sysupgrade -n resets the overlayfs Date: Fri, 1 Dec 2023 13:48:56 -0800 Message-ID: <20231201214949.2333622-2-russell@personaltelco.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231201214949.2333622-1-russell@personaltelco.net> References: <20231201214949.2333622-1-russell@personaltelco.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231201_135815_747875_96DFAD0C X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Presently, sysupgrade -n does *not* reset the overlayfs, retaining unwanted filesystem contents. Adding PADDING=1 in front of gen_image_generic.sh in image/Makefile ensures that the overlayfs is recre [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:633 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[1/2] qoriq: add missing compat_version to allow sysupgrade to save old config
|
expand
|
diff --git a/target/linux/qoriq/image/Makefile b/target/linux/qoriq/image/Makefile index ec46e4d543..69fea238b5 100644 --- a/target/linux/qoriq/image/Makefile +++ b/target/linux/qoriq/image/Makefile @@ -13,7 +13,7 @@ define Build/sdcard-img $(foreach dtb,$(DEVICE_DTS),$(CP) $(KDIR)/image-$(dtb).dtb $@.boot), \ $(CP) $(KDIR)/image-/*.dtb $@.boot) - $(SCRIPT_DIR)/gen_image_generic.sh \ + PADDING=1 $(SCRIPT_DIR)/gen_image_generic.sh \ $@ \ $(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \ $(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \
Presently, sysupgrade -n does *not* reset the overlayfs, retaining unwanted filesystem contents. Adding PADDING=1 in front of gen_image_generic.sh in image/Makefile ensures that the overlayfs is recreated on firstboot. Signed-off-by: Russell Senior <russell@personaltelco.net> --- target/linux/qoriq/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)