From patchwork Wed Apr 4 23:28:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Angelo Daros de Luca X-Patchwork-Id: 895208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CIvwdjq6"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kpiwdviF"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Ghx66lhmz9ry1 for ; Thu, 5 Apr 2018 09:28:55 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mPtui7L6UOwgzVD+fUWQEarKvOKLem72wKwHdg9Ztak=; b=CIvwdjq6BLVrf+fbq4fpmpE0g3 eqORaOXJ39/TAho6xqxUxIOUzyS359ZPFOA1t++PzE889lY3AGbPoCk8Rs0YucVuQPhmIcLRMVI7X zd7nJmb1DVJZz4hk4RvsbWzMw+0bmM9gRfojmFjTBwMjsew5q9DUiLHWSBJbyHLyVOnevmheDBSKE qgBythm4tDHmBYrk1Cnn9Av9WFk/c5UGF5qu8Mn8no9XgtrA0vtjRtADOfdK9TVKgiCqMUyXC7RD6 oDuDYpuUyoOrdsb46QMg5+etg/k9Lxr0fvgAtHaZbep6DbUjXfYHEAUx7W7PipdUXKEDo3Z+/v5eY Sxz4eJHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3rpi-000147-IP; Wed, 04 Apr 2018 23:28:50 +0000 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3rpf-00011f-2R for lede-dev@lists.infradead.org; Wed, 04 Apr 2018 23:28:48 +0000 Received: by mail-qt0-x22e.google.com with SMTP id s48so25040632qtb.10 for ; Wed, 04 Apr 2018 16:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=RHOVT/yFQ1Sd+OIX5P/tb5xuiF2jHiJGak62Gw2DAWc=; b=kpiwdviFIMKCh7bZr9ScDSbz4ySd6uBYi3P2TdE16DuFMBfJAo3iMgg7MbosU7rng1 0YZMheC9VPKMLF+4h4kSdA4e6yzG6l186DCqAdfXqEKySttSH/cwoUHEDRuI8InEcNm6 HFRSQQB1WA73beBK/aFw4mfkASAbYO0dRmKjQ6Nr9WVF6uQ7LEjxAMfJ2/TiaUeee3Lz vggePsP6/Cr+/WHyNqKjJy6sfrwohmikOU+4UwFpWkHonFLnrW3f8++c9Nz+bqxMyCna okXA6cSTX20Kr567jt8tUdKbk5F5vkwg7GiPRYI3Q2llA3J3gmCKxfu8BobZUSWc44ug 4i8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=RHOVT/yFQ1Sd+OIX5P/tb5xuiF2jHiJGak62Gw2DAWc=; b=m/+SCHM3Kl41TlbMBUYXpBdKLlXMmR6k9flbCeVZGMU2w/VLwfYBAOvKBNusBJxH8+ 20pU8NQ95JutxG5QmYDqvVyUQfEUlKZ2juQlbld/lmJmkcfOHI7B1O91vNZZFjZ7rte6 YOvkBoOuMghqbsWlW0QumwuTfVAsViiQDNw6LEIihvBFaiai/eL33hTQY/zqFvqYqwwf 8g5sWnzSiNUmIDpTWjNFnqQElH2kYKxfosgwgDkxVuJKhFzfCSbAP+ICvJ2ZkXXrCydL xPMM7hVIyUstTrxh0DctiIVtttwdfHyqYnuKFOg+sxIRkx3kpg5mm0W6wOM9DYuLxq1n Fx/Q== X-Gm-Message-State: ALQs6tBQVIheMow0xH4g+XnlegN4drAG+KLfuqfCpYwBXQbjo0YLobjr HIxmRh82giNrfBTJ3ExJP/0= X-Google-Smtp-Source: AIpwx4/i0pP6+DZX84JJY/Um6TsUkgT5zS8yCxhnAfB0u6CJMo9ToahU+4b3WktWUebtT/2BXLOTQw== X-Received: by 10.200.35.197 with SMTP id r5mr29640003qtr.337.1522884514893; Wed, 04 Apr 2018 16:28:34 -0700 (PDT) Received: from tresc043793.redetresc.tre-sc.gov.br ([201.55.123.206]) by smtp.gmail.com with ESMTPSA id z7sm5149132qke.19.2018.04.04.16.28.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 16:28:34 -0700 (PDT) From: Luiz Angelo Daros de Luca To: openwrt-devel@lists.openwrt.org, lede-dev@lists.infradead.org Date: Wed, 4 Apr 2018 20:28:22 -0300 Message-Id: <20180404232826.10815-1-luizluca@gmail.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20171117004110.23143-1-luizluca@gmail.com> References: <20171117004110.23143-1-luizluca@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180404_162847_135668_953708D1 X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c0d:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (luizluca[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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 Subject: [LEDE-DEV] [PATCH v2 0/4] [RFC] base-files: add new backup options X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org My previous patch on Nov2017 (http://lists.infradead.org/pipermail/lede-dev/2017-November/009892.html) generated some discussion because it depends on the presence of /rom to become effetive. So I opted to turn it into a new sysupgrade option (-u). Besides that, I added some more stuff to sysupgrade that I use in my systems. Each patch in this series is almost indepenly of each other. Except for the first one, they add new sysupgrade options: -u) equivalent to the previous patch. I think that, if adopted as default in future, it will make upgrades cleaner. For now, it is optional. -o) this option tries to save everything that was changed. It includes all new files, conffiles (works with -u), sysupgrade.conf and keep.d. This is what I normally use in my backups as it saves both data and confs, keeping them as clean as possible. -k) This adds a new file that I use to quickly reinstall all extra packages. A future improvement would be to use it in a service that installs install those packages as soon as network is up (similar to uci-default scripts) For now, it is still pending to bump package release. --- Luiz Angelo