From nobody Fri May 17 16:06:13 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=pass; 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=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1706720331; cv=none; d=zohomail.com; s=zohoarc; b=bfO9mRHq2OfUq15PTi8lbqslPlu5mLH7w7VvVLwdK8QlkGjOEPiQnmzxHhz19tTbRRbKBj3n8gtLet/BkLOh1h1RtLmwcxbkJ3vXhZgcbJXqDi3qLnAfOvzCiBByNkEHlFHx8E3uwbe4IbpILPyzhBzO8bBtfubU/c9TuaRpkS0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706720331; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=h59ApctZWLjlHgNeWfCSIG9Kk1HlpU6022xu/02Cxk4=; b=jE6nhM3cjRSMKAmoBFhFI0BJnK3QiSuPqJmqCXwDPS100d+dGBgkOcFijjqxM5szwcDvLGRGzul4LQJE+6ofWIPrdn4/IOtpwtfOIhfXY2sy7x0upzf9lbeKTmfvfrmsTyNkt9SFGVDi4jeahLCxwum6NwkZg2SoGeG0g8k5g+0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1706720331264776.5536871812735; Wed, 31 Jan 2024 08:58:51 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.674115.1048838 (Exim 4.92) (envelope-from ) id 1rVDuy-00021O-9x; Wed, 31 Jan 2024 16:58:32 +0000 Received: by outflank-mailman (output) from mailman id 674115.1048838; Wed, 31 Jan 2024 16:58:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rVDuy-00021H-7M; Wed, 31 Jan 2024 16:58:32 +0000 Received: by outflank-mailman (input) for mailman id 674115; Wed, 31 Jan 2024 16:58:31 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rVDux-000216-2W for xen-devel@lists.xenproject.org; Wed, 31 Jan 2024 16:58:31 +0000 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [2a00:1450:4864:20::32b]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f57b8f5b-c059-11ee-8a43-1f161083a0e0; Wed, 31 Jan 2024 17:58:30 +0100 (CET) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40f02b8d176so314895e9.1 for ; Wed, 31 Jan 2024 08:58:30 -0800 (PST) Received: from localhost ([213.195.118.74]) by smtp.gmail.com with ESMTPSA id iv18-20020a05600c549200b0040e76b60235sm2104561wmb.8.2024.01.31.08.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:58:28 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f57b8f5b-c059-11ee-8a43-1f161083a0e0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1706720309; x=1707325109; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h59ApctZWLjlHgNeWfCSIG9Kk1HlpU6022xu/02Cxk4=; b=H+WuLflp/1z962xnHU7znkTwAhQH5QgEfO9xDL5QKcWMsayYvcv/+gBA+YUOROHctH 6NvMk2v1CgSwiL1GbrvsfgRNZ3iiI+hDu5UWcvIXU6tmsTrQS0uQkLZQuUMeRT2P0iAF ekEYaV069lmQPYctpotaDmZTT3ZkX3cDAX5aE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706720309; x=1707325109; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h59ApctZWLjlHgNeWfCSIG9Kk1HlpU6022xu/02Cxk4=; b=pSryypvspTKdPE2bhzJJT8T+uFFqPQOKGzsHTy17VXN/yQoh7c1dzumKGNYhPLRThm 6mmVWf5tReVyxizFmqie0IewQ6XvkS1xc2+KHuS9yFw/ApnflY8Or9OBnMiualcLFY9Z Bb5rH1ResyuXe9+JekcrbUo4itVxXckZYedvjLPSopQMfiHNmuMrho2QejqbJjvp9nvj Szbi8RMapiWiZvoI9/iRFKA9/gvy6bEmBlGAm9JFm8rOVS/Z5iJ5GGD7BFgweXIwKTw5 cI1ElD/WpF+a3Q+brsHICTJDLGj0MOxDugSZpE0i128wsQAXnvqlxZCfN6Nnmck57Qj2 eI/Q== X-Gm-Message-State: AOJu0YzMsgT+r3vfz4G98hVLBtit+YI+tK034VUKsVkvJYVoW4LBvPrE V/jz0GKd5gV9Q3YyLkk6zyRYLWmlJmadaBL1e1jWEUb2NZ+Z1CGdU25xBoyRlJwq+SokhOjD32w q X-Google-Smtp-Source: AGHT+IE480PcOCdh1BzJbJghbkYESbUbt1zKksyuLQUoJlgJ5YlAjDKuYOp9yrv6pS2+wbxZujfOUw== X-Received: by 2002:a05:600c:3b0d:b0:40e:f6f5:9398 with SMTP id m13-20020a05600c3b0d00b0040ef6f59398mr1751840wms.24.1706720309120; Wed, 31 Jan 2024 08:58:29 -0800 (PST) From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Konrad Rzeszutek Wilk , Ross Lagerwall , Roger Pau Monne Subject: [PATCH] livepatch-build-tools: allow patch file name sizes up to 128 characters Date: Wed, 31 Jan 2024 17:58:16 +0100 Message-ID: <20240131165816.58762-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1706720332275100001 XenServer uses quite long Xen version names, and encode such in the livepat= ch filename, and it's currently running out of space in the file name. Bump max filename size to 128, so it also matches the patch name length in = the hypervisor interface. Signed-off-by: Roger Pau Monn=C3=A9 --- livepatch-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livepatch-build b/livepatch-build index cdb852cc7fea..78dd2d801048 100755 --- a/livepatch-build +++ b/livepatch-build @@ -72,8 +72,8 @@ function make_patch_name() fi =20 # Only allow alphanumerics and '_' and '-' in the patch name. Everyth= ing - # else is replaced with '-'. Truncate to 48 chars. - echo ${PATCHNAME//[^a-zA-Z0-9_-]/-} |cut -c 1-48 + # else is replaced with '-'. Truncate to 128 chars. + echo ${PATCHNAME//[^a-zA-Z0-9_-]/-} |cut -c -128 } =20 # Do a full normal build --=20 2.43.0