Changeset ebfb62d for BOOK/chroot/common


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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.