[software development] Debian发行版定制工具
Tofloor
poster avatar
Zeta.
deepin
2024-05-02 20:30
Author

Debian发行版定制工具

项目介绍

Debian发行版定制工具是一款由中宏软件技术开源社区开发的图形用户界面(GUI)软件。它为用户提供了一个友好的界面,使用户能够便捷地通过live-build构建自定义的Debian发行版。无需深入了解复杂的命令行操作,用户只需简单的点击和配置,即可生成符合需求的Debian发行版。

使用方法

1. 安装软件

首先,请从中宏软件技术开源社区的gitee:https://gitee.com/zhonghongsoftware/lb-runner GItee:lb-runner下载并安装Debian发行版定制工具。

2. 打开软件

双击桌面上的图标或在应用程序菜单中找到Debian发行版定制工具,并打开它。

3. 安装live-build

在软件界面中,找到并点击菜单栏上的“安装live-build”选项。
软件将自动下载并安装live-build及其依赖项,为后续的发行版构建做好准备。

截图_org.deepin.browser_20240502102135.png

4. 配置构建环境

安装完成后,您将进入配置界面。在这里,您可以进行以下配置:

ISO名称

在文本框中输入ISO名称

ISO_NAME: MyCustomDebian_1.0

发布代号

RELEASE_CODE_NAME: bookworm

软件包列表

在多行文本框中列出软件包,每个软件包占一行

package1
package2
package3
...

其他配置

根据需要进行其他高级配置,如内核版本、系统配置等。这些配置通常会在更详细的配置界面中提供。

完成配置后,请保存设置。

5. 开始构建

配置完成后,点击界面上的“开始构建”按钮。软件将根据您的配置使用live-build开始构建Debian发行版。
这个过程可能需要一些时间,具体取决于您的计算机性能和选择的软件包数量。

6. 获取生成的ISO文件

构建完成后,软件将显示构建成功的消息,并在指定的输出目录中生成Debian发行版的ISO文件。您可以将该文件用于安装或分享给其他人。

注意事项

在添加软件包时,请确保这些软件包与您的Debian发行版兼容,并且没有安全漏洞或已知的问题。
在进行大量修改时,建议使用版本控制系统(如Git)来跟踪和管理您的更改。
如果您遇到任何问题或错误,请查阅日志文件或联系中宏软件技术开源社区获取帮助。
贡献与反馈
如果您对本工具有任何改进建议或发现任何错误,请通过GitHub仓库提交问题或Pull Request。我们将非常感谢您的贡献和反馈!

本项目依照GPL V3和中宏软件技术开源社区开源软件协议开源

中宏软件技术开源社区开源软件协议

前言

本开源软件协议(以下简称“本协议”)是根据GNU通用公共许可证第三版(GPL V3)的原则和规定制定,旨在规范中宏软件技术开源社区(以下简称“社区”)发布的开源软件(以下简称“软件”)的使用、复制、修改和分发行为。任何个人或组织(以下简称“用户”)在使用本软件时,必须遵守本协议的规定。

第一条 定义

1.“软件”指由社区发布并受本协议约束的开源软件项目及其相关文档。
2.“源代码”指软件的原始程序代码。
3.“衍生作品”指基于软件源代码进行修改或与其他软件结合所产生的作品。

第二条 版权

软件的版权归社区及其贡献者所有。用户在使用、复制、修改或分发软件时,必须尊重并保护软件的版权。

第三条 软件许可

1.用户有权在遵守本协议的前提下,获取、使用、复制、修改和分发软件的源代码及衍生作品。
2.用户在使用、复制、修改和分发软件时,必须确保软件的副本都包含完整的版权、许可和免责声明,并保留所有原始版权、专利、商标和其他属性通知。
3.用户分发软件的任何部分或衍生作品时,必须同样遵守本协议,并确保接收者能够明确了解并接受本协议的规定。

第四条 用户义务

1.用户在使用、复制、修改和分发软件时,不得采取任何有损社区及其贡献者声誉或利益的行为。
2.用户必须确保修改后的软件或衍生作品在功能、性能上与原软件保持一致,并承担因修改造成的任何后果。
3.用户不得将软件用于任何非法或违反道德的活动。

第五条 担保免责

社区对软件的使用不提供任何形式的担保,包括但不限于软件的正确性、可靠性、可用性或安全性。用户在使用软件时,应自行承担相关风险。

第六条 专利

如果用户在其使用、复制、修改或分发软件的过程中发现任何专利问题,用户应通知社区。社区将根据具体情况采取适当措施。

第七条 终止

如果用户违反本协议的任何条款,社区有权立即终止本协议,并要求用户停止使用、复制、修改或分发软件。

第八条 争议解决

本协议的解释、适用及争议解决,应适用中华人民共和国法律。因本协议引起的或与本协议有关的任何争议,应通过友好协商解决;协商不成的,任何一方均有权向有管辖权的人民法院提起诉讼。

第九条 其他

1.本协议未尽事宜,参照GNU通用公共许可证第三版(GPL V3)执行。
2.GPLV3许可证的完整文本可以在以下链接找到:https://www.gnu.org/licenses/gpl-3.0.html



Open-source software protocol of the Zhonghong Software Technology Open-source Community

preface

This open source software agreement (hereinafter referred to as "this agreement") is formulated in accordance with the principles and regulations of the GNU General Public License version 3 (GPL V3), aiming to regulate the use, copying, modification, and distribution of open source software (hereinafter referred to as "software") released by the Zhonghong Software Technology Open Source Community (hereinafter referred to as "community"). Any individual or organization (hereinafter referred to as "user") using this software must comply with the provisions of this agreement.

Article 1: Definitions

1. "Software" refers to the open source software projects and their related documentation released by the community and subject to this agreement.
2. "Source code" refers to the original program code of software.
3. "Derivative works" refer to works created by modifying software source code or combining it with other software.

Article 2 Copyright

The copyright of the software belongs to the community and its contributors. Users must respect and protect the copyright of the software when using, copying, modifying, or distributing it.

Article 3 Software License

1. Users have the right to obtain, use, copy, modify and distribute the source code and derivative works of the software on the premise of complying with this agreement.
When using, copying, modifying, and distributing software, users must ensure that all copies of the software contain complete copyright, license, and disclaimer notices, and retain all original copyright, patent, trademark, and other content notices.
3. When distributing any part of the software or derivative works, the user must also comply with this agreement and ensure that the recipient clearly understands and accepts the provisions of this agreement.

Article 4 User Obligations

1. Users shall not take any actions that damage the reputation or interests of the community and its contributors when using, copying, modifying, and distributing software.
2. Users must ensure that the modified software or derivative works maintain consistency in functionality and performance with the original software, and bear any consequences resulting from modifications.
3. Users are prohibited from using the software for any illegal or unethical activities.

Article 5 Exemption from guarantee

The community does not provide any form of guarantee for the use of the software, including but not limited to the correctness, reliability, usability, or security of the software. Users should bear the relevant risks when using the software.

Article 6 Patent

If the user discovers any patent issues during the use, copying, modification, or distribution of the software, the user should notify the community. The community will take appropriate measures based on the specific situation.

Article 7 Termination

If the user violates any terms of this agreement, the community has the right to immediately terminate this agreement and require the user to stop using, copying, modifying, or distributing the software.

Article 8 Dispute Resolution

The interpretation, application and dispute resolution of this agreement shall be governed by the laws of the People's Republic of China. Any dispute arising out of or in connection with this agreement shall be resolved through friendly negotiation; if the negotiation fails, either party shall have the right to file a lawsuit with the competent people's court.

Article 9 Others

1.Matters not covered in this agreement shall be implemented in accordance with the GNU General Public License Version 3 (GPL V3).
2.You can find the full text of GPLV3 license at: https://www.gnu.org/licenses/gpl-3.0.html```
Reply Favorite View the author
All Replies
WangZhongyun
deepin
2024-05-02 21:35
#1

他山之石,可以攻玉。虽然这是Debian定制工具,可以借鉴为Deepin做个定制工具。

Reply View the author
👀偷偷观察
deepin
2024-05-02 22:06
#2

想法不错,但是这个界面应该做成多页的,例如,这样 下一步,下一步会更好

image.png

Reply View the author
chmod700
deepin
2024-05-02 22:13
#3
The user is banned, and the content is hidden.
Zeta.
deepin
2024-05-03 08:45
#4
chmod700
The user is banned, and the content is hidden.

加入软件包部分是填写你要在构建的系统加入的软件包包名 基本系统软件包都给你填好了

界面问题等我修吧

Reply View the author
chmod700
deepin
2024-05-03 08:58
#5
The user is banned, and the content is hidden.
Zeta.
deepin
2024-05-03 10:21
#6
chmod700
The user is banned, and the content is hidden.

基于livebuild 直接打包出iso

Reply View the author
chmod700
deepin
2024-05-03 10:29
#7
The user is banned, and the content is hidden.
Zeta.
deepin
2024-05-03 18:19
#8
chmod700
The user is banned, and the content is hidden.

不算 gui操作 更快捷

Reply View the author
chmod700
deepin
2024-05-03 18:25
#9
The user is banned, and the content is hidden.
来自Ubuntu的某位用户
deepin
2024-05-05 11:16
#10
chmod700
The user is banned, and the content is hidden.

安装MX Linux后,把常用软件安装上后,再进行自定义美化,最后通过自带的MX Snapshot打包为iso,这个方法最简单

Reply View the author
chmod700
deepin
2024-05-05 11:58
#11
The user is banned, and the content is hidden.
chmod700
deepin
2024-05-05 12:01
#12
The user is banned, and the content is hidden.
白日梦想家
deepin
2024-08-07 09:37
#13

楼主,您好,麻烦问下可以替换自己编译的内核deb包吗?

Reply View the author
白日梦想家
deepin
2024-08-07 13:59
#14

您好,大佬,我在构建config指定了软件源地址,但是build还是从debian官网下载的,而且速度超级慢,请问您知道这是为啥吗?[疑问]

lb config noauto --color \
--architecture arm64 \
--archive-area main contrib non-free non-free-firmware \
--bootappend-live boot=live components \
--debian-installer live \
--debian-installer-distribution bookworm \
--debian-installer-gui true \
--distribution bookworm \
--iso-application TestOS \
--iso-publisher "TestOS Project" \
--iso-volume "TestOS Live" \
--linux-packages config/package-lists/my-custom-packages.list.chroot \
--mirror-binary https://mirrors.163.com/debian \
--mirror-binary-security https://mirrors.163.com/debian-security \
--mirror-bootstrap https://mirrors.163.com/debian \
--mirror-chroot https://mirrors.163.com/debian \
--mirror-chroot-security https://mirrors.163.com/debian-security \
--mirror-debian-installer https://mirrors.163.com/debian \
--uefi-secure-boot enable \
--security true \
--updates true \
--bootloader grub-efi

Reply View the author
白日梦想家
deepin
2024-08-13 08:42
#15

debian好像只要amd有live镜像,也就是说这个工具是不支持arm64吗

Reply View the author
Zeta.
deepin
2024-08-28 13:30
#16
白日梦想家

您好,大佬,我在构建config指定了软件源地址,但是build还是从debian官网下载的,而且速度超级慢,请问您知道这是为啥吗?[疑问]

lb config noauto --color \
--architecture arm64 \
--archive-area main contrib non-free non-free-firmware \
--bootappend-live boot=live components \
--debian-installer live \
--debian-installer-distribution bookworm \
--debian-installer-gui true \
--distribution bookworm \
--iso-application TestOS \
--iso-publisher "TestOS Project" \
--iso-volume "TestOS Live" \
--linux-packages config/package-lists/my-custom-packages.list.chroot \
--mirror-binary https://mirrors.163.com/debian \
--mirror-binary-security https://mirrors.163.com/debian-security \
--mirror-bootstrap https://mirrors.163.com/debian \
--mirror-chroot https://mirrors.163.com/debian \
--mirror-chroot-security https://mirrors.163.com/debian-security \
--mirror-debian-installer https://mirrors.163.com/debian \
--uefi-secure-boot enable \
--security true \
--updates true \
--bootloader grub-efi

这个我不知道是什么问题

Reply View the author