]> www.infradead.org Git - users/jedix/linux-maple.git/commit
find-debuginfo.sh: backport parallel files procession
authorAlexander Burmashev <alexander.burmashev@oracle.com>
Thu, 7 Feb 2019 15:40:30 +0000 (07:40 -0800)
committerBrian Maly <brian.maly@oracle.com>
Tue, 19 Feb 2019 19:18:06 +0000 (14:18 -0500)
commitff4a1850bbf59ac181c714d9f13b702be13240a1
tree1f9f8aee4932be92399cfa942286d551acf0d386
parent351ff7a273f566e1efed1be14f01fc9510ad9002
find-debuginfo.sh: backport parallel files procession

Use bundled find-debuginfo.sh instead of copying one during the build

rpm upstream commit 038bfe01796f751001e02de41c5d8678f511f366

find-debuginfo.sh: Split directory traversal and debuginfo extraction

This siplifies the handling of hardlinks a bit and allows a later patch
to parallelize the debuginfo extraction.

Signed-off-by: Michal Marek <mmarek@suse.com>
rpm upstream commit 1b338aa84d4c67fefa957352a028eaca1a45d1f6

find-debuginfo.sh: Process files in parallel

Add a -j <n> option, which, when used, will spawn <n> processes to do the
debuginfo extraction in parallel. A pipe is used to dispatch the files among
the processes.

Signed-off-by: Michal Marek <mmarek@suse.com>
Orabug: 29323635

Signed-off-by: Alex Burmashev <alexander.burmashev@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Todd Vierling <todd.vierling@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
uek-rpm/ol6/find-debuginfo.sh [new file with mode: 0755]
uek-rpm/ol6/find-debuginfo.sh.parallel.diff [new file with mode: 0644]
uek-rpm/ol6/kernel-uek.spec
uek-rpm/ol7/find-debuginfo.sh [new file with mode: 0755]
uek-rpm/ol7/find-debuginfo.sh.parallel.diff [new file with mode: 0644]
uek-rpm/ol7/kernel-uek.spec