Changeset 6c183b5 for postlfs/filesystems/initramfs.xml
- Timestamp:
- 05/14/2020 08:54:12 AM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 547c0eb
- Parents:
- 0a5eff8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/initramfs.xml
r0a5eff8d r6c183b5 76 76 local file 77 77 78 if [ "$2" = ="lib" ]; then79 file=$( PATH=/lib:/usr/lib type -p $1)78 if [ "$2" = "lib" ]; then 79 file=$(find /lib /usr/lib -maxdepth 1 -name $1 | head -n 1) 80 80 else 81 file=$( type -p $1)81 file=$(find /bin /usr/bin /sbin /usr/sbin -maxdepth 1 -name $1 | head -n 1) 82 82 fi 83 83 … … 177 177 if [ -x /sbin/lvm ] ; then sbinfiles="$sbinfiles lvm dmsetup"; fi 178 178 179 # Add mdadm if present 180 if [ -x /sbin/mdadm ] ; then sbinfiles="$sbinfiles mdadm"; fi 181 182 # Add udevd if present in /sbin (newer versions of udev have it in 183 # /lib/udev) 184 if [ -x /sbin/udevd ] ; then sbinfiles="$sbinfiles udevd"; fi 185 179 186 for f in $sbinfiles ; do 180 187 ldd /sbin/$f | sed "s/\t//" | cut -d " " -f1 >> $unsorted … … 194 201 ln -s kmod $WDIR/bin/insmod 195 202 fi 203 204 ln -s bash $WDIR/bin/sh 196 205 197 206 # Add lvm symlinks if appropriate
Note:
See TracChangeset
for help on using the changeset viewer.