 Debian 维护者指南在积累足够的打包经验后,您可以再尝试打包这样的程序。 3这一条不是绝对的要求,但请注意:遇上不友好的上游可能需要大家为此投入大量精力,而一个友好的上游则能协助解决程 序的各类问题。 8 Chapter 3 工具的配置 build-essential 软件包必须在构建环境内预先安装。 devscripts 软件包应当安装在维护者的工作环境中。 Although this is not necessarily an absolute provides a clean room (chroot) build environment. It offers this efficiently with the help of schroot using the bind-mount feature of the modern Linux kernel. Since it is the same build environment as the Debian’s #### # PACKAGE BUILD RELATED (source-only-upload as default) ############################################################################## # -d $distribution = 'unstable'; # -A $build_arch_all = 1; #0 码力 | 142 页 | 1.11 MB | 1 年前3 Debian 维护者指南在积累足够的打包经验后,您可以再尝试打包这样的程序。 3这一条不是绝对的要求,但请注意:遇上不友好的上游可能需要大家为此投入大量精力,而一个友好的上游则能协助解决程 序的各类问题。 8 Chapter 3 工具的配置 build-essential 软件包必须在构建环境内预先安装。 devscripts 软件包应当安装在维护者的工作环境中。 Although this is not necessarily an absolute provides a clean room (chroot) build environment. It offers this efficiently with the help of schroot using the bind-mount feature of the modern Linux kernel. Since it is the same build environment as the Debian’s #### # PACKAGE BUILD RELATED (source-only-upload as default) ############################################################################## # -d $distribution = 'unstable'; # -A $build_arch_all = 1; #0 码力 | 142 页 | 1.11 MB | 1 年前3
 Debian 新维护者手册赖软件包)。然而,你还是应该用 aptitude show package 或者 dpkg -s package 来检查一下。(译注:apt show PACKAGE 亦可) 在你的开发环境中,最重要的软件包是 build-essential。一旦你尝试安装该包,它将 拉取其他基本构建环境所需 的工具链。 对于某些类型的软件,以上的就是所需要的全部。然而还有一组工具虽不是对于所有软件包都必须,却可能对你有用, 或者你的软件包制作过程中会需要它们: pbuilder - 此软件包提供了创建和维护 chroot 环境的工具。在它的 chroot 环境中编译 Debian 软件包可以检查编译 依赖是否合适,并避免 FTBFS (Fails To Build From Source,源代码编译失败) 的 Bug。(参看 pbuilder(8) 和 pdebuild(1)) • perl - Perl 是现今类 Unix 系统中使用最普遍的解释型脚本语言,它常被称作 重要的文档,你应该在读本文档时同时参看它们: • Autotools Tutorial (http://www.lrde.epita.fr/~adl/autotools.html) 为 the GNU Build System known as the GNU Autotools 中 最重要的工具——Autoconf、Automake、Libtool 和 gettext 提供了很好的文档。 • gnu-standards0 码力 | 63 页 | 493.28 KB | 1 年前3 Debian 新维护者手册赖软件包)。然而,你还是应该用 aptitude show package 或者 dpkg -s package 来检查一下。(译注:apt show PACKAGE 亦可) 在你的开发环境中,最重要的软件包是 build-essential。一旦你尝试安装该包,它将 拉取其他基本构建环境所需 的工具链。 对于某些类型的软件,以上的就是所需要的全部。然而还有一组工具虽不是对于所有软件包都必须,却可能对你有用, 或者你的软件包制作过程中会需要它们: pbuilder - 此软件包提供了创建和维护 chroot 环境的工具。在它的 chroot 环境中编译 Debian 软件包可以检查编译 依赖是否合适,并避免 FTBFS (Fails To Build From Source,源代码编译失败) 的 Bug。(参看 pbuilder(8) 和 pdebuild(1)) • perl - Perl 是现今类 Unix 系统中使用最普遍的解释型脚本语言,它常被称作 重要的文档,你应该在读本文档时同时参看它们: • Autotools Tutorial (http://www.lrde.epita.fr/~adl/autotools.html) 为 the GNU Build System known as the GNU Autotools 中 最重要的工具——Autoconf、Automake、Libtool 和 gettext 提供了很好的文档。 • gnu-standards0 码力 | 63 页 | 493.28 KB | 1 年前3
 Debian 新維護人員手冊賴軟體包)。然而,你還是應該用 aptitude show package 或者 dpkg -s package 來檢查一下。(譯註:apt show PACKAGE 亦可) 在你的開發環境中,需要安裝的最重要的軟件包是 build-essential。一旦你嘗試安裝該包,它將 拉來其他基本構 建環境所需的基本軟件。 對於某些類型的軟件,以上的就是所需要的全部。然而還有一組軟件包雖不是對於所有軟件包都必須,卻可能對你有 用或被你的軟件包所需要: pbuilder - 此軟體包提供了建立和維護 chroot 環境的工具。在它的 chroot 環境中編譯 Debian 軟體包可以檢查編譯 依賴是否合適,並避免 FTBFS (Fails To Build From Source,原始碼編譯失敗) 的 Bug。(參看 pbuilder(8) 和 pdebuild(1)) • perl - Perl 是現今類 Unix 系統中使用最普遍的解釋型腳本語言,它常被稱作 重要的文檔,你應該在讀本文檔時同時參看它們: • Autotools Tutorial (http://www.lrde.epita.fr/~adl/autotools.html) 為 the GNU Build System known as the GNU Autotools 中 最重要的工具——Autoconf、Automake、Libtool 和 gettext 提供了很好的文件。 • gnu-standards0 码力 | 63 页 | 512.12 KB | 1 年前3 Debian 新維護人員手冊賴軟體包)。然而,你還是應該用 aptitude show package 或者 dpkg -s package 來檢查一下。(譯註:apt show PACKAGE 亦可) 在你的開發環境中,需要安裝的最重要的軟件包是 build-essential。一旦你嘗試安裝該包,它將 拉來其他基本構 建環境所需的基本軟件。 對於某些類型的軟件,以上的就是所需要的全部。然而還有一組軟件包雖不是對於所有軟件包都必須,卻可能對你有 用或被你的軟件包所需要: pbuilder - 此軟體包提供了建立和維護 chroot 環境的工具。在它的 chroot 環境中編譯 Debian 軟體包可以檢查編譯 依賴是否合適,並避免 FTBFS (Fails To Build From Source,原始碼編譯失敗) 的 Bug。(參看 pbuilder(8) 和 pdebuild(1)) • perl - Perl 是現今類 Unix 系統中使用最普遍的解釋型腳本語言,它常被稱作 重要的文檔,你應該在讀本文檔時同時參看它們: • Autotools Tutorial (http://www.lrde.epita.fr/~adl/autotools.html) 為 the GNU Build System known as the GNU Autotools 中 最重要的工具——Autoconf、Automake、Libtool 和 gettext 提供了很好的文件。 • gnu-standards0 码力 | 63 页 | 512.12 KB | 1 年前3
 Linux Lab v1.3 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 50 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 51 5.8 Save the images and configs0 码力 | 66 页 | 1.12 MB | 1 年前3 Linux Lab v1.3 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 50 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 51 5.8 Save the images and configs0 码力 | 66 页 | 1.12 MB | 1 年前3
 Linux Lab v1.2 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 50 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 51 5.8 Save the images and configs0 码力 | 67 页 | 1.13 MB | 1 年前3 Linux Lab v1.2 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 50 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 51 5.8 Save the images and configs0 码力 | 67 页 | 1.13 MB | 1 年前3
 Linux Lab v1.1 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 48 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 49 5.7.1 Speed up compiling and save0 码力 | 65 页 | 1.12 MB | 1 年前3 Linux Lab v1.1 Manual. . . 23 3.1.4 Configure boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Build in one command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2 欢迎加入 Linux Lab 用户 3 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 4.10.1 Host build and Run . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.10.2 Cross build and Run . . . . . . . . . . . . . . . . . . . . . . . . 6 Choose the versions of kernel, rootfs and U-Boot . . . . . . . . . . . . . . 48 5.7 Configure, build and boot them . . . . . . . . . . . . . . . . . . . . . . . . 49 5.7.1 Speed up compiling and save0 码力 | 65 页 | 1.12 MB | 1 年前3
 Debian 套件打包教學指南 version 0.29開發必需之工具 ▶ 一台能以 root 權限存取的 Debian (or Ubuntu) 系統 ▶ 一些必需套件: ▶ build-essential: 和 Debian 套件有相依性並假定已安裝在開發者的機 器上 (不需在套件中的 control 欄位特別指定 Build-Depends: ) ▶ 相依 dpkg-dev 套件, 其中包含基本 Debian 特定工具, 以便於製 作 Debian 上傳(dput) Debian 套件打包教學指南 9 / 90 範例: 重包 dash 套件 1 安裝重包 dash 套件所需的必要套件以及 devscripts 套件 sudo apt-get build-dep dash (需要將deb-src 設定到 /etc/apt/sources.list) sudo apt-get install --no-install-recommends devscripts Kothe Debian 套件打包教學指南 version 0.29開發必需之工具 ▶ 一台能以 root 權限存取的 Debian (or Ubuntu) 系統 ▶ 一些必需套件: ▶ build-essential: 和 Debian 套件有相依性並假定已安裝在開發者的機 器上 (不需在套件中的 control 欄位特別指定 Build-Depends: ) ▶ 相依 dpkg-dev 套件, 其中包含基本 Debian 特定工具, 以便於製 作 Debian 上傳(dput) Debian 套件打包教學指南 9 / 90 範例: 重包 dash 套件 1 安裝重包 dash 套件所需的必要套件以及 devscripts 套件 sudo apt-get build-dep dash (需要將deb-src 設定到 /etc/apt/sources.list) sudo apt-get install --no-install-recommends devscripts Kothe- Homepage: http :// www.gnu.org/software/wget/ Standards -Version: 3.8.4 Build -Depends: debhelper (>> 5.0.0) , gettext , texinfo , libssl -dev (>= 0.9.8) , dpatch , info2man Checksums 0 码力 | 90 页 | 691.02 KB | 1 年前3
 Debian打包教程 version 0.29打包教程 7 / 90 你需要准备的工具 ▶ Debian(或 Ubuntu)操作系统(且你有 root 权限) ▶ 某些软件包: ▶ build-essential: 包含了在开发机上使用的依赖包(不需要逐一把这些 依赖包在你软件包的命令控制参数 Build-Depends: 里列出来) ▶ 也包含了 dpkg-dev 的依赖包。dpkg-dev 里有基本的 Debian 专 用打包工具。 安装 (debi) 上传 (dput) Debian 打包教程 9 / 90 范例:重构 dash 1 安装构建 dash 需要的软件包,以及 devscripts sudo apt-get build-dep dash (需要在 /etc/apt/sources.list) 文件里加上 deb-src 的相关地址内容 sudo apt-get install --no-install-recommends Noel Kothe Debian打包教程 version 0.29打包教程 7 / 90 你需要准备的工具 ▶ Debian(或 Ubuntu)操作系统(且你有 root 权限) ▶ 某些软件包: ▶ build-essential: 包含了在开发机上使用的依赖包(不需要逐一把这些 依赖包在你软件包的命令控制参数 Build-Depends: 里列出来) ▶ 也包含了 dpkg-dev 的依赖包。dpkg-dev 里有基本的 Debian 专 用打包工具。 安装 (debi) 上传 (dput) Debian 打包教程 9 / 90 范例:重构 dash 1 安装构建 dash 需要的软件包,以及 devscripts sudo apt-get build-dep dash (需要在 /etc/apt/sources.list) 文件里加上 deb-src 的相关地址内容 sudo apt-get install --no-install-recommends Noel Kothe- Homepage: http://www.gnu.org/software/wget/ Standards -Version: 3.8.4 Build-Depends: debhelper (>> 5.0.0), gettext , texinfo , libssl-dev (>= 0.9.8), dpatch, info2man Checksums 0 码力 | 90 页 | 663.35 KB | 1 年前3
 Linux Lab v1.3 中文手册Mint 支持,并首次支持免关机切换系统 • v0.9 rc1 – 升级 LLVM 工具链到 13 – 升级内核版本到 v5.13 – 新增 cleanall,可同时清理 source 和 build 1.6.10 v1.0 @ 2022.06.16 v1.0 升级部分内核到 v5.17,修复内存编译功能,优化 make 自动补全功能,完善并新增 examples,更新文档。 • v1.0 0,内核升级到 v5.17 16 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 – 升级 arm/vexpress-a9 的默认内核到 v5.17 – 规范 build 输出路径,跟 boards/ 下的路径保持一致,方便更快找到目标文件 – 完善 docker 文件系统运行和导出支持 – 新增 Python 实验案例 – 完善 Assembly 和 Shell tools/docker/env 3 System: Ubuntu 16.04.6 LTS 4 Linux: 4.4.0-176-generic 5 Docker: Docker version 18.09.4, build d14af54 2.2 安装 Docker 运行 Linux Lab 需要基于 Docker,所以请务必先安装 Docker: • Linux, Mac OSX, Windows 10 使用0 码力 | 73 页 | 1.54 MB | 1 年前3 Linux Lab v1.3 中文手册Mint 支持,并首次支持免关机切换系统 • v0.9 rc1 – 升级 LLVM 工具链到 13 – 升级内核版本到 v5.13 – 新增 cleanall,可同时清理 source 和 build 1.6.10 v1.0 @ 2022.06.16 v1.0 升级部分内核到 v5.17,修复内存编译功能,优化 make 自动补全功能,完善并新增 examples,更新文档。 • v1.0 0,内核升级到 v5.17 16 欢迎加入 Linux Lab 用户组,联系微信:tinylab,公众号:泰晓科技 – 升级 arm/vexpress-a9 的默认内核到 v5.17 – 规范 build 输出路径,跟 boards/ 下的路径保持一致,方便更快找到目标文件 – 完善 docker 文件系统运行和导出支持 – 新增 Python 实验案例 – 完善 Assembly 和 Shell tools/docker/env 3 System: Ubuntu 16.04.6 LTS 4 Linux: 4.4.0-176-generic 5 Docker: Docker version 18.09.4, build d14af54 2.2 安装 Docker 运行 Linux Lab 需要基于 Docker,所以请务必先安装 Docker: • Linux, Mac OSX, Windows 10 使用0 码力 | 73 页 | 1.54 MB | 1 年前3
 Linux Lab v1.2 中文手册Mint 支持,并首次支持免关机切换系统 • v0.9 rc1 – 升级 LLVM 工具链到 13 – 升级内核版本到 v5.13 – 新增 cleanall,可同时清理 source 和 build 1.6.10 v1.0 @ 2022.06.16 v1.0 升级部分内核到 v5.17,修复内存编译功能,优化 make 自动补全功能,完善并新增 examples,更新文档。 • v1.0 • v1.0 rc2 – 升级 RISC-V 支持,QEMU 升级到 v6.0.0,内核升级到 v5.17 – 升级 arm/vexpress-a9 的默认内核到 v5.17 – 规范 build 输出路径,跟 boards/ 下的路径保持一致,方便更快找到目标文件 – 完善 docker 文件系统运行和导出支持 – 新增 Python 实验案例 – 完善 Assembly 和 Shell tools/docker/env 3 System: Ubuntu 16.04.6 LTS 4 Linux: 4.4.0-176-generic 5 Docker: Docker version 18.09.4, build d14af54 2.2 安装 Docker 运行 Linux Lab 需要基于 Docker,所以请务必先安装 Docker: • Linux, Mac OSX, Windows 10 使用0 码力 | 73 页 | 1.53 MB | 1 年前3 Linux Lab v1.2 中文手册Mint 支持,并首次支持免关机切换系统 • v0.9 rc1 – 升级 LLVM 工具链到 13 – 升级内核版本到 v5.13 – 新增 cleanall,可同时清理 source 和 build 1.6.10 v1.0 @ 2022.06.16 v1.0 升级部分内核到 v5.17,修复内存编译功能,优化 make 自动补全功能,完善并新增 examples,更新文档。 • v1.0 • v1.0 rc2 – 升级 RISC-V 支持,QEMU 升级到 v6.0.0,内核升级到 v5.17 – 升级 arm/vexpress-a9 的默认内核到 v5.17 – 规范 build 输出路径,跟 boards/ 下的路径保持一致,方便更快找到目标文件 – 完善 docker 文件系统运行和导出支持 – 新增 Python 实验案例 – 完善 Assembly 和 Shell tools/docker/env 3 System: Ubuntu 16.04.6 LTS 4 Linux: 4.4.0-176-generic 5 Docker: Docker version 18.09.4, build d14af54 2.2 安装 Docker 运行 Linux Lab 需要基于 Docker,所以请务必先安装 Docker: • Linux, Mac OSX, Windows 10 使用0 码力 | 73 页 | 1.53 MB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8














