Ignore:
Timestamp:
Sep 27, 2013 12:42:41 PM (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
5119a91
Parents:
813b031
Message:

Started hacking on the PBI10 format, switch to storing data in
a geom_uzip container for starts

This will eventually allow us to "run" apps directly from the
downloaded PBI file, without going through the installation process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager10/install.sh

    r651bd28 r393790b  
    66if [ $verCheck -lt 1000000 ] ; then 
    77  # This version is for FreeBSD >= 10 
    8   exit 0 
     8  #exit 0 
    99fi 
    1010 
     
    5353do 
    5454  rm ${LB}/man/man1/${i}.gz >/dev/null 2>/dev/null 
    55   cp man1/${i} ${LB}/man/man1/${i} 
     55  gzip -c man1/${i} > ${LB}/man/man1/${i}.gz 
    5656done 
    5757 
     
    6060do 
    6161  rm ${LB}/man/man5/${i}.gz >/dev/null 2>/dev/null 
    62   cp man5/${i} ${LB}/man/man5/${i} 
     62  gzip -c man5/${i} > ${LB}/man/man5/${i}.gz 
    6363done 
    6464 
     
    6868do 
    6969  rm ${LB}/man/man8/${i}.gz >/dev/null 2>/dev/null 
    70   cp man8/${i} ${LB}/man/man8/${i} 
     70  gzip -c man8/${i} > ${LB}/man/man8/${i}.gz 
    7171done 
    7272 
     
    8383 
    8484# If this is a new install, add the PC-BSD master repo 
    85 if [ ! -d "/var/db/pbi/keys" ] ; then 
    86         pbi_addrepo ${DIR}/repo/pcbsd.rpo 
    87 fi 
     85#if [ ! -d "/var/db/pbi/keys" ] ; then 
     86#       pbi_addrepo ${DIR}/repo/pcbsd.rpo 
     87#fi 
    8888 
    8989# Copy the default PC-BSD repo file 
     
    9797cp ${DIR}/etc/pbi.conf ${LB}/etc/pbi.conf 
    9898 
    99 if [ ! -d "/usr/pbi" ] ; then mkdir /usr/pbi ; fi 
    100  
    10199# Create the wrapper binary 
    102100cd ${DIR}/wrapper 
     
    104102  # Build 32bit wrapper 
    105103  echo "Building i386 wrapper..." 
    106   rm .pbiwrapper >/dev/null 2>/dev/null 
     104  rm pbiwrapper >/dev/null 2>/dev/null 
    107105  make clean 
    108106  make DEFINES="-mtune=i386 -march=i386 -m32" 
    109107  make install 
    110   chown root:wheel /usr/pbi/.pbiwrapper  
    111   chmod 644 /usr/pbi/.pbiwrapper 
    112   mv /usr/pbi/.pbiwrapper ${LB}/share/pbi-manager/.pbiwrapper-i386 
     108  chown root:wheel pbiwrapper  
     109  chmod 644 pbiwrapper 
     110  mv pbiwrapper ${LB}/share/pbi-manager/.pbiwrapper-i386 
    113111else 
    114112  touch ${LB}/share/pbi-manager/.pbiwrapper-i386 
     
    119117DEFINES="" 
    120118export DEFINES 
    121 rm .pbiwrapper >/dev/null 2>/dev/null 
     119rm pbiwrapper >/dev/null 2>/dev/null 
    122120make clean 
    123121make DEFINES="" 
    124122make install DEFINES="" 
    125 chown root:wheel /usr/pbi/.pbiwrapper  
    126 chmod 644 /usr/pbi/.pbiwrapper 
    127 mv /usr/pbi/.pbiwrapper ${LB}/share/pbi-manager/.pbiwrapper-`uname -m` 
     123chown root:wheel pbiwrapper  
     124chmod 644 pbiwrapper 
     125mv pbiwrapper ${LB}/share/pbi-manager/.pbiwrapper-`uname -m` 
     126cp ldconfig ${LB}/share/pbi-manager/ldconfig-pbi 
Note: See TracChangeset for help on using the changeset viewer.