[projects/geninitrd] Prefer suspend/resume binary over initrd/resume. Install previously found binary instead hardcoded o

Elan Ruusamäe glen at pld-linux.org
Thu Mar 26 14:23:42 CET 2015


On 26.03.2015 14:35, Arkadiusz Miśkiewicz wrote:
> Well, for now above checking needs to be reverted to never break x8664
> systems.
it's does not seem to be used for anything important than suspend and 
multipath and uclibc binaries

[~/rpm/packages/geninitrd/geninitrd (master)⚡] ➔ rgrep -r _lib . 
--exclude=ChangeLog
./mod-suspend.sh:16:    resume=$(find_tool $initrd_dir/resume 
/usr/${_lib}/suspend/resume /usr/sbin/resume)
./mod-suspend.sh:61:    if [ -x /usr/${_lib}/suspend/resume ]; then
./mod-suspend.sh:62:            inst_exec /usr/${_lib}/suspend/resume 
/bin/resume
./mod-multipath.sh:115: local scsi_id=$(find_tool /$_lib/udev/scsi_id 
/lib/udev/scsi_id /sbin/scsi_id)
./mod-multipath.sh:118: if [ -d /$_lib/multipath ]; then
./mod-multipath.sh:119:         inst_d /$_lib/multipath
./mod-multipath.sh:120:         inst_exec /$_lib/multipath/* 
/$_lib/multipath
./geninitrd:556:        if [ -f $DESTDIR/$_lib/libc.so.0 ]; then
./geninitrd:557:                lib=$DESTDIR/$_lib/libc.so.0
./geninitrd:563:                        verbose "+ ln -s /$_lib 
$DESTDIR$libdir"
./geninitrd:564:                        ln -s /$_lib $DESTDIR$libdir
./geninitrd:1367:       _lib=libx32
./geninitrd:1369:       _lib=lib64
./geninitrd:1371:       _lib=lib
./geninitrd:1378:debug "Using _lib: $_lib"
[~/rpm/packages/geninitrd/geninitrd (master)⚡] ➔

-- 
glen



More information about the pld-devel-en mailing list