Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218539/?format=api
{ "id": 2218539, "url": "http://patchwork.ozlabs.org/api/patches/2218539/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260401114412.9480-2-emil.renner.berthing@canonical.com/", "project": { "id": 15, "url": "http://patchwork.ozlabs.org/api/projects/15/?format=api", "name": "Ubuntu Kernel", "link_name": "ubuntu-kernel", "list_id": "kernel-team.lists.ubuntu.com", "list_email": "kernel-team@lists.ubuntu.com", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401114412.9480-2-emil.renner.berthing@canonical.com>", "list_archive_url": null, "date": "2026-04-01T11:44:11", "name": "[R,1/2] UBUNTU: [Packaging] templates: Use consistent indentation", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fa3015c10fc917f500a3a08e7e374471c56e0308", "submitter": { "id": 84316, "url": "http://patchwork.ozlabs.org/api/people/84316/?format=api", "name": "Emil Renner Berthing", "email": "emil.renner.berthing@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260401114412.9480-2-emil.renner.berthing@canonical.com/mbox/", "series": [ { "id": 498321, "url": "http://patchwork.ozlabs.org/api/series/498321/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=498321", "date": "2026-04-01T11:44:10", "name": "Run scripts in /usr/share/kernel/*.d too", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498321/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218539/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218539/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<kernel-team-bounces@lists.ubuntu.com>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=pCjCMjae;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fm3755Nd0z1yHD\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 22:44:33 +1100 (AEDT)", "from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1w7tzl-0005Hd-72; Wed, 01 Apr 2026 11:44:25 +0000", "from smtp-relay-internal-1.internal ([10.131.114.114]\n helo=smtp-relay-internal-1.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <emil.renner.berthing@canonical.com>)\n id 1w7tzj-0005HF-OV\n for kernel-team@lists.ubuntu.com; Wed, 01 Apr 2026 11:44:23 +0000", "from mail-ej1-f70.google.com (mail-ej1-f70.google.com\n [209.85.218.70])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 85B993F2C9\n for <kernel-team@lists.ubuntu.com>; Wed, 1 Apr 2026 11:44:23 +0000 (UTC)", "by mail-ej1-f70.google.com with SMTP id\n a640c23a62f3a-b97f04b44b9so535731366b.0\n for <kernel-team@lists.ubuntu.com>; Wed, 01 Apr 2026 04:44:23 -0700 (PDT)", "from stitch ([2a00:fbe4:1ab:c:3c5e:af13:d8dc:d7e7])\n by smtp.gmail.com with ESMTPSA id\n 4fb4d7f45d1cf-66b75ba9395sm4501891a12.14.2026.04.01.04.44.22\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 01 Apr 2026 04:44:22 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1775043863;\n bh=KON1Xvouie/+Q0+9m+2u31igwW6GB+hs2GMo3JV9RqY=;\n h=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=pCjCMjaeP+/WsD4xM8qkNWH0akGCfd6Hyd/wEShoHgh3VJWmD/i7zskPieW+3K69r\n p1a63tKyJwsfnF6BMKH7stnAi1MuanbKXAfzVMexQ6Rv8EQRa1dkygIgdHEuwZfvbe\n abnwkI2ASfchckYdTxe86algFVCnu1OvC7taG16Rg71QPBrLGhwv6ByFEBw7IO4DSn\n Jy/Hjxcspsl10KOIu/r59twZQwdg8MC1+bSl7AngtBxACN9wrSczPVYhZVLe1lycC0\n xsznv7JkhAo1P7euG9IY9eqBZN495lrgxDh5ZF/Gi+kona8LZMkEBIbS0o5IebsSt9\n NXvXfLBLpfd9d4sg/zoYBTedvYIK7ojL/GNYsmV8oFbrHfxXGJ4NKMAVVAZ5l+48jb\n Kwmz+ms/stffiYTmgqQmVU+lqsNHE31a7Iuk5j5BJQWxTD6f9iJCmVn0n6vy6t1z0J\n itUi0XuBjJQiZRkVDRjYnBrCGVeDmg6x+gPobKUSh8IvVszMQnq1dZEdPgTw0d534p\n bq/c38pnWIHzDtJ2UrHeWuQFdn4LEIAbk///C6IC5g2ohEl3Fgakctyc8kdzIwFXjv\n 9tLLEj34xZ4uyOkkmIe+el7omvhlAj3AEWqOnkuL5imKMbBrmf5O+LuUzaTGp8DxcZ\n 4PX9g0Rh3Xp0kTa8T9tVE9hQ=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775043863; x=1775648663;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=KON1Xvouie/+Q0+9m+2u31igwW6GB+hs2GMo3JV9RqY=;\n b=PDuzIfbVMMRfzDWddDyIjS2S5PS9Q77Z4imjNIQKf31A89JbHsLo8cAx/6oemwccTy\n wgAh8SN+1G01M5Yujj1vY6uc5sizUyOKhhMiYI4PUyPgQ68b55PEhYqfZW/pvtbcr4V4\n RJFBPzOI08PTVz2+T1PNG2+I2XxQDbW7kxeAq88HObn+XRDOnR1D7PeNZkZtKmg68st1\n +xpaTkMKT1odwjBU5mKcaNmKxh/5lRb6nuB03KpEp6/0hkuvx1bTWYmd0xaEqI5YYNf9\n xyfgEQILLAbEpRURVdrrhaotmtecrzYMdQTNBrrk9BVNTdhuqo2cjYZVEwGNWsEYVUmP\n dYsg==", "X-Gm-Message-State": "AOJu0YxyCoB0QBXnpPyWybcdmYm2Vy9egtvWHgIPH9c1KUW3dD2h0hYX\n hyzUcGg03CscVStmP3dFAHLIBOk+pKmXXd5UF91+L7AXOxf6O9+Yuur6B13yUKsR9qpMLswnbqr\n 3JDNOLl6akpZwWB1nHL9BphoyrKxqqyZaoe9nhpmdi07cB9qVPFUuiUy2C/bCKyLrRFZMF7lw5X\n 2/nDAMzn5ya6NO9g==", "X-Gm-Gg": "ATEYQzxPUEW+awN2EGpAFnR6bvxkW2mYeG0eL7jcUHDG0ktWKFPFpSUxBvXi60YOybZ\n +nOzLMwkSkGQwikbNcixtQhcLpAXTnwnGxQn7BNKPeAFtYUMl3ULCbDFmU7pLJjSxr0ujC4h7NO\n dDapa9kTgxs+rql0yVbdH8DKElsa9C7L/UcnDV4/1CsLTs0Z5Q+vmBbNkIfiagTWMChFQbejYh/\n ojsOVBSXuBQ9Bm9gSE1v+xq9tDTCcr/sGOZYSaV5D7hV71oZkr5qyv9ecBjV8YLaPrX/qc9KG8a\n LcDc5Ca52313yiqSW54Ekv9tFFwFVe3fOlroDw+oKz757E5EyNIZRQfxTSHnl84lwGOAZIYp2j8\n 6yYtSdlQvLHQSL+05LOjIOIst/inBeDYZcw==", "X-Received": [ "by 2002:a05:6402:2706:b0:66b:eb1d:b22a with SMTP id\n 4fb4d7f45d1cf-66db0cf8c93mr1974549a12.26.1775043862937;\n Wed, 01 Apr 2026 04:44:22 -0700 (PDT)", "by 2002:a05:6402:2706:b0:66b:eb1d:b22a with SMTP id\n 4fb4d7f45d1cf-66db0cf8c93mr1974535a12.26.1775043862422;\n Wed, 01 Apr 2026 04:44:22 -0700 (PDT)" ], "From": "Emil Renner Berthing <emil.renner.berthing@canonical.com>", "To": "kernel-team@lists.ubuntu.com", "Subject": "[R][PATCH 1/2] UBUNTU: [Packaging] templates: Use consistent\n indentation", "Date": "Wed, 1 Apr 2026 13:44:11 +0200", "Message-ID": "<20260401114412.9480-2-emil.renner.berthing@canonical.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260401114412.9480-1-emil.renner.berthing@canonical.com>", "References": "<20260401114412.9480-1-emil.renner.berthing@canonical.com>", "MIME-Version": "1.0", "X-BeenThere": "kernel-team@lists.ubuntu.com", "X-Mailman-Version": "2.1.20", "Precedence": "list", "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>", "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>", "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>", "List-Post": "<mailto:kernel-team@lists.ubuntu.com>", "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>", "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "kernel-team-bounces@lists.ubuntu.com", "Sender": "\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>" }, "content": "BugLink: https://bugs.launchpad.net/bugs/2147005\n\nThe files already mostly use 4 spaces for indentation, but\na few places a tab is inserted instead of 8 spaces.\nLet's always use 4 spaces.\n\nSigned-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>\n---\n debian/templates/extra.postinst.in | 2 +-\n debian/templates/extra.postrm.in | 2 +-\n debian/templates/headers.postinst.in | 2 +-\n debian/templates/image.postinst.in | 6 +++---\n debian/templates/image.postrm.in | 10 +++++-----\n debian/templates/image.preinst.in | 2 +-\n debian/templates/image.prerm.in | 2 +-\n 7 files changed, 13 insertions(+), 13 deletions(-)", "diff": "diff --git a/debian/templates/extra.postinst.in b/debian/templates/extra.postinst.in\nindex c4a556c5a6b9..f9704d122605 100755\n--- a/debian/templates/extra.postinst.in\n+++ b/debian/templates/extra.postinst.in\n@@ -12,7 +12,7 @@ depmod -a -F /boot/System.map-$version $version || true\n if [ -d /etc/kernel/postinst.d ]; then\n cat - >/usr/lib/linux/triggers/$version <<EOF\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n-\t --arg=\"$image_path\" /etc/kernel/postinst.d\n+ --arg=\"$image_path\" /etc/kernel/postinst.d\n EOF\n dpkg-trigger --no-await linux-update-$version\n fi\ndiff --git a/debian/templates/extra.postrm.in b/debian/templates/extra.postrm.in\nindex 2554884c33ef..70e14b31b265 100755\n--- a/debian/templates/extra.postrm.in\n+++ b/debian/templates/extra.postrm.in\n@@ -23,7 +23,7 @@ depmod -a -F /boot/System.map-$version $version 2>/dev/null || true\n # # this is an installation event.\n # cat - >/usr/lib/linux/triggers/$version <<EOF\n #DEB_MAINT_PARAMS=\"configure\" run-parts --report --exit-on-error --arg=$version \\\n-#\t--arg=\"$image_path\" /etc/kernel/postinst.d\n+# --arg=\"$image_path\" /etc/kernel/postinst.d\n #EOF\n # dpkg-trigger --no-await linux-update-$version\n #fi\ndiff --git a/debian/templates/headers.postinst.in b/debian/templates/headers.postinst.in\nindex 2884c6f4f557..0ec6c5c0785f 100755\n--- a/debian/templates/headers.postinst.in\n+++ b/debian/templates/headers.postinst.in\n@@ -9,7 +9,7 @@ fi\n \n if [ -d /etc/kernel/header_postinst.d ]; then\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n-\t\t/etc/kernel/header_postinst.d\n+ /etc/kernel/header_postinst.d\n fi\n \n exit 0\ndiff --git a/debian/templates/image.postinst.in b/debian/templates/image.postinst.in\nindex cdce5a6f8ac7..27eb95efad6d 100755\n--- a/debian/templates/image.postinst.in\n+++ b/debian/templates/image.postinst.in\n@@ -30,8 +30,8 @@ image_path=/boot/@image-stem@-$version\n if [ \"$1\" = triggered ]; then\n trigger=/usr/lib/linux/triggers/$version\n if [ -f \"$trigger\" ]; then\n-\tsh \"$trigger\"\n-\trm -f \"$trigger\"\n+ sh \"$trigger\"\n+ rm -f \"$trigger\"\n fi\n exit 0\n fi\n@@ -54,7 +54,7 @@ if [ -d /etc/kernel/postinst.d ]; then\n mkdir -p /usr/lib/linux/triggers\n cat - >/usr/lib/linux/triggers/$version <<EOF\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n- --arg=$image_path /etc/kernel/postinst.d\n+ --arg=$image_path /etc/kernel/postinst.d\n EOF\n dpkg-trigger --no-await linux-update-$version\n fi\ndiff --git a/debian/templates/image.postrm.in b/debian/templates/image.postrm.in\nindex fb1b457b4beb..940702df14ed 100755\n--- a/debian/templates/image.postrm.in\n+++ b/debian/templates/image.postrm.in\n@@ -16,11 +16,11 @@ if [ -d /etc/kernel/postrm.d ]; then\n # then become lost. Therefore we clear any pending trigger and apply\n # postrm directly.\n if [ -f /usr/lib/linux/triggers/$version ]; then\n-\techo \"$0 ... removing pending trigger\"\n-\trm -f /usr/lib/linux/triggers/$version\n+ echo \"$0 ... removing pending trigger\"\n+ rm -f /usr/lib/linux/triggers/$version\n fi\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n-\t --arg=$image_path /etc/kernel/postrm.d\n+ --arg=$image_path /etc/kernel/postrm.d\n fi\n \n if [ \"$1\" = purge ]; then\n@@ -31,8 +31,8 @@ if [ \"$1\" = purge ]; then\n modules.alias modules.ccwmap modules.inputmap \\\n modules.symbols modules.ofmap \\\n modules.seriomap modules.\\*.bin \\\n-\t\t modules.softdep modules.weakdep modules.devname; do\n-\teval rm -f /usr/lib/modules/$version/$extra_file\n+ modules.softdep modules.weakdep modules.devname; do\n+ eval rm -f /usr/lib/modules/$version/$extra_file\n done\n rmdir /usr/lib/modules/$version || true\n fi\ndiff --git a/debian/templates/image.preinst.in b/debian/templates/image.preinst.in\nindex 3b7a47b1f16a..8785fd16f0c1 100755\n--- a/debian/templates/image.preinst.in\n+++ b/debian/templates/image.preinst.in\n@@ -16,7 +16,7 @@ fi\n \n if [ -d /etc/kernel/preinst.d ]; then\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n-\t --arg=$image_path /etc/kernel/preinst.d\n+ --arg=$image_path /etc/kernel/preinst.d\n fi\n \n exit 0\ndiff --git a/debian/templates/image.prerm.in b/debian/templates/image.prerm.in\nindex 347104d6e182..539038cfa82d 100755\n--- a/debian/templates/image.prerm.in\n+++ b/debian/templates/image.prerm.in\n@@ -12,7 +12,7 @@ linux-check-removal $version\n \n if [ -d /etc/kernel/prerm.d ]; then\n DEB_MAINT_PARAMS=\"$*\" run-parts --report --exit-on-error --arg=$version \\\n-\t --arg=$image_path /etc/kernel/prerm.d\n+ --arg=$image_path /etc/kernel/prerm.d\n fi\n \n exit 0\n", "prefixes": [ "R", "1/2" ] }