Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Mon, 08 Feb 2021 22:32:56
Message-Id: 1612823124.f775b28727ea9ec06f1a8b651f4a5b45367874f4.whissi@gentoo
1 commit: f775b28727ea9ec06f1a8b651f4a5b45367874f4
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 22:25:24 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 22:25:24 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f775b287
7
8 gen_initramfs.sh: remove unused function is_static()
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_initramfs.sh | 6 ------
13 1 file changed, 6 deletions(-)
14
15 diff --git a/gen_initramfs.sh b/gen_initramfs.sh
16 index aca2f90..3fc400d 100755
17 --- a/gen_initramfs.sh
18 +++ b/gen_initramfs.sh
19 @@ -1827,12 +1827,6 @@ append_modprobed() {
20 fi
21 }
22
23 -# check for static linked file with objdump
24 -is_static() {
25 - LANG="C" LC_ALL="C" objdump -T $1 2>&1 | grep "not a dynamic object" > /dev/null
26 - return $?
27 -}
28 -
29 append_auxiliary() {
30 local TDIR="${TEMP}/initramfs-aux-temp"
31 if [ -d "${TDIR}" ]