forked from kiss-community/kiss
kiss: Minor changes
This commit is contained in:
parent
c84472e531
commit
58b0272574
@ -20,6 +20,7 @@ clean() {
|
|||||||
|
|
||||||
log Cleaning leftover host files; {
|
log Cleaning leftover host files; {
|
||||||
rm -f "$1/root/.ash_history"
|
rm -f "$1/root/.ash_history"
|
||||||
|
rm -f "$1/etc/resolv.conf"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,7 +39,7 @@ main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
log Copying /etc/resolv.conf from host; {
|
log Copying /etc/resolv.conf from host; {
|
||||||
[ -f "$1/etc/resolv.conf" ] || cp /etc/resolv.conf "$1/etc"
|
cp -f /etc/resolv.conf "$1/etc"
|
||||||
}
|
}
|
||||||
|
|
||||||
log Entering chroot; {
|
log Entering chroot; {
|
||||||
|
4
kiss
4
kiss
@ -98,7 +98,6 @@ decompress() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_lint() {
|
pkg_lint() {
|
||||||
# Check that each mandatory file in the package entry exists.
|
|
||||||
log "$1" "Checking repository files"
|
log "$1" "Checking repository files"
|
||||||
|
|
||||||
cd "$(pkg_find "$1")"
|
cd "$(pkg_find "$1")"
|
||||||
@ -372,7 +371,8 @@ pkg_strip() {
|
|||||||
|
|
||||||
# Suppress errors here as some binaries and libraries may
|
# Suppress errors here as some binaries and libraries may
|
||||||
# fail to strip. This is OK.
|
# fail to strip. This is OK.
|
||||||
strip "--strip-$strip_opt" "$file" 2>/dev/null ||:
|
strip "--strip-$strip_opt" "$file" 2>/dev/null &&
|
||||||
|
printf 'Stripped %10s %s\n' "($strip_opt)" "${file##$pkg_dir/$1}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user