Ignore:
Timestamp:
02/14/14 09:57:11 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
be75ddc
Parents:
db49124
git-author:
Kris Moore <kris@…> (02/14/14 09:55:44)
git-committer:
Kris Moore <kris@…> (02/14/14 09:57:11)
Message:

Update pbimount with patch to support other font directories to be
mounted into PBI container. Fixes issues with vlgothic font among others.

Trac:

https://trac.pcbsd.org/ticket/1032

Thanks to: yamajun

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbime/pbimount

    rec4b304 r1c3c665  
    129129   fi 
    130130 
     131   # Support for some font packages(example: japanese/font-vlgothic) 
     132   for fontdir in /usr/local/share/font-* 
     133   do 
     134      subdir=`basename $fontdir` 
     135      if [ ! -d "${pDir}/virtbase/usr/local/share/$subdir" ]; then 
     136         mkdir "${pDir}/virtbase/usr/local/share/$subdir" 
     137      fi 
     138      is_mounted "${pDir}/virtbase/usr/local/share/$subdir" || ($NULLFS /usr/local/share/$subdir "${pDir}/virtbase/usr/local/share/$subdir" ; $MNTSLEEP ) 
     139   done 
     140 
    131141   # Check if we need to mount linprocfs in the PBI container 
    132142   if [ -d "${pDir}/virtbase/compat/linux/proc" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.