Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Try a 16bit pass-through command if the 12bit version fails. Haven't
seen any cases in which this actually happens so for the time being it
does not make any difference
  • Loading branch information
RJVB committed May 21, 2012
1 parent 35b98ee commit 1a2790a
Show file tree
Hide file tree
Showing 8 changed files with 109 additions and 33 deletions.
4 changes: 2 additions & 2 deletions Resources/postinstall.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
chmod -R go-w /System/Library/Extensions/SATSMARTDriver.kext
chmod -R go-w /System/Library/Extensions/SATSMARTLib.plugin
chmod -R go-w /System/Library/Extensions/SATSMARTDriver.kext /System/Library/Extensions/SATSMARTLib.plugin
chown -R root:wheel /System/Library/Extensions/SATSMARTDriver.kext /System/Library/Extensions/SATSMARTLib.plugin
3 changes: 3 additions & 0 deletions Resources/preinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
kextunload -v -b org.dungeon.driver.SATSMARTDriver
exit 0
Binary file modified SATSMARTDriver-0.41.dmg
Binary file not shown.
2 changes: 1 addition & 1 deletion SATSMARTDriver.pmdoc/01root-contents.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<pkg-contents spec="1.12"/>
<pkg-contents spec="1.12"><f n="Root" o="bertin" g="bertin" p="16877" pt="/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/Root" m="false" t="file"><f n="System" o="bertin" g="bertin" p="16877"><f n="Library" o="bertin" g="bertin" p="16877"><f n="Extensions" o="bertin" g="bertin" p="16877"><f n="SATSMARTDriver.kext" o="bertin" g="bertin" p="16877"><f n="Contents" o="bertin" g="bertin" p="16877"><f n="Info.plist" o="bertin" g="bertin" p="33188"/><f n="MacOS" o="bertin" g="bertin" p="16877"><f n="SATSMARTDriver" o="bertin" g="bertin" p="33188"/></f><f n="Resources" o="bertin" g="bertin" p="16877"><f n="English.lproj" o="bertin" g="bertin" p="16877"><f n="InfoPlist.strings" o="bertin" g="bertin" p="33188"/></f></f></f></f><f n="SATSMARTLib.plugin" o="bertin" g="bertin" p="16877"><f n="Contents" o="bertin" g="bertin" p="16877"><f n="Info.plist" o="bertin" g="bertin" p="33188"/><f n="MacOS" o="bertin" g="bertin" p="16877"><f n="SATSMARTLib" o="bertin" g="bertin" p="33261"/></f></f></f></f></f></f></f></pkg-contents>
2 changes: 1 addition & 1 deletion SATSMARTDriver.pmdoc/01root.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<pkgref spec="1.12" uuid="8F0C944E-6009-492E-955D-09141AF5DAFE"><config><identifier>org.dungeon.satsmartdriver.Root.pkg</identifier><version>1.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Root</installFrom><installTo>/</installTo><flags><followSymbolicLinks/><updateInstalledLanguagesOnly/><mod>updateInstalledLanguagesOnly</mod></flags><packageStore type="internal"></packageStore><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>scripts.postinstall.isRelativeType</mod><mod>parent</mod><mod>installTo</mod></config><scripts><postinstall relative="true" mod="true">Resources/postinstall.sh</postinstall><scripts-dir relative="true" mod="true">Resources</scripts-dir></scripts><contents><component id="org.dungeon.driver.SATSMARTDriver" path="/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/Root/System/Library/Extensions/SATSMARTDriver.kext" version="1.1"/><component id="org.dungeon.driver.SATSMARTLib" path="/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/Root/System/Library/Extensions/SATSMARTLib.plugin" version="1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
<pkgref spec="1.12" uuid="8F0C944E-6009-492E-955D-09141AF5DAFE"><config><identifier>org.dungeon.satsmartdriver.Root.pkg</identifier><version>1.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">Root</installFrom><installTo>/</installTo><flags><followSymbolicLinks/><updateInstalledLanguagesOnly/><mod>updateInstalledLanguagesOnly</mod></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>scripts.preinstall.isRelativeType</mod><mod>parent</mod><mod>version</mod><mod>scripts.postinstall.isRelativeType</mod><mod>installFrom.isRelativeType</mod></config><scripts><preinstall relative="true" mod="true">Resources/preinstall.sh</preinstall><postinstall relative="true" mod="true">Resources/postinstall.sh</postinstall><scripts-dir relative="true" mod="true">Resources</scripts-dir></scripts><contents><file-list>01root-contents.xml</file-list><component id="org.dungeon.driver.SATSMARTDriver" path="/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/Root/System/Library/Extensions/SATSMARTDriver.kext" version="1.1"/><component id="org.dungeon.driver.SATSMARTLib" path="/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/Root/System/Library/Extensions/SATSMARTLib.plugin" version="1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
2 changes: 1 addition & 1 deletion SATSMARTDriver.pmdoc/index.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<pkmkdoc spec="1.12"><properties><title>SATSMARTDriver</title><build>/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/SATSMARTDriver.pkg</build><organization>org.dungeon</organization><userSees ui="easy"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="Root" id="choice10" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.dungeon.satsmartdriver.Root.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
<pkmkdoc spec="1.12"><properties><title>SATSMARTDriver</title><build>/Volumes/Debian/Users/bertin/work/src/MacOSX/OS-X-SAT-SMART-Driver/SATSMARTDriver.pkg</build><organization>org.dungeon</organization><userSees ui="easy"/><min-target os="3"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="Root" id="choice10" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.dungeon.satsmartdriver.Root.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 NovareseITCbyBT-Book;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
Expand Down
Loading

0 comments on commit 1a2790a

Please sign in to comment.