diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-13 22:23:21 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-13 22:23:21 +0000 |
commit | 5525f21944592e92d34dd8320fed639e6b756530 (patch) | |
tree | 1af954ce405a9020310b058f946591889c8835d5 /kiss | |
parent | acc668c84addd606918b2760ec13f28bb81cf063 (diff) | |
download | cpt-5525f21944592e92d34dd8320fed639e6b756530.tar.gz |
misc: changes
FossilOrigin-Name: ec4adde03819b9421b69b5705bdbcc608f8633610bdab40d3860c1b08ab8d608
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -284,6 +284,8 @@ pkg_strip() { log "[$1]: Stripping binaries and libraries..." + # Strip only files matching the below mime-types from the package + # directory. No alternative to 'file' here sadly. find "$pkg_dir/$1" -type f | while read -r binary; do case $(file -bi "$binary") in application/x-sharedlib*|application/x-pie-executable*) @@ -346,9 +348,6 @@ pkg_build() { # also checks checksums, downloads sources and ensure all dependencies # are installed. - # Resolve dependencies and generate a list. - # Send 'force' to 'pkg_depends' to always include the explicitly - # requested packages. log "Resolving dependencies..." for pkg; do pkg_depends "$pkg"; done @@ -367,6 +366,9 @@ pkg_build() { set +f } + # The dependency solver always lists all dependencies regardless of + # whether or not they are installed. Ensure that all explicit packages + # are included and ensure that all installed packages are excluded. for pkg; do case $explicit_packages in *" $pkg "*) |