Changeset 63f6e21


Ignore:
Timestamp:
05/23/2009 12:29:29 PM (15 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
55fa5a3
Parents:
33f0959
Message:

Change the bootsripts and udev configuration so the rtc is set by udev upon boot.
Removed aio device from udev configuration so defaults are used.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8902 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/Makefile

    r33f0959 r63f6e21  
    7373        ln -sf ../init.d/udev        ${EXTDIR}/rc.d/rcsysinit.d/S10udev
    7474        ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rcsysinit.d/S20swap
    75         ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S25setclock
    7675        ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
    7776        ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
     
    124123        ln -sf ../init.d/udev        ${EXTDIR}/rc.d/rcsysinit.d/S10udev
    125124        ln -sf ../init.d/swap        ${EXTDIR}/rc.d/rcsysinit.d/S20swap
    126         ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S25setclock
    127125        ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
    128126        ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
  • bootscripts/lfs/init.d/setclock

    r33f0959 r63f6e21  
    1616. ${rc_functions}
    1717. /etc/sysconfig/clock
    18 
    19 CLOCKPARAMS=
    2018
    2119case "${UTC}" in
  • chapter01/changelog.xml

    r33f0959 r63f6e21  
    4242      <itemizedlist>
    4343        <listitem>
     44          <para>[bdubbs] - Change the bootsripts and udev configuration
     45          so the rtc is set by udev upon boot. Removed aio device
     46          from udev configuration.  Fixes
     47          <ulink url="&lfs-ticket-root;2266">#2266</ulink> and
     48          <ulink url="&lfs-ticket-root;2297">#2297</ulink>.</para>
     49        </listitem>
     50        <listitem>
    4451          <para>[bdubbs] - Expand package management discussion and
    4552          add a section on deploying an LFS system to another host. Fixes
  • chapter07/setclock.xml

    r33f0959 r63f6e21  
    2424  needs to be configured manually.</para>
    2525
     26  <para>The <command>setclock</command> is run via
     27  <application>udev</application> when the kernel detects the hardware
     28  capability upon boot.  It can also be run manually with the stop parameter to
     29  store the system time to the CMOS clock.</para>
     30
    2631  <para>If you cannot remember whether or not the hardware clock is set to UTC,
    2732  find out by running the <userinput>hwclock --localtime --show</userinput>
     
    4752UTC=1
    4853
     54# Set this to any options you might need to give to hwclock,
     55# such as machine hardware clock type for Alphas.
     56CLOCKPARAMS=
     57
    4958# End /etc/sysconfig/clock</literal>
    5059EOF</userinput></screen>
  • packages.ent

    r33f0959 r63f6e21  
    299299<!ENTITY less-ch6-sbu "0.1 SBU">
    300300
    301 <!ENTITY lfs-bootscripts-version "20090517">                 <!-- Scripts depend on this format -->
     301<!ENTITY lfs-bootscripts-version "20090523">                 <!-- Scripts depend on this format -->
    302302<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    303303<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
     
    512512<!ENTITY udev-ch6-sbu "0.2 SBU">
    513513
    514 <!ENTITY udev-config "udev-config-20081229"> <!-- Scripts depend on this format -->
     514<!ENTITY udev-config "udev-config-20090523"> <!-- Scripts depend on this format -->
    515515<!ENTITY udev-config-size "UDEV-SIZE KB">    <!-- Updated in Makefile -->
    516516<!ENTITY udev-config-url "&downloads-root;&udev-config;.tar.bz2">
  • udev-config/55-lfs.rules

    r33f0959 r63f6e21  
    33# Core kernel devices
    44
    5 KERNEL=="aio",      MODE="0444"
    6 KERNEL=="rtc",      MODE="0666"
     5# This causes the system clock to be set as soon as /dev/rtc becomes available.
     6SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", RUN+="/etc/rc.d/init.d/setclock start"
    77
    88# Comms devices
Note: See TracChangeset for help on using the changeset viewer.