Changeset e5112de in bootscripts-standard


Ignore:
Timestamp:
Jan 14, 2009, 1:17:51 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
fc18225
Parents:
9c1acc7
Message:

Updates to netboot scripts

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Changelog

    r9c1acc7 re5112de  
     1jim - Janurary 14, 2009
     2        * Fixed Netboot Udev Setup
     3        * Remove all script directories for netboot
     4
    15jim - Janurary 8, 2009
    26        * Remove Console Script
  • Makefile

    r9c1acc7 re5112de  
    197197        install -m ${MODE} cblfs/sysconfig/network-devices/services/pppoe    ${EXTDIR}/sysconfig/network-devices/services
    198198
    199 install-netboot: create-dirs
     199install-netboot: create-dirs create-service-dir udev_device_dirs udev_device_links
     200        rm -rf ${EXTDIR}/rc.d
    200201        install -d -m ${DIRMODE} ${EXTDIR}/rc.d
    201202        install -m ${MODE} netboot/rc.0         ${EXTDIR}/rc.d/
  • netboot/rc.sysinit

    r9c1acc7 re5112de  
    1515export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
    1616
    17 if [ -d "/lib64" ]; then
    18         udev_libdir=/lib64
    19 else
    20         udev_libdir=/lib
    21 fi
    22 
    2317echo -n "Mounting kernel-based file systems:"
    2418echo -n " proc"
     
    3024echo "Starting udev"
    3125mount -n -t tmpfs -o mode=0755 udev /dev
    32 cp --preserve=all --recursive --remove-destination  ${udev_libdir}/udev/devices/* /dev
     26cp --preserve=all --recursive --remove-destination  /lib/udev/devices/* /dev
    3327chmod 1777 /dev/shm
    3428echo "" > /sys/kernel/uevent_helper
    3529/sbin/udevd --daemon
    3630mkdir -p /dev/.udev/queue
    37 /sbin/udevtrigger
    38 /sbin/udevsettle
     31/sbin/udevadm trigger
     32/sbin/udevadm settle
    3933
    4034echo "Remounting Root File System"
Note: See TracChangeset for help on using the changeset viewer.