Skip to content

Commit

Permalink
默认安装gnu tar到dragonos的/usr/bin目录下 (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
fslongjin authored Nov 15, 2023
1 parent 0fb515b commit edaf015
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/create_hdd_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ EOF
echo "Creating virtual disk image..."
ARGS=`getopt -o P: -- "$@"`
# 创建一至少为256MB磁盘镜像(类型选择raw)
qemu-img create -f raw disk.img 256M
qemu-img create -f raw disk.img 2048M
#将规范化后的命令行参数分配至位置参数($1,$2,...)
eval set -- "${ARGS}"
#echo formatted parameters=[$@]
Expand Down
2 changes: 1 addition & 1 deletion user/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ current_CFLAGS := $(CFLAGS)

DADK_VERSION=$(shell dadk -V | awk 'END {print $$2}')
# 最小的DADK版本
MIN_DADK_VERSION = 0.1.4
MIN_DADK_VERSION = 0.1.5
DADK_CACHE_DIR = $(ROOT_PATH)/bin/dadk_cache

# 旧版的libc安装路径
Expand Down
24 changes: 24 additions & 0 deletions user/dadk/config/tar_1_35.dadk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "tar",
"version": "1.35",
"description": "gnu tar",
"rust_target": null,
"task_type": {
"InstallFromPrebuilt": {
"Archive": {
"url": "https://mirrors.dragonos.org/pub/third_party/gnu/tar/tar-1.35-x86_64-linux-gnu.tar.xz"
}
}
},
"depends": [],
"build": {

},
"install": {
"in_dragonos_path": "/usr"
},
"clean": {
"clean_command": null
},
"envs": []
}

0 comments on commit edaf015

Please sign in to comment.