Step5-Debian下构造-source
在 Debian 打包体系中,debian/source/format 用于指定源码包的格式。常见的写法是 3.0 (quilt),表示启用 quilt 补丁系统。
为什么要写 format?
- 避免
dpkg-source报错:source format not specified - 启用 quilt 补丁系统,方便管理
debian/patches - 保证与 debhelper 默认模板兼容
# 创建 format 文件
cd bigtop-packages/src/deb/redis
mkdir -p source
echo "3.0 (quilt)" > source/format
1
2
3
2
3

目录结构示意:
bigtop-packages/src/deb/redis/
├── control
├── copyright
├── rules
├── source
│ └── format # 内容:3.0 (quilt)
└── changelog
1
2
3
4
5
6
7
2
3
4
5
6
7
- 01
- Ambari开启Kerberos认证加密类型错误 Kylin V1011-05
- 02
- KERBEROS SERVICE CHECK 报错11-04