From 7c079e552c9f0bee5fc9cb74984f6b400a9d477e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 19 Sep 2023 03:20:34 +0000 Subject: automatic import of oemaker --- 0008-add-parse_everything_deb_exclude.patch | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 0008-add-parse_everything_deb_exclude.patch (limited to '0008-add-parse_everything_deb_exclude.patch') diff --git a/0008-add-parse_everything_deb_exclude.patch b/0008-add-parse_everything_deb_exclude.patch new file mode 100644 index 0000000..a7cea72 --- /dev/null +++ b/0008-add-parse_everything_deb_exclude.patch @@ -0,0 +1,31 @@ +From 6958c40cac406dc5636189b9cbd8635ebdbe72b3 Mon Sep 17 00:00:00 2001 +From: xyn-coder +Date: Tue, 22 Nov 2022 16:16:38 +0800 +Subject: [PATCH] add parse_everything_deb_exclude + +--- + isomaker/rpm.sh | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/isomaker/rpm.sh b/isomaker/rpm.sh +index 85b1042..0f77b34 100755 +--- a/isomaker/rpm.sh ++++ b/isomaker/rpm.sh +@@ -242,6 +242,14 @@ function everything_debug_rpms_download() + { + mkdir ${EVERY_DEBUG_DIR} + yum list --installroot="${BUILD}"/tmp --available | awk '{print $1}' | grep -E "debuginfo|debugsource" > ava_debug_lst ++ parse_rpmlist_xml "everything_debug_exclude" ++ cat parsed_rpmlist_everything_debug_exclude ++ if [ -s parsed_rpmlist_everything_debug_exclude ];then ++ for rpmname in $(cat parsed_rpmlist_everything_debug_exclude) ++ do ++ sed -i "/^${rpmname}\./d" ava_debug_lst ++ done ++ fi + yumdownloader --resolve --installroot="${BUILD}"/tmp --destdir="${EVERY_DEBUG_DIR}" $(cat ava_debug_lst | tr '\n' ' ') + if [ $? != 0 ] || [ $(ls ${EVERY_DEBUG_DIR} | wc -l) == 0 ]; then + echo "yumdownloader with --resolve failed, trying to yumdownloader without --resolve" +-- +2.33.0 + -- cgit v1.2.3