Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
84e9a0558e
3 changed files with 3 additions and 1 deletions
  1. +2
    -0
      package/base/rockinitrd/init
  2. +1
    -0
      package/base/rockinitrd/initrd_base.txt
  3. +0
    -1
      target/bootdisk/build_stage1.sh

+ 2
- 0
package/base/rockinitrd/init

@ -50,6 +50,8 @@ mount -n -t proc proc /proc || echo "Can't mount procfs!"
mount -n -t sysfs sysfs /sys || echo "Can't mount sysfs!" mount -n -t sysfs sysfs /sys || echo "Can't mount sysfs!"
mount -n -t ramfs ramfs /dev || echo "Can't mount ramfs!" mount -n -t ramfs ramfs /dev || echo "Can't mount ramfs!"
/sbin/depmod -ae
cp -r /lib/udev/devices/* /dev cp -r /lib/udev/devices/* /dev
echo "" > /proc/sys/kernel/hotplug echo "" > /proc/sys/kernel/hotplug

+ 1
- 0
package/base/rockinitrd/initrd_base.txt

@ -16,6 +16,7 @@
/sbin/udevsettle /sbin/udevsettle /sbin/udevsettle /sbin/udevsettle
/sbin/udevd /sbin/udevd /sbin/udevd /sbin/udevd
/sbin/modprobe /sbin/modprobe /sbin/modprobe /sbin/modprobe
/sbin/depmod /sbin/depmod
/etc/udev /etc/udev /etc/udev /etc/udev
/lib/udev /lib/udev /lib/udev /lib/udev
/etc/hotplug.d /etc/hotplug.d /etc/hotplug.d /etc/hotplug.d

+ 0
- 1
target/bootdisk/build_stage1.sh

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

Loading…
Cancel
Save