Ignore:
Timestamp:
11/28/2017 06:10:14 PM (6 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, 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:
47515cfe
Parents:
d3f7318
Message:

Version 2.9.1, fix #10078
Add files to mkinitramfs

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19547 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/initramfs.xml

    rd3f7318 r8b6d8b6  
    9494binfiles="sh cat cp dd killall ls mkdir mknod mount "
    9595binfiles="$binfiles umount sed sleep ln rm uname"
     96binfiles="$binfiles readlink basename"
    9697
    9798# Systemd installs udevadm in /bin. Other udev implementations have it in /sbin
     
    114115
    115116# Create base directory structure
    116 mkdir -p $WDIR/{bin,dev,lib/firmware,run,sbin,sys,proc}
     117mkdir -p $WDIR/{bin,dev,lib/firmware,run,sbin,sys,proc,usr}
    117118mkdir -p $WDIR/etc/{modprobe.d,udev/rules.d}
    118119touch $WDIR/etc/modprobe.d/modprobe.conf
    119120ln -s lib $WDIR/lib64
     121ln -s ../bin $WDIR/usr/bin
    120122
    121123# Create necessary device nodes
     
    154156# Install basic binaries
    155157for f in $binfiles ; do
    156   ldd /bin/$f | sed "s/\t//" | cut -d " " -f1 &gt;&gt; $unsorted
    157   copy $f bin
     158  if [ -e /bin/$f ]; then d="/bin"; else d="/usr/bin"; fi
     159  ldd $d/$f | sed "s/\t//" | cut -d " " -f1 &gt;&gt; $unsorted
     160  copy $d/$f bin
    158161done
    159162
Note: See TracChangeset for help on using the changeset viewer.