Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
210f618fdb
3 changed files with 10 additions and 0 deletions
  1. +1
    -0
      target/bootdisk/build_stage1.sh
  2. +7
    -0
      target/bootdisk/initrd/initrd_bootdisk
  3. +2
    -0
      target/bootdisk/linuxrc.sh

+ 1
- 0
target/bootdisk/build_stage1.sh

@ -95,6 +95,7 @@ for x in ${rock_targetdir}/initrd/initrd_* ; do
fi
# if [ -b ${f} -o -c ${f} -o -p ${f} -o -L ${f} ] ; then
# echo "cp -a ${f} ${tfile}"
cp -a ${f} ${tfile}
# else
# cp ${f} ${tfile}

+ 7
- 0
target/bootdisk/initrd/initrd_bootdisk

@ -36,3 +36,10 @@
/usr/sbin/lspci /usr/sbin/lspci
/etc/udev etc/udev
/lib/udev lib/udev
/bin/ps /bin/ps
/sbin/modinfo /sbin/modinfo
/usr/bin/lsmod /usr/bin/lsmod
/usr/bin/find /usr/bin/find
/usr/sbin/udevmonitor /usr/sbin/udevmonitor
/sbin/rmmod /sbin/rmmod
/sbin/depmod /sbin/depmod

+ 2
- 0
target/bootdisk/linuxrc.sh

@ -411,6 +411,8 @@ mount -t proc proc /proc || echo "Can't mount proc on /proc!"
mount -t sysfs sysfs /sys || echo "Can't mount sysfs on /sys!"
mount -t tmpfs tmpfs /dev || echo "Can't mount a tmpfs on /dev!"
/sbin/depmod -ae
cp -r /lib/udev/devices/* /dev
echo "" > /proc/sys/kernel/hotplug

Loading…
Cancel
Save