busybox: du: use 1024 unit size
make -k the default (write the files sizes in units of 1024 bytes) else it uses 512 which differs from coreutils-du and toybox-du cleanup the template while at it
This commit is contained in:
parent
07f683c356
commit
25f3674b3b
2 changed files with 7 additions and 13 deletions
|
@ -227,7 +227,7 @@ CONFIG_DIRNAME=y
|
|||
# CONFIG_DOS2UNIX is not set
|
||||
# CONFIG_UNIX2DOS is not set
|
||||
CONFIG_DU=y
|
||||
# CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K is not set
|
||||
CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
|
||||
CONFIG_ECHO=y
|
||||
CONFIG_FEATURE_FANCY_ECHO=y
|
||||
CONFIG_ENV=y
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'busybox'
|
||||
pkgname=busybox
|
||||
version=1.32.1
|
||||
revision=2
|
||||
revision=3
|
||||
hostmakedepends="perl"
|
||||
checkdepends="tar which zip"
|
||||
short_desc="Swiss Army Knife of Embedded Linux"
|
||||
|
@ -48,12 +48,12 @@ do_configure() {
|
|||
cp -f ${FILESDIR}/dotconfig ${t}/.config
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \
|
||||
*-musl) vsed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \
|
||||
${t}/.config;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i -e \
|
||||
vsed -i -e \
|
||||
"s,\(CONFIG_CROSS_COMPILER_PREFIX\).*,\1=\"${XBPS_CROSS_TRIPLET}-\",g" \
|
||||
${t}/.config
|
||||
fi
|
||||
|
@ -83,15 +83,9 @@ do_build() {
|
|||
|
||||
do_check() {
|
||||
for t in busybox-core busybox busybox-static busybox-huge; do
|
||||
# Copy the testsuite over
|
||||
cp -r src/testsuite "${t}"
|
||||
# Required by the testsuite
|
||||
cp src/scripts/echo.c "${t}/scripts"
|
||||
# Run the testsuite
|
||||
(
|
||||
cd "${t}/testsuite"
|
||||
SKIP_KNOWN_BUGS=yes ./runtest -v
|
||||
)
|
||||
make -C "${t}" "${makejobs}" \
|
||||
SKIP_KNOWN_BUGS=yes SKIP_INTERNET_TESTS=yes \
|
||||
check
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue