Compare commits

..

6 Commits

Author SHA1 Message Date
922afb4e69 pkg: fix clone msg 2019-02-06 16:49:20 +01:00
d22017e1a1 deploypkg & pkg2yaml: fix debug pkg names 2019-02-06 16:39:22 +01:00
1ea7d2ca8b readme: update deps 2019-02-03 02:31:41 +01:00
3cd8632c61 deoloypkg: add support for debug packages 2019-02-03 01:55:20 +01:00
b425eac181 buildtree: minor msg adjusting 2019-02-03 01:54:55 +01:00
4b2d516258 pkglist: update kernel 2019-02-03 01:54:29 +01:00
6 changed files with 14 additions and 6 deletions

View File

@@ -28,6 +28,7 @@ artools
- pkg:
* namcap
* git-subrepo
* jshon
- iso:
* dosfstools

View File

@@ -59,7 +59,7 @@ show_deps(){
local archver=$(get_full_version $pkg)
msg "repo: %s" "$repo"
msg2 "repo: %s" "$repo"
[[ -n ${pkgbase} ]] && msg2 "pkgbase: %s" "${pkgbase}"
msg2 "pkgname: %s" "${pkgname[*]}"
[[ -n $pkgdesc ]] && msg2 "pkgdesc: %s" "${pkgdesc}"
@@ -87,7 +87,7 @@ from_arch(){
dest=${TREE_DIR_ARTIX}/$tree_dir/$pkg/trunk
msg "artix tree: %s" "$tree_dir"
msg "tree: %s" "$tree_dir"
show_deps "$src" "$repo"
if [[ -d $dest ]];then

View File

@@ -21,7 +21,13 @@ update_repo(){
. PKGBUILD
for name in ${pkgname[@]};do
local pkgsearch=(${pkgname[@]})
if check_option "debug" "y"; then
pkgbase=${pkgbase:-${pkgname[@]}}
pkgsearch+=("${pkgbase}-debug")
fi
for name in ${pkgsearch[@]}; do
pkgarch=$(get_pkg_arch "$name")
ver=$(get_full_version "$name")
if pkgfile=$(find_cached_package "$name" "$ver" "$pkgarch");then

View File

@@ -79,14 +79,14 @@ write_details() {
}
write_pkg_yaml(){
local pkgfile=$(print_all_package_names)
local pkgfile=$(makepkg --packagelist)
Yaml=$(write_yaml_header)
Yaml+=$(write_empty_line)
Yaml+=$(write_yaml_map 0 "pkgbase")
Yaml+=$(write_yaml_map 2 "pkgname" "${pkgbase:-$pkgname}")
Yaml+=$(write_yaml_map 2 "pkgname" "${pkgbase:-${pkgname[0]}}")
${details} && write_details ''
Yaml+=$(write_empty_line)

View File

@@ -1,5 +1,6 @@
linux
nvidia
nvidia-utils
acpi_call
bbswitch
broadcom-wl

View File

@@ -61,7 +61,7 @@ subrepo_clone(){
clone_tree(){
local timer=$(get_timer) url="$1" tree="$2" os="${3:-$(get_osname)}"
msg "Cloning (%s) ..." "$tree" "$os"
msg "Cloning %s (%s) ..." "$tree" "$os"
git clone $url/$tree.git
show_elapsed_time "${FUNCNAME}" "${timer}"