Browse Source

合并来自 feat-add-sed-and-findutils-config 的合并请求 #4

feat: 新增sed以及findutils包的配置

PR-URL: #4
fslongjin 3 weeks ago
parent
commit
f32d0d151a
4 changed files with 33 additions and 4 deletions
  1. 1 1
      Makefile
  2. 16 0
      packages/findutils-ubuntu2404.conf
  3. 0 3
      packages/grep-ubuntu2404.conf
  4. 16 0
      packages/sed-ubuntu2404.conf

+ 1 - 1
Makefile

@@ -37,4 +37,4 @@ endif
 
 .PHONY: clean
 clean:
-	rm -rf ./output
+	sudo rm -rf ./output

+ 16 - 0
packages/findutils-ubuntu2404.conf

@@ -0,0 +1,16 @@
+# 包列表 - 可以包含多个包
+PACKAGES=("findutils")
+
+# Docker标签
+DOCKER_TAG="ubuntu2404"
+
+# 输出tar文件名
+TAR_NAME="findutils-ubuntu2404.tar.xz"
+
+# 可选: 后处理钩子函数
+# 如果你的包需要特殊的后处理步骤,可以定义这个函数
+# post_unpack_hook() {
+#     echo "Executing custom post-processing steps..."
+#     # 在这里添加你的自定义处理步骤
+#     # 例如: 创建特定的符号链接,修改文件权限等
+# }

+ 0 - 3
packages/grep-ubuntu2404.conf

@@ -1,6 +1,3 @@
-# example-ubuntu2404 package configuration
-# 这是一个示例配置文件,展示如何为其他包创建配置
-
 # 包列表 - 可以包含多个包
 PACKAGES=("grep")
 

+ 16 - 0
packages/sed-ubuntu2404.conf

@@ -0,0 +1,16 @@
+# 包列表 - 可以包含多个包
+PACKAGES=("sed")
+
+# Docker标签
+DOCKER_TAG="ubuntu2404"
+
+# 输出tar文件名
+TAR_NAME="sed-ubuntu2404.tar.xz"
+
+# 可选: 后处理钩子函数
+# 如果你的包需要特殊的后处理步骤,可以定义这个函数
+# post_unpack_hook() {
+#     echo "Executing custom post-processing steps..."
+#     # 在这里添加你的自定义处理步骤
+#     # 例如: 创建特定的符号链接,修改文件权限等
+# }