From patchwork Fri Apr 10 11:33:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1269022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48zG9C4FTjz9sSj; Fri, 10 Apr 2020 21:33:19 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jMruO-0004VA-55; Fri, 10 Apr 2020 11:33:16 +0000 Received: from mail-pg1-f196.google.com ([209.85.215.196]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jMruM-0004U7-1O for kernel-team@lists.ubuntu.com; Fri, 10 Apr 2020 11:33:14 +0000 Received: by mail-pg1-f196.google.com with SMTP id k191so869515pgc.13 for ; Fri, 10 Apr 2020 04:33:13 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=H89zgGhyooiw8TklhDfKzByR2z4F47z6b1UIo8uLFq8=; b=QPzNI5kcBFvKgeLmyHrT+oa4RbyhGzjH7dMQMDyrlxbYmxXTsE0FTJHpZG0fowGO7J dcqjiz6U32Zgr0U1z5uVw8+kvRyxJDCldvUIq3qRPBEPCNRPXjimssjC07j9jdRVkfyM 0hFP+z0uoNAAMt6NUZvW/6v6A4ekVgSee0ED40yS3CUyVK0VkIO8QdtdPKCqqyEr3Paz Vh8P6rZ60g86GnukZ1GoV3nXE8eJXvEZZzKqJ9w2l8eXmoAb2YX4eoBUFCjDFae3tIQf PZ1UkpAhkI+P803Zk7D5tvfVsirjA2pHANGYSGJt65GblfA/pjtr8xCGu4yd/1Gzj1cr Rp9A== X-Gm-Message-State: AGi0PuZi9JmdvMvgeB53M8lypX4wsS2SExWpwDG+yvFv6koCfJB7nBOr Q22zLV4EteNFRuGBOWbUEjIkaBXKqh8= X-Google-Smtp-Source: APiQypIb+WxpuzL9a6pGUglWWG8HO/v4hXOWxhsxe/Q4z26W1CBtgeg5MLR75YxFN+ViqgvhGb4leg== X-Received: by 2002:a63:790e:: with SMTP id u14mr3973319pgc.434.1586518392223; Fri, 10 Apr 2020 04:33:12 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id g9sm1422837pgc.46.2020.04.10.04.33.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2020 04:33:11 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][B/E/F][PATCH 1/1] UBUNTU: [Debian] install apport package hook Date: Fri, 10 Apr 2020 19:33:07 +0800 Message-Id: <20200410113307.1243654-2-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200410113307.1243654-1-vicamo.yang@canonical.com> References: <20200410113307.1243654-1-vicamo.yang@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1872059 linux-firmware doesn't install any package hooks for apport, so it will only carry some default items leaving hardware list, kernel messages unattached. This change creates a symbolic link from /usr/share/apport/package-hooks/source_linux-firmware.py to source_linux.py. Signed-off-by: You-Sheng Yang --- debian/linux-firmware.links | 1 + debian/rules | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 debian/linux-firmware.links diff --git a/debian/linux-firmware.links b/debian/linux-firmware.links new file mode 100644 index 00000000..3b7e1ea1 --- /dev/null +++ b/debian/linux-firmware.links @@ -0,0 +1 @@ +usr/share/apport/package-hooks/source_linux.py usr/share/apport/package-hooks/source_linux-firmware.py diff --git a/debian/rules b/debian/rules index 0cba4bd7..7b0355aa 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,8 @@ install-indep: build-indep dh_testroot dh_prep -i + dh_link + install -d $(firm_dir) make install DESTDIR=$(dest_dir)