From patchwork Thu Jan 9 04:49:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 182768 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp3153802ile; Sun, 12 Jan 2020 08:42:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxEgPcbD5sXK0DM5DXmhZLHVMpEsc6eICRW3wj7AvvCBcVAow9OsaI8k+9r7IaGgbwAa9mU X-Received: by 2002:a63:cc4a:: with SMTP id q10mr16391629pgi.241.1578846456390; Sun, 12 Jan 2020 08:27:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578846456; cv=none; d=google.com; s=arc-20160816; b=Ct+KB0LE1Fcvh2TvRc7vNJLPa21YW4abZxW1mvJw7pRH6rrlQP2xVJwLZwwC8bN6zS vHfxI6xgI+EKUJ74/UyXhI4sysVpYrZWXyGRZ80ujshcr1qvEgqti00WgRkl1mOt5awA xG+pnUOmvjty7AlZ9uhzXNs/AT+EtLQSRQ/QDELBzOhRwSICrWkq6uZ7dxAoA+6qoDs5 f1pD/hYisrmmlKsNnaeEPqg+QwBcJAzcu8njQ3mFbQj02+JXRq+/WSNgHU8oY0xmSY3N 1BUsuxGVpC8QvPplJ+c8d+SdI4CfyOKci4Uv11G06GHc5toUPBVkwTaOTlMPzEhbMZOZ /frw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=X386og+s3CJSqADb+vfkSnT0IQH3/sDTIt4oW32q2is=; b=NlUFl48sqlKCUeDLw+LGJiX4i3q0jf6dbt4BgcOPNUJFmMkKGQ9lm0bwvO1ssrfq2U ftUTCi7QHlPpAlRgK2MxU5Aoe1svYLFzYzVIsDtX4xF+q/+jzPdh+KH11AEJrHHjU4Hw pdOMrO/VcfdjZR/y3B7rOe35sXS5+ODt0BR5MsFvU3qR4EZYD/i6EHjhEkdvR0sv3MiO nGT3z10j/3qst2Fykc/nrSGNyPFeJ+nmnWszWcX6Af8GPSAZRqENCbV64bHmWwAlu3G4 f9uDZ78oc7ODxz52/XcFfA5DbiDWZHSKMRJZUBq171q4InXd9c7KvA804ONuguaGyguW p77A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pvNKUVoY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k185si9365227pga.502.2020.01.12.08.27.36 for ; Sun, 12 Jan 2020 08:27:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pvNKUVoY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 69A237FEAC; Thu, 9 Jan 2020 04:50:42 +0000 (UTC) X-Original-To: openembedded-core@openembedded.org Delivered-To: openembedded-core@openembedded.org Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mail.openembedded.org (Postfix) with ESMTP id DC43B7FE95 for ; Thu, 9 Jan 2020 04:50:13 +0000 (UTC) Received: by mail-pg1-f169.google.com with SMTP id q127so2602246pga.4 for ; Wed, 08 Jan 2020 20:50:15 -0800 (PST) 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=mRk2a3oQtX4sJK+5lOOe462/0JYSVf3VN3quqGx26WE=; b=pvNKUVoYUm33yLw2ICJUWsPRZaRBRjGEwJhhxxNs10chQCZtLG890lH8kl4JzkDm5K WcSIXi+xn7H6ssAcASbuOypSs+2YrETmWVL4Qb9mN45GyguFRW/zG+2qz8CnAjIvdO7M lxTaRn96gpArPkm0hipaotREJzJ1fUJLWC64eJnHHdnoAbvv3htBjLVreNpb05SghJnk HdtwLVA3pVVahEmKooUPfWa0dtfh19JLrAQY1O1M1D0IJw1mHQrt8Q1N0hnp2X/KXdqx TonOnhOnWH+H0UN1Ra1Up0fI6XK1d3nHmaloEHSqqkVPoVmvA1arXW8nS9FdMM47SSuT 6FNA== 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=mRk2a3oQtX4sJK+5lOOe462/0JYSVf3VN3quqGx26WE=; b=lbLTV/SV3RX01OCiI1ZwIO93jqXW73hW0uOQA23QeLSLy4weF69Czo1oqth7mZUkuK MLwKhignyHlvRROItVack9nvZVzfAyGoP24Ds9MkRyl7jv07MIV9OiwwyS8hDU37/LJt ijqIfTfpAaoZVtUvOAEqWgdIpJmPPLQ1FUyNKMM4tMk82DZaajUdu5HUbn6rZwp2AZUR xBfmOEgxFXDA9D3GImEw9dsG7ucc3GrVKI4+I6oNPPHxVFySUL5yoFhR+fsRYfzRh74I qe0HQxr8Z3offL5KUootAjm1Z/KDmoesTYyZyFVioBQTUkgNlkprKTrlv6iCh6AVHOhe PaZg== X-Gm-Message-State: APjAAAXj1ivD6TyVNhv6wOtbsQmulcTD/f9A2UmcIiyTUVrD56Q+zhJX LAqgfCG7MU+gcCk4v+eNLbZ1YnTA X-Received: by 2002:aa7:9087:: with SMTP id i7mr9147379pfa.235.1578545414956; Wed, 08 Jan 2020 20:50:14 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:304b:2b9c:bcb7:ff1a]) by smtp.gmail.com with ESMTPSA id l9sm5018427pgh.34.2020.01.08.20.50.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 20:50:14 -0800 (PST) From: Armin Kuster To: openembedded-core@openembedded.org Date: Wed, 8 Jan 2020 20:49:40 -0800 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [zeus 21/28] podfix: only alter normal files X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 23d38b2ad6f7a39e5c1ffd092322942474935c33) Signed-off-by: Armin Kuster --- meta/classes/podfix.bbclass | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/podfix.bbclass b/meta/classes/podfix.bbclass index 54fff6a0a2..cc8210a27e 100644 --- a/meta/classes/podfix.bbclass +++ b/meta/classes/podfix.bbclass @@ -16,6 +16,9 @@ python pod_strip_version() { for root, dirs, files in os.walk(d.expand("${D}${mandir}")): for filename in files: filename = os.path.join(root, filename) + if not os.path.isfile(filename): + continue + with opener(filename, "rb") as manfile: manpage = manfile.read() m = bad_re.search(manpage)