Changeset ebfb62d


Ignore:
Timestamp:
Aug 15, 2013, 1:42:56 PM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b0495e2
Parents:
ce56d9d
Message:

When the host has a link of /dev/shm to /run/shm fix some issues that can occur.

Location:
BOOK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/kernfs.xml

    rce56d9d rebfb62d  
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
     56<screen><userinput>if [ -h ${CLFS}/dev/shm ]; then
     57  link=$(readlink ${CLFS}/dev/shm)
     58  mkdir -p ${CLFS}/$link
     59  mount -f -vt tmpfs shm ${CLFS}/$link
     60  unset link
     61else
     62  mount -f -vt tmpfs shm ${CLFS}/dev/shm
     63fi
    5764mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
    5865
  • BOOK/introduction/common/changelog.xml

    rce56d9d rebfb62d  
    3737-->
    3838    <listitem>
     39      <para>15 August 2013</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[William Harrington] - Fix shm mount during chroot virtual kernel filesystems.</para>
     43        </listitem>
     44      </itemizedlist>
     45    </listitem>
     46
     47    <listitem>
    3948      <para>14 August 2013</para>
    4049      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.