From nobody Thu May 2 14:43:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1596997422; cv=none; d=zohomail.com; s=zohoarc; b=DA7b9y6JWlX7nAf24Coj5m+TYw4dCrabH8NFnuTztBBPBXFGmZz9zifPOryPIFZVhI+S/HPdd+iXealmoiWZ9nLos6OiFLz2+OKcsrkagpW3jazPjWGJP55v4ctmvyFgvgq+90Q7JEPsnS3DnhyswWqkeNZs+4SF/55yeVFMdCU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596997422; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=UdJzhXUqKipeiiWy8QBA1srJWv+WaepWTdw1sLK832U=; b=LvSF6awgnhEw332D6BcyYv3uttxzJ0y4hsrgy5JF8w0Ensy1VsmXevx+f4fB7nR3U5DHY3NmYP+DRCv7jUrU696Yj7ygIhD6RU3kwqd8PhuzpZcw66Oqz5O/SiNLFlEnYiYVk32r/yqQZy6F0wIrDDlJ4akJpxEybaiGAhtBmlY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1596997422061181.38448509474813; Sun, 9 Aug 2020 11:23:42 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k4pyI-0002ig-SU; Sun, 09 Aug 2020 18:23:02 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k4pyI-0002ib-7b for xen-devel@lists.xenproject.org; Sun, 09 Aug 2020 18:23:02 +0000 Received: from mail-qk1-x744.google.com (unknown [2607:f8b0:4864:20::744]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5d882930-4d2b-4426-bd3e-6e20fc95902b; Sun, 09 Aug 2020 18:23:01 +0000 (UTC) Received: by mail-qk1-x744.google.com with SMTP id p25so6478539qkp.2 for ; Sun, 09 Aug 2020 11:23:01 -0700 (PDT) Received: from TestCloud1.zatium.us (pool-96-230-225-98.bstnma.fios.verizon.net. [96.230.225.98]) by smtp.googlemail.com with ESMTPSA id l13sm13188231qth.77.2020.08.09.11.22.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2020 11:23:00 -0700 (PDT) X-Inumbo-ID: 5d882930-4d2b-4426-bd3e-6e20fc95902b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=UdJzhXUqKipeiiWy8QBA1srJWv+WaepWTdw1sLK832U=; b=eXls3dRI6vK/fxRZ62BINomD3eew55PTT21kF6VO97Fkby1EYA168vkHhrN5ekkAWW nwwIzdxHDnuEMIXmhgJy/MW8JYAhoGQDXJczCqUSHLjqV+INzCTGkMF1tOq+r38F2ASs eR3xYnF4XrBvm/xXOpKNZ8ba83QHAVsslqfWPg+RiENrbVDgVCIqGtk52hIGEpWGYMqi PQV5ZBlK4Y2+D+vOqiC8mN1C3+U/sR+nkVfxKUZFp3FvRpHtDz45H+myzw52UeNscb4t kQdIxLfDybp3E0uBiuoPbv3pWdUBXypL6h3pod9YAH5K12cs419OeFJlY4DGL9b5g8qc 9YIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UdJzhXUqKipeiiWy8QBA1srJWv+WaepWTdw1sLK832U=; b=LQTcveFIdZIOzeLXBQ7AuFe3JrkV4br6FjO7gosTDwsxcJN9AtHnyidd9lQu7B/9nK 1KbIpwjxalM7rhLKzyuvCzVc1fVD0h1oE0GMohUj9hVz5crdCJNVvSRaE1vlWOGRR+aV gNIdoXoY+h0MrhNed5gZT2XHxWtSy9dN8H5G5fKzYw7tWidmqu3h8ab475HOAKdmlB3L 0b9K7Q64xLoAIkzMqvUpmtGXgNKEnOcHSLGb7ZePK6qS48L10tDKe5zUgiCooZJnCaPW 1cJ6251QjXkrOll+GBufgSsTXoDVwjuEbDA8alEu+hNOJJCfJFGJdDFIcN0bSyfNfkCF vYEg== X-Gm-Message-State: AOAM532RUEUvuhnJ1/7OB8DgGhR0r6aVkapzxpYPzoc0idbsdcDhuuIp iVi8/Mo35IEUD/nino6pdk6sePPtM30= X-Google-Smtp-Source: ABdhPJzwc0CCC8V/nQ1uPQ0Ixsaef2NvhgThpZmjAQ9hFaTWRWm35zPu2a2pQIO/hLu0OUrcfPbCLQ== X-Received: by 2002:a37:a851:: with SMTP id r78mr22478118qke.419.1596997380598; Sun, 09 Aug 2020 11:23:00 -0700 (PDT) From: Don Slutz X-Google-Original-From: Don Slutz X-Mailer: git-send-email 1.8.3.1 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson , Don Slutz , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Don Slutz Also prevent warning: directory /boot: remove failed Before: [root@TestCloud1 xen]# rpm -hiv dist/xen*rpm Preparing... ################################# [10= 0%] file /boot from install of xen-4.15-unstable.x86_64 conflicts with = file from package filesystem-3.2-25.el7.x86_64 file /usr/bin from install of xen-4.15-unstable.x86_64 conflicts wi= th file from package filesystem-3.2-25.el7.x86_64 file /usr/lib from install of xen-4.15-unstable.x86_64 conflicts wi= th file from package filesystem-3.2-25.el7.x86_64 file /usr/lib64 from install of xen-4.15-unstable.x86_64 conflicts = with file from package filesystem-3.2-25.el7.x86_64 file /usr/sbin from install of xen-4.15-unstable.x86_64 conflicts w= ith file from package filesystem-3.2-25.el7.x86_64 [root@TestCloud1 xen]# rpm -e xen warning: directory /boot: remove failed: Device or resource busy After: [root@TestCloud1 xen]# rpm -hiv dist/xen*rpm Preparing... ################################# [10= 0%] Updating / installing... 1:xen-4.15-unstable ################################# [10= 0%] [root@TestCloud1 xen]# rpm -e xen [root@TestCloud1 xen]# Signed-off-by: Don Slutz Acked-by: Wei Liu --- tools/misc/mkrpm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/misc/mkrpm b/tools/misc/mkrpm index ae40e1a..68819b2 100644 --- a/tools/misc/mkrpm +++ b/tools/misc/mkrpm @@ -62,7 +62,8 @@ rm -rf \$RPM_BUILD_ROOT =20 %files %defattr(-,root,root,-) -/* +/*/*/* +/boot/* =20 %post EOF --=20 1.8.3.1