[英]How to get source of openjdk-8-jdk with patches applied?
I have run apt-get source openjdk-8-jdk=8u275-b01-0ubuntu1~18.04
.我已经运行
apt-get source openjdk-8-jdk=8u275-b01-0ubuntu1~18.04
。
which gathered .dsc
, .orig.tar.gz
file and .diff.gz
files, which I deleted afterwards.它收集了
.dsc
、 .orig.tar.gz
文件和.diff.gz
文件,之后我将其删除。 Next to these files is a folder openjdk-8-8u275-b01
which contains a debian/patches/
folder.这些文件旁边是一个文件夹
openjdk-8-8u275-b01
,其中包含一个debian/patches/
文件夹。 Inside the patches folder is a list .diff
and .patch
files, however no order
file.补丁文件夹内是一个列表
.diff
和.patch
文件,但没有order
文件。
I need to get the source of openjdk-8-jdk and that specific version with the patches applied.我需要获取 openjdk-8-jdk 的源代码以及应用了补丁的特定版本。
Running quilt push -a
returns an error No series file found.
运行
quilt push -a
返回错误No series file found.
Running apt-get source openjdk-8-jdk=8u275-b01-0ubuntu1~18.04
again throws an error as that version is no longer available.再次运行
apt-get source openjdk-8-jdk=8u275-b01-0ubuntu1~18.04
会引发错误,因为该版本不再可用。 The files can however still be downloaded from https://launchpad.net/ubuntu/+source/openjdk-8/8u275-b01-0ubuntu1~18.04但是仍然可以从https://launchpad.net/ubuntu/+source/openjdk-8/8u275-b01-0ubuntu1~18.04下载文件
How do I get the patched source?如何获得补丁源?
Refer to spec: https://www.debian.org/doc/manuals/maint-guide/modify.en.html参考规格: https://www.debian.org/doc/manuals/maint-guide/modify.en.html
Basically you create shell alias dquilt
with special env var that follows convention of Debian project, the most important is:基本上,您使用遵循 Debian 项目约定的特殊环境变量创建 shell 别名
dquilt
,最重要的是:
QUILT_PATCHES="debian/patches"
Then you can quilt push -a
.然后你可以
quilt push -a
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.