Ticket #1032: dot.pbimount.diff

File dot.pbimount.diff, 1005 bytes (added by yamajun, 6 months ago)

Patch for /usr/bin/.pbimount

  • dot.pbimount

    old new  
    119119      is_mounted "${pDir}/virtbase/usr/local/share/icons" || ($NULLFS /usr/local/share/icons "${pDir}/virtbase/usr/local/share/icons" ; $MNTSLEEP ) 
    120120   fi 
    121121 
     122   # Support for some font packages(example: japanese/font-vlgothic) 
     123   for fontdir in /usr/local/share/font-* 
     124   do 
     125      subdir=`basename $fontdir` 
     126      if [ ! -d "${pDir}/virtbase/usr/local/share/$subdir" ]; then 
     127         mkdir "${pDir}/virtbase/usr/local/share/$subdir" 
     128      fi 
     129      is_mounted "${pDir}/virtbase/usr/local/share/$subdir" || ($NULLFS /usr/local/share/$subdir "${pDir}/virtbase/usr/local/share/$subdir" ; $MNTSLEEP ) 
     130   done 
     131 
    122132   # Check if we need to mount linprocfs in the PBI container 
    123133   if [ -d "${pDir}/virtbase/compat/linux/proc" ] ; then 
    124134      is_mounted "${pDir}/virtbase/compat/linux/proc" || (mount -t linprocfs linproc "${pDir}/virtbase/compat/linux/proc" ; $MNTSLEEP )