From 185fa1c200367147a2d28a9c21c20bc386df35a7 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sun, 17 Jan 2021 20:33:08 +0000 Subject: [PATCH 1/4] glibc: update minimum kernel to 5.10.0 Signed-off-by: Ian Leonard --- packages/devel/glibc/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devel/glibc/package.mk b/packages/devel/glibc/package.mk index 26b24d742a..4c9a9c82af 100644 --- a/packages/devel/glibc/package.mk +++ b/packages/devel/glibc/package.mk @@ -27,7 +27,7 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \ --with-__thread \ --with-binutils=${BUILD}/toolchain/bin \ --with-headers=${SYSROOT_PREFIX}/usr/include \ - --enable-kernel=5.4.0 \ + --enable-kernel=5.10.0 \ --without-cvs \ --without-gd \ --disable-build-nscd \ From d4c3092e7ac7c266f4c3fc41b345b56c6e992d2b Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 12 Jun 2021 08:27:12 +0000 Subject: [PATCH 2/4] download-cleaner: be non-interactive while deleting Signed-off-by: Ian Leonard --- tools/download-cleaner | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/download-cleaner b/tools/download-cleaner index d74026dc9e..dfc4380ede 100755 --- a/tools/download-cleaner +++ b/tools/download-cleaner @@ -102,7 +102,7 @@ for SOURCE_PACKAGE in $(find "${SOURCES}/" -mindepth 1 -type d); do PACKAGES_TO_UPDATE+="${PACKAGE_NAME}" if [ "${DESTRUCTIVE_RUN}" = "true" ]; then - rm "${FILE}"* + rm -f "${FILE}"* fi # current file handling elif [ "${BUILD_SOURCES}" = "true" ]; then @@ -114,13 +114,13 @@ for SOURCE_PACKAGE in $(find "${SOURCES}/" -mindepth 1 -type d); do else echo "info: ${PACKAGE_NAME} no longer in tree" if [ "${DESTRUCTIVE_RUN}" = "true" ]; then - rm -r "${SOURCE_PACKAGE}" + rm -rf "${SOURCE_PACKAGE}" fi fi done if [ "${BUILD_SOURCES}" = "true" -a "${REPLACE_OLD}" = "true" ]; then - rm -r "${SOURCES}" + rm -rf "${SOURCES}" mv "${NEW_SOURCES}" "${SOURCES}" fi From 7e67a70da06d64982969cc60e2240f47161bcbc9 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Fri, 13 Aug 2021 19:59:02 +0000 Subject: [PATCH 3/4] show_config: remove a subshell Signed-off-by: Ian Leonard --- config/show_config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/show_config b/config/show_config index ea0fabf6fd..4a6e18a889 100644 --- a/config/show_config +++ b/config/show_config @@ -6,7 +6,12 @@ show_config() { dashes="===========================" config_message="\n $dashes$dashes$dashes" - config_message+="\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))" + config_message+="\n Configuration for $DISTRONAME " + if [ "$OFFICIAL" = "yes" ]; then + config_message+="(official)" + else + config_message+="(community)" + fi config_message+="\n $dashes$dashes$dashes" # Build options From 9d03223e8062f698b57466617c939b9fd0a749c3 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Thu, 27 May 2021 05:45:22 +0000 Subject: [PATCH 4/4] busybox: init: use buildsystem's SYSTEM_SIZE for update warning Signed-off-by: Ian Leonard --- packages/sysutils/busybox/package.mk | 1 + packages/sysutils/busybox/scripts/init | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/package.mk b/packages/sysutils/busybox/package.mk index 8365016ddd..8491f96dbe 100644 --- a/packages/sysutils/busybox/package.mk +++ b/packages/sysutils/busybox/package.mk @@ -208,6 +208,7 @@ makeinstall_init() { cp ${PKG_DIR}/scripts/init ${INSTALL} sed -e "s/@DISTRONAME@/${DISTRONAME}/g" \ -e "s/@KERNEL_NAME@/${KERNEL_NAME}/g" \ + -e "s/@SYSTEM_SIZE@/${SYSTEM_SIZE}/g" \ -i ${INSTALL}/init chmod 755 ${INSTALL}/init } diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 050ad1387d..7d7ad04bae 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -916,7 +916,7 @@ check_update() { echo "" echo "You must re-install your system using the disk image of a" echo "current release, or you must re-size your existing partitions" - echo "so that the System (FAT) partition is at least 512MB in size." + echo "so that the System (FAT) partition is at least @SYSTEM_SIZE@MB in size." echo "" do_cleanup StartProgress countdown "Normal startup in 60s... " 60 "NOW"