[wpkg-users] Determine profile based on hardware quirks?

Marco Gaiarin gaio at sv.lnf.it
Mon Jan 19 09:16:35 CET 2015


Mandi! Stefan Pendl
  In chel di` si favelave...

> I use it for an include inside of a package, but conditions are
> supported everywhere, where you can use extended host matching.
> You can use it where ever you see fit.

...probably i've looked in the wrong place, or for wrong keyword in
changelog.

  <profile id="test">

    [...]

    <package id="7tweaks-ssd" >
      <condition>
        <check type="execute" condition="exitcodeequalto" path="%WPKG_ROOT%\tools\IsSystemSSD.cmd" value="0" />
      </condition>
    </package />

    [...]

  </profile>

right? Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list