<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in mkdebian</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>657f96cb - kbuild: deb-pkg: Add libdw-dev:native to Build-Depends-Arch</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#657f96cb</link>
        <description>kbuild: deb-pkg: Add libdw-dev:native to Build-Depends-ArchThe dwarf.h header, which is included byscripts/gendwarfksyms/gendwarfksyms.h, resides within the libdw-devpackage.This portion of the code is compiled under the condition thatCONFIG_GENDWARFKSYMS is enabled.Consequently, add libdw-dev to Build-Depends-Arch to preventunforeseen compilation failures.Fix follow possible error:  In file included from scripts/gendwarfksyms/symbols.c:6:  scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: &apos;dwarf.h&apos; file not found      6 | #include &lt;dwarf.h&gt;        |          ^~~~~~~~~Fixes: f28568841ae0 (&quot;tools: Add gendwarfksyms&quot;)Reviewed-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Signed-off-by: WangYuli &lt;wangyuli@uniontech.com&gt;Reviewed-by: Nicolas Schier &lt;n.schier@avm.de&gt;Tested-by: Nicolas Schier &lt;n.schier@avm.de&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 22 Apr 2025 10:54:01 +0000</pubDate>
        <dc:creator>WangYuli &lt;wangyuli@uniontech.com&gt;</dc:creator>
    </item>
<item>
        <title>1c3107ec - kbuild: deb-pkg: remove &quot;version&quot; variable in mkdebian</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#1c3107ec</link>
        <description>kbuild: deb-pkg: remove &quot;version&quot; variable in mkdebian${version} and ${KERNELRELEASE} are the same.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 11 Mar 2025 19:02:24 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>7e752910 - kbuild: deb-pkg: fix versioning for -rc releases</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#7e752910</link>
        <description>kbuild: deb-pkg: fix versioning for -rc releasesThe version number with -rc should be considered older than the finalrelease.For example, 6.14-rc1 should be older than 6.14, but to handle thiscorrectly (just like Debian kernel), &quot;-rc&quot; must be replace with &quot;~rc&quot;.  $ dpkg --compare-versions 6.14-rc1 lt 6.14  $ echo $?  1  $ dpkg --compare-versions 6.14~rc1 lt 6.14  $ echo $?  0Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 11 Mar 2025 19:01:33 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>1195306e - kbuild: deb-pkg: add debarch for ARCH=loongarch64</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#1195306e</link>
        <description>kbuild: deb-pkg: add debarch for ARCH=loongarch64Fix follow warning when &apos;make ARCH=loongarch64 bindeb-pkg&apos;:  ** ** **  WARNING  ** ** **  Your architecture doesn&apos;t have its equivalent  Debian userspace architecture defined!  Falling back to the current host architecture (loong64).  Please add support for loongarch64 to ./scripts/package/mkdebian ...Reported-by: Shiwei Liu &lt;liushiwei@anheng.com.cn&gt;Signed-off-by: WangYuli &lt;wangyuli@uniontech.com&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Mon, 24 Feb 2025 18:26:19 +0000</pubDate>
        <dc:creator>WangYuli &lt;wangyuli@uniontech.com&gt;</dc:creator>
    </item>
<item>
        <title>82a1978d - kheaders: use &apos;tar&apos; instead of &apos;cpio&apos; for copying files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#82a1978d</link>
        <description>kheaders: use &apos;tar&apos; instead of &apos;cpio&apos; for copying filesThe &apos;cpio&apos; command is used solely for copying header files to thetemporary directory. However, there is no strong reason to use &apos;cpio&apos;for this purpose. For example, scripts/package/install-extmod-builduses the &apos;tar&apos; command to copy files.This commit replaces the use of &apos;cpio&apos; with &apos;tar&apos; because &apos;tar&apos; isalready used in this script to generate kheaders_data.tar.xz anyway.Performance-wide, there is no significant difference between &apos;cpio&apos;and &apos;tar&apos;.[Before]  $ rm -fr kheaders; mkdir kheaders  $ time sh -c &apos;  for f in include arch/x86/include  do          find &quot;$f&quot; -name &quot;*.h&quot;  done | cpio --quiet -pd kheaders  &apos;  real    0m0.148s  user    0m0.021s  sys     0m0.140s[After]  $ rm -fr kheaders; mkdir kheaders  $ time sh -c &apos;  for f in include arch/x86/include  do          find &quot;$f&quot; -name &quot;*.h&quot;  done | tar -c -f - -T - | tar -xf - -C kheaders  &apos;  real    0m0.098s  user    0m0.024s  sys     0m0.131sRevert commit 69ef0920bdd3 (&quot;Docs: Add cpio requirement to changes.rst&quot;)because &apos;cpio&apos; is not used anywhere else during the kernel build.Please note that the built-in initramfs is created by the in-tree tool,usr/gen_init_cpio, so it does not rely on the external &apos;cpio&apos; commandat all.Remove &apos;cpio&apos; from the package build dependencies as well.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Wed, 18 Dec 2024 10:37:08 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>a34e92d2 - kbuild: deb-pkg: add debarch for ARCH=um</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#a34e92d2</link>
        <description>kbuild: deb-pkg: add debarch for ARCH=um&apos;make ARCH=um bindeb-pkg&apos; shows the following warning.  $ make ARCH=um bindeb-pkg     [snip]    GEN     debian  ** ** **  WARNING  ** ** **  Your architecture doesn&apos;t have its equivalent  Debian userspace architecture defined!  Falling back to the current host architecture (amd64).  Please add support for um to ./scripts/package/mkdebian ...This commit hard-codes i386/amd64 because UML is only supported for x86.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 03 Dec 2024 11:14:45 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>6b1fabce - kbuild: deb-pkg: add python3:native to build dependency</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#6b1fabce</link>
        <description>kbuild: deb-pkg: add python3:native to build dependencyPython3 is necessary for running some scripts such asdrivers/gpu/drm/msm/registers/gen_header.pyBoth scripts/package/kernel.spec and scripts/package/PKGBUILD alreadylist Python as the build dependency.Do likewise for scripts/package/mkdebian.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Sat, 23 Nov 2024 08:26:45 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2ad7126c - kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profile</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#2ad7126c</link>
        <description>kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profileThe Debian kernel supports the pkg.linux.nokerneldbg build profile.The debug package tends to become huge, and you may not want to buildit even when CONFIG_DEBUG_INFO is enabled.This commit introduces a similar profile for the upstream kernel.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 22 Oct 2024 18:16:59 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>e2c31822 - kbuild: deb-pkg: add pkg.linux-upstream.nokernelheaders build profile</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#e2c31822</link>
        <description>kbuild: deb-pkg: add pkg.linux-upstream.nokernelheaders build profileSince commit f1d87664b82a (&quot;kbuild: cross-compile linux-headers packagewhen possible&quot;), &apos;make bindeb-pkg&apos; may attempt to cross-compile thelinux-headers package, but it fails under certain circumstances.For example, when CONFIG_MODULE_SIG_FORMAT is enabled on Debian, thefollowing command fails:  $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bindeb-pkg      [ snip ]  Rebuilding host programs with aarch64-linux-gnu-gcc...    HOSTCC  debian/linux-headers-6.12.0-rc4/usr/src/linux-headers-6.12.0-rc4/scripts/kallsyms    HOSTCC  debian/linux-headers-6.12.0-rc4/usr/src/linux-headers-6.12.0-rc4/scripts/sorttable    HOSTCC  debian/linux-headers-6.12.0-rc4/usr/src/linux-headers-6.12.0-rc4/scripts/asn1_compiler    HOSTCC  debian/linux-headers-6.12.0-rc4/usr/src/linux-headers-6.12.0-rc4/scripts/sign-file  In file included from /usr/include/openssl/opensslv.h:109,                   from debian/linux-headers-6.12.0-rc4/usr/src/linux-headers-6.12.0-rc4/scripts/sign-file.c:25:  /usr/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory     14 | #include &lt;openssl/opensslconf.h&gt;        |          ^~~~~~~~~~~~~~~~~~~~~~~  compilation terminated.This commit adds a new profile, pkg.linux-upstream.nokernelheaders, toguard the linux-headers package.There are two options to fix the above issue.Option 1: Set the pkg.linux-upstream.nokernelheaders build profile  $ DEB_BUILD_PROFILES=pkg.linux-upstream.nokernelheaders \    make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bindeb-pkgThis skips the building of the linux-headers package.Option 2: Install the necessary build dependenciesIf you want to cross-compile the linux-headers package, you need toinstall additional packages.For example, on Debian, the packages necessary for cross-compiling itto arm64 can be installed with the following commands:  # dpkg --add-architecture arm64  # apt update  # apt install gcc-aarch64-linux-gnu libssl-dev:arm64Fixes: f1d87664b82a (&quot;kbuild: cross-compile linux-headers package when possible&quot;)Reported-by: Ron Economos &lt;re@w6rz.net&gt;Closes: https://lore.kernel.org/all/b3d4f49e-7ddb-29ba-0967-689232329b53@w6rz.net/Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Tested-by: Ron Economos &lt;re@w6rz.net&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 22 Oct 2024 18:16:58 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d67015ee - kbuild: deb-pkg: use default string when variable is unset or null</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#d67015ee</link>
        <description>kbuild: deb-pkg: use default string when variable is unset or null${DEBFULLNAME-${user}} falls back to ${user} when DEBFULLNAME is unset.It is more reasonable to do so when DEBFULLNAME is unset or null.Otherwise, the command:  $ DEBFULLNAME= make deb-pkgwill leave the name field blank.The same applies to KBUILD_BUILD_USER and KBUILD_BUILD_HOST.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Thu, 04 Jul 2024 15:23:32 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c0414419 - kbuild: package: add -e and -u options to some shell scripts</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#c0414419</link>
        <description>kbuild: package: add -e and -u options to some shell scriptsSet -e to make these scripts fail on the first error.Set -u because these scripts are invoked by Makefile, and do not workproperly without necessary variables defined.I tweaked mkdebian to cope with optional environment variables.Remove the explicit &quot;test -n ...&quot; from install-extmod-build.Both options are described in POSIX. [1][1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.htmlSigned-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 02 Jul 2024 18:02:42 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c5209080 - kbuild: deb-pkg: remove support for &quot;name &lt;email&gt;&quot; form for DEBEMAIL</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#c5209080</link>
        <description>kbuild: deb-pkg: remove support for &quot;name &lt;email&gt;&quot; form for DEBEMAILCommit d5940c60e057 (&quot;kbuild: deb-pkg improve maintainer addressgeneration&quot;) supported the &quot;name &lt;email&gt;&quot; form for DEBEMAIL, withbehavior slightly different from devscripts.In Kbuild, if DEBEMAIL is given in the form &quot;name &lt;email&gt;&quot;, it is usedas-is, and DEBFULLNAME is ignored.In contrast, debchange takes the name from DEBFULLNAME (or NAME) if set,as described in &apos;man debchange&apos;:  If this variable has the form &quot;name &lt;email&gt;&quot;, then the maintainer name  will also be taken from here if neither DEBFULLNAME nor NAME is set.This commit removes support for the &quot;name &lt;email&gt; form for DEBEMAIL,as the current behavior is already different from debchange, and theDebian manual suggests setting the email address and name separately inDEBEMAIL and DEBFULLNAME. [1]If there are any complaints about this removal, we can re-add it,with better alignment with the debchange implementation. [2][1]: https://www.debian.org/doc/manuals/debmake-doc/ch03.en.html#email-setup[2]: https://salsa.debian.org/debian/devscripts/-/blob/v2.23.7/scripts/debchange.pl#L802Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 02 Jul 2024 18:02:41 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>62767619 - kbuild: deb-pkg: remove support for EMAIL environment variable</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#62767619</link>
        <description>kbuild: deb-pkg: remove support for EMAIL environment variableCommit edec611db047 (&quot;kbuild, deb-pkg: improve maintaineridentification&quot;) added the EMAIL and NAME environment variables.Commit d5940c60e057 (&quot;kbuild: deb-pkg improve maintainer addressgeneration&quot;) removed support for NAME, but kept support for EMAIL.The EMAIL and NAME environment variables are supported by some tools(see &apos;man debchange&apos;), but not by all.We should support both of them, or neither of them. We should not stophalfway.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 02 Jul 2024 18:02:40 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ae4c4cee - kbuild: move init/build-version to scripts/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#ae4c4cee</link>
        <description>kbuild: move init/build-version to scripts/At first, I thought this script would be needed only in init/Makefile.However, commit 5db8face97f8 (&quot;kbuild: Restore .version auto-incrementbehaviour for Debian packages&quot;) and commit 1789fc912541 (&quot;kbuild:rpm-pkg: invoke the kernel build from rpmbuild for binrpm-pkg&quot;)revealed that it was actually needed for scripts/package/mk* as well.After all, scripts/ is a better place for it.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 11 Jun 2024 18:24:47 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>5e73758b - kbuild: deb-pkg: use more debhelper commands in builddeb</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#5e73758b</link>
        <description>kbuild: deb-pkg: use more debhelper commands in builddebCommit 36862e14e316 (&quot;kbuild: deb-pkg: use dh_listpackages to knowenabled packages&quot;) started to require the debhelper tool suite.Use more dh_* commands in create_package(): - dh_installdocs to install copyright - dh_installchangelogs to install changelog - dh_compress to compress changelog - dh_fixperms to replace the raw chmod command - dh_gencontrol to replace the raw dpkg-gencontrol command - dh_md5sums to record the md5sum of included files - dh_builddeb to replace the raw dpkg-deb commandSet DEB_RULES_REQUIRES_ROOT to &apos;no&apos; in case debian/rules is executeddirectly.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;n.schier@avm.de&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 26 Dec 2023 13:52:43 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b88365b6 - kbuild: deb-pkg: hard-code Build-Depends</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#b88365b6</link>
        <description>kbuild: deb-pkg: hard-code Build-DependsThe condition to require libelf-dev:native is stale because objtool isnow enabled by CONFIG_OBJTOOL instead of CONFIG_UNWINDER_ORC. Not onlyobjtool but also resolve_btfids requires libelf-dev:native; therefore,CONFIG_DEBUG_INFO_BTF should be checked as well.Similarly, CONFIG_SYSTEM_TRUSTED_KEYRING is not the only case thatrequires libssl-dev:native.Perhaps, the following code would provide better coverage, but it ishard to maintain (and may still be imperfect).  if is_enabled CONFIG_OBJTOOL ||     is_enabled CONFIG_DEBUG_INFO_BTF; then          build_depends=&quot;${build_depends}, libelf-dev:native&quot;  fi  if is_enabled CONFIG_SYSTEM_TRUSTED_KEYRING ||     is_enabled CONFIG_SYSTEM_REVOCATION_LIST ||     is_enabled CONFIG_MODULE_SIG_FORMAT; then          build_depends=&quot;${build_depends}, libssl-dev:native&quot;  fiLet&apos;s hard-code the build dependency.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;n.schier@avm.de&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 19 Dec 2023 18:19:56 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9c65810c - kbuild: deb-pkg: split debian/copyright from the mkdebian script</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#9c65810c</link>
        <description>kbuild: deb-pkg: split debian/copyright from the mkdebian scriptCopy debian/copyright instead of generating it by the &apos;cat&apos; command.I also updated &apos;2018&apos; to &apos;2023&apos; while I was here.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;n.schier@avm.de&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 19 Dec 2023 15:40:49 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>0df8e970 - scripts: clean up IA-64 code</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#0df8e970</link>
        <description>scripts: clean up IA-64 codeA little more janitorial work after commit cf8e8658100d (&quot;arch: RemoveItanium (IA-64) architecture&quot;).Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Fri, 24 Nov 2023 14:09:08 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d9287ea8 - kbuild: deb-pkg: split debian/rules</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#d9287ea8</link>
        <description>kbuild: deb-pkg: split debian/rulesdebian/rules is generated by shell, but the escape sequence (\$) isunreadable.debian/rules embeds only two variables (ARCH and KERNELRELEASE).Split them out to debian/rules.vars, and check-in the rest of Makefilecode to scripts/package/debian/rules.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 01 Aug 2023 12:19:26 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>4b970e43 - kbuild: deb-pkg: use Debian compliant shebang for debian/rules</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/package/mkdebian#4b970e43</link>
        <description>kbuild: deb-pkg: use Debian compliant shebang for debian/rulesDebian Policy &quot;4.9. Main building script: debian/rules&quot; requires&quot;debian/rules must start with the line #!/usr/bin/make -f&quot;. [1]Currently, Kbuild does not follow this policy.When Kbuild generates debian/rules, &quot;#!$(command -v $MAKE) -f&quot; isexpanded by shell. The resuling string may not be &quot;#!/usr/bin/make -f&quot;.There was a reason to opt out the Debian policy.If you run &apos;/path/to/my/custom/make deb-pkg&apos;, debian/rules must also beinvoked by the same Make program. If #!/usr/bin/make were hard-coded indebian/rules, the sub-make would be executed by a possibly differentMake version.This is problematic due to the MAKEFLAGS incompatibility, especially thejob server flag. Old Make versions used --jobserver-fds to propagate jobserver file descriptors, but Make &gt;= 4.2 uses --jobserver-auth. The flagdisagreement between the parent/child Makes would result in a processfork explosion.However, having a non-standard path in the shebang causes another issue;the generated source package is not portable as such a path does notexist in other build environments.This commit solves those conflicting demands.Hard-code &apos;#!/usr/bin/make -f&apos; in debian/rules to create a portable andDebian-compliant source package.Pass &apos;--rules-file=$(MAKE) -f debian/rules&apos; when dpkg-buildpackage isinvoked from Makefile so that debian/rules is executed by the same Makeprogram as used to start Kbuild.[1] https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rulesSigned-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/scripts/package/mkdebian</description>
        <pubDate>Tue, 01 Aug 2023 12:19:25 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
