Different package download depending on some criteria?

For example, I was considering packaging the madwifi driver when another stable release is made (since it is apparently bad form to do it from CVS).  However, it must be compiled for 2.6 and 2.4 kernels differently since it is a kernel module.
Is there a way to pick versions?  For example, if `uname -r | grep 2.6` contains data (to avoid custom kernels and stuff not being detected), download the 2.6 version, or else the 2.4 version.
If not, is this why there are no kernel dependent packages?

It is only complicated because you don't want to change anything about the current system.
We must trust that the user has a bit of sense, and can work around the obvious failure cases, like booting into a stock kernel only to download the module.  However, giving some degree of autonomy to the process would allow easier upgrades as I have said before.
I only mentioned abs because it provided an easier way to handle custom kernels - you can ensure the stock kernel has whatever options are required (assuming some are needed), but not with a custom one.
If you can't have packages be dependent on the kernel package, you don't want to have a "custom kernel" dependency, and you don't want to change pacman, then the only option I see is two versions, module26 and module24, that the user chooses to sync with.

Similar Messages

  • How can I modify one column of current and next record depending of some criteria?

    Having DDL
    CREATE TABLE #ServiceChange(
    [ID] [int] identity(1,1),
    [SHCOMP] [char](2) NOT NULL,
    [SHCRTD] [numeric](8, 0) NOT NULL,
    [SHCUST] [numeric](7, 0) NOT NULL,
    [SHDESC] [char](35) NOT NULL,
    [SHTYPE] [char](1) NOT NULL,
    [SHAMT] [numeric](9, 2) NOT NULL,
    [CBLNAM] [char](30) NOT NULL,
    [GROUPID] [char](2) NULL
    And original and desire data in below link
    https://www.dropbox.com/sh/bpapxquaae9aa13/AADnan31ZASublDjN7sa2Vvza
    I would like to know how can I modify one column of current and next record depending of some criteria using SQL2012?
    The criteria is:
    Type should always flow F->T
    if current abs(amount)> next abs(amount) then groupid = 'PD'
    if current abs(amount)< next abs(amount) then groupid = 'PI'
    there is no case when those amounts will be equals
    where current(custid) = next(custid) and current(service) = next(service) and groupid is null
    Any help will be really apreciated.
    Thank you

    I tried that and got this error
    'LAG' is not a recognized built-in function name.
    You said you were using SQL 2012, but apparently you are not. The LAG function was added in SQL 2012. This solution works on SQL 2005 and SQL 2008:
    ; WITH numbering AS (
       SELECT groupid,
              rowno = row_number()  OVER (PARTITION BY custid, service ORDER BY date, id)
       FROM   #ServiceChange
    ), CTE AS (
       SELECT a.groupid,
              CASE WHEN abs(a.amount) < abs(b.amount) THEN 'PD'
                   WHEN abs(a.amount) > abs(b.amount) THEN 'PI'
              END AS newgroupid
       FROM  numbering a
       JOIN  numbering b ON b.custid  = a.custid
                        AND b.service = a.service
                        AND b.rowno   = a.rowno - 1
    UPDATE CTE
    SET   groupid = newgroupid
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Making a field read only (and bound) or editable depending on some criteria

    Hi,
    I am using Netweaver 2004s SP15 and Adobe Lifecycle Designer 7.1 with Web Dynpro for Java.
    I am generating a PDF that contains a number of fields that are bound context values attribues.
    Now I know according to certain criteria if any given field will have a value....
    Now if such a given field has a value then it must populate the Adobe form and make that field read-only - so it can not be changed.
    However, if that field has no value.. instead I need to make it editable.
    I am re-implementing the application this will be used within; and the previous version had 8 different interactive forms to cater for the 8 different possible combinations of fields that would not have values.
    I would really really prefer to have one interactive form to maintain with logic in it that determines dynamically if a field should be read-only or editable. (For example I could have a boolean context node that could be used)
    Am I doomed to have to create 8 different forms? Or is there a way of doing this smarter?
    Thanks to anyone who can point me to the light,
    Ilan

    hmmm....
    I did a search through the forum using the phrase "javascript" and it turned out a lot posts that indicate that this should indeed be possible.
    I am boggled, the original application was developed by an Indian outsourcing company that is well respected. The developer who took over maintenance of it told me that it was impossible to change the read only nature of the fields once set at design-time.
    My search through the forum has turned up much to indicate that this design was idiotic and the "facts" I was given completely wrong.
    grrrrrrrrrrrrrrrrr... I am marking this as answered now. I will have to learn some javascript.
    Are there any caveats for using it within WDJ?
    I am assuming I can do something simple in pseudo-code.. (I will need to work out the Javascript version).
    if (hasOption1) {
      field.readonly = true;
      field.style = sunken;
    else if (hasOption2) {
    else if (hasOption3) {
    etc
    (There are only actually 3 options that can change.. but that results in 8 different possible forms)

  • Plot different data set depending of some conditions using labview and veristand

    Hi Community,
    i have a couple of points saved as XY data points on my desktop.  The files are save as csv.  the idea is to read the file utilizing the Read From Spreadsheet File vi when some conditions are met and then plot the XY data wiht XY Graph Addon of the veristand workspace.
    for instance:
    if case 1 is true read the corresponding file and then plot the first set of data
    if case 2 is true read the corresponding file and then plot the second set of data
    if case n is true read the corresponding file and then plot the n set of data.
    Could you give some advices how to implement it (Labview and Veristand)?
    I'm using LV and NIVS 2012
    Thx
    Mich
    Attachments:
    vide.vi ‏35 KB

    Hi Michel,
    I believe the easiest method will be to use the VeriStand .NET API to call into VeriStand and utilize LabVIEW for creating the decision making cases that you have.  I have attached some examples of using the VeriStand API in LabVIEW.
    Using the NI VeriStand .NET API in LabVIEW to Control a VeriStand System
    https://decibel.ni.com/content/docs/DOC-32268
    Where Can I Find LabVIEW Examples Using the NI VeriStand API?
    http://digital.ni.com/public.nsf/allkb/E1066949FA67B6CE862578A7005988D5?OpenDocument
    Please let me know if this helps.
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Command Line Compilation of  a Project with different packages

    Hi,
    I am trying to compile a project through command line, which has different packages with many classes in it. Now If I try to compile package by package It's complaining about other referenced classes of different packages. So I created .bat file, which includes all the packages, but it's complaining input line is too long.
    D:\jdk1.3.1\bin>app.bat
    My bat file is
    javac -d d:\Application\build d:\Application\source\com\ibc\rules\login\*.java d:\Application\source\com\ibc\rules\lookup\*.java .................d:\Application\source\com\ibc\wid\events\*.java d:\Application\source\com\ibc\wid\frames\cust\*.java ...
    and so on............
    Is there any solution for this problem?
    Thanks in advance....

    I think the prefered and more elegant way to compile project including packages should be writing makefiles including their compilation, installation, deploying - rules ..
    Make is really powerful, the maybe only weak-point is that there are some distribution of them, gnu-make, microsoft nmake .. which are slightly different, that made porting among platforms difficult.
    The jakarta-ant was a new approach to this which uses xml parser to proof the dependencies, etc ..
    Because I'm not familiar yet with xml & ant and as a in-blooded unix user, "make" is still my prefered way to do roject.
    The easiest way to get unix environment required for using make in Windows platforms is to download the "unxutils". It includes make, bzip2, diff, ... and other unix-tools. Refer to this (found from search by google) :
    http://www.weihenstephan.de/~syring/win32/
    http://www.weihenstephan.de/~syring/win32/UnxUtils.zip
    http://sourceforge.net/projects/unxutils/
    For more documentation on how to write makefile, use make -tool, see
    http://www.gnu.org/manual/
    http://www.gnu.org/manual/make-3.79.1/html_mono/make.html

  • When i download any file it start in a second but when i pause the downloading file & after some time when i open it amessage flash 'download error' source file could not be read please try again later or contact the server administrator.

    when i download any file it works frequently and downloading start in a second but when i pause the downloading file & after some time when i open it,The downloading not start proper and after some time a message flash 'download error' source file could not be read please try again later or contact the server administrator.

    I downloaded the Microsoft Autoruns package and ran it.  There are no programs in the LSA Providers tab, and Apple's Bonjour is the only program in the Winsock Providers tab.  I also did the "netsh winsock reset" and rebooted.  It didn't fix the problem.  Any more ideas?

  • Create Classes In Different Packages With Error-free Importing

    Hello,
    I'd like to create a class which inherits from another class from some other package. So I use "import" keyword to involve the class to build my new class on. However, I hope my new class can be in its own package which is different with one the base class is in. To make it clear, please see the example below:
    There are two folders, with name c08 and c09 respectively, in C:\Java which I created for this case. I set the environment variable as C:\Java. There is no problem. Then I saved file "Inter.java" in C:\Java\c08. It's source code is as below:
    package c08;
    public interface Inter {
         void play ();
         void action ();
    And another "Test.java" is saved in C:\Java\c09. Source code as below:
    package c09;
    import c08.*;
    public class Test {
    protected class PC implements Inter {
              public void play () {
                   System.out.println("Play()");
              public void action () {
                   System.out.println("Action()");
    It was successfully compiled for "Inter.java". But when comes to "Test.java", it failed with error message of something like "Cannot find the interface Inter". I tried some other ways and I didn't get any results.
    I hope to create a class using classes from some other packages while keeping the new one in a different package. How can this be done? (I am currently doing this in J2SE 1.4.01 under Windows XP Home Edition)
    Thank you!
    Best Regards
    Felix

    I copied and pasted your code as well as made c08 and c09 directories. I had no errors compiling. I am using NT, but it appears that your problem is Classpath related. You can try to CD to the C:\Java directory and compile using "javac c09\Test.java" That's the command I used.

  • Function Groups of different package in ECC 6

    Hi,
    I am facing a very peculiar problem with using an Include in two different function groups in different packages.
    We are moving from R/3 4.6C to ECC 6.
    Now FG1 in PKG1 has an Include1 which uses a <b>parameter defined in a function module</b> in same packge PKG1. Its works fine.
    And FG2 in PKG2 also has this include1 defined in main program. now when checking the FG2 it reports an error message in that include at that parameter,  which is defined in the interface of function module defined in FG1 .
    Now whne I read the documentation of a Pacakge it tell me that some visibility and use access concepts has been introduced. Please check the same and tell me if this error could be because of that.
    Also To add here taht when i double click on the parameter in FG2 it takes me to the function module which has the defination however still throws an error.
    And when i try to simulate similar thing in my own Z packges even the Doble click forward navigation doesn't work.
    thanks in advance.
    regards,
    Vikas<b></b>
    Message was edited by:
            Vikas Taneja

    Hi Vikas,
    CAn you tell the names if they are standard FM and includes.
    Regards,
    Atish

  • I can't download Lightroom for some reason.  I keep getting this error:  Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW006 ...  -------------------------------------- Summary ------------------------------------

    I can't download Lightroom for some reason.  I keep getting this error:
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR: DW006 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s)
    ----------- Payload: Adobe Photoshop Lightroom 5 5.4.0.0 Adobe Photoshop Lightroom 5.pkg_5.4 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1

    Link for Download & Install & Setup & Activation problems may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • Representing different packages of a product

    Dear colleagues,
    Some time ago I posted a thread about the different ways to represent in the system different packages of the same product and I got some useful hints how it can be set up in the system, especially from "Dogboy49", who I am very grateful to.
    My client would however know about real life cases of how companies handle such requirement. Here are the two options again:
    1. Having one material number for the product where the different packaging levels are represented as units of measure - this is our current set-up. The problem is when a new box size is introduced it requires copying the whole product to the new number, with all its units of measure, and changing just one of the units.
    2. Alternative layout where each packaging level gets own material number and the different numbers of the same product linked by BOM.
    The second approach seems to be the dominating one. Therefore I would really like to come in contact with anybody who works with such layout in the material master and place specific questions about how different issues have been solved.
    TIA
    Raf

    Rafael,
    My company has used Strategy 82.  Although we are electronic component manufacturers, the concept is similar - the particular product line could be packaged as 'Tape & Reel', 'Tray Pack', "Ammo Pack", "Bulk Pack", and many others.  Yet, the business was both unwilling and unable to place FGs product into stock in a time frame that met the requirements of the marketplace.  Breaking down existing FGs pack for possible re-pack was very expensive.  In this business model, each different packing style was given a different FGs part number, but ATP was performed on the basis of the SemiFinished Goods stock and supply elements.
    We eventually abandoned this method, once the manufacturing production line was moved offshore.  During the move, the production line was rebuilt and upgraded, the raw material supply chain was improved, and we changed our business model to straight MTO without forecast (build each order from scratch).
    If your client is feeling adventurous, SAP SCM also offers "Rules Based Availability (RBA) checking" within their 'Global ATP" module.  There is a much richer selection of ATP processes in SCM.
    Best Regards,
    DB49

  • How can we assign sproxy generated objects to a different package?

    Hello Expert,
    We need to change the package assigment of sproxy generated DDIC objects. How can we assign sproxy generated objects to a different package?
    Regards,
    Thulasi

    Any idea?

  • Hi Can anyone please tell me from where I cn download the Photoshop CS6 program I purchased a download (media less) some 2 years ago and all has been OK up to know but I am know having issues and would like to uninstall and reinstall. I have the revelant

    Hi Can anyone please tell me from where I can download the Photoshop CS6 program I purchased a download (media less) some 2 years ago and all has been OK up to know but I am know having issues and would like to uninstall and reinstall. I have the relevant codes and activation keys but would need to be sure I can obtain the program again before I start. Thank you

    Make sure you are dealing with the correct product for the serial number.  If the serial number is for a full creative suite then you need to get the suite, not the individual application, and vice versa.
    Unrelated to that, in case it helps, here is a link to another site.  You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • How to instantiate a class from a different package?

    I am trying to instatiate a class in a package: a.b.c from another class in a different package: d.e.f
    How could I do so?
    I've already been trying many things but didn't manage to get it to work...

    Did you include both jar files in your classpath? Use
    the -cp option of the java interpreter to specify your
    classpath.Well, I tried adding the jar file to the classpath, without any success...
    String path = getClass().getProtectionDomain().getCodeSource().getLocation().toString();
                   String finpath = "";
                   for(int i=6;i<path.length();i++)
                        finpath = finpath+path.charAt(i);
                   System.setProperty("java.class.path",System.getProperty("java.class.path")+";"+finpath+"mm.mysql-2.0.14-bin.jar/");That's what I did and it didn't work...
    If you "unpack" the jars see if there is the correct
    packages-folders symmetry...Yes, the classes are in the package-folders they should be in..

  • How to display different Splash Screen depending on the Locale?

    Hi,
    I have a splash screen which is working fine.
    I want to display different spalsh screen depending on the locale the user has.
    Is this possible.
    I can display different Title,Description and the text of the short-cut icon on desktop and startup Menu based on the locale by mentioning it in the JNLP and altering my browser settings. I am not able to use the icon and splash screen corresponding to the specified locale. How to do this?
    EX:
    <information>
    <title> In english</title>
    <description> In english</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in English language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_english.gif"/>
    <icon kind="splash" href="images/splash_english.jpg"/>*
    <!-- locale="nl-NL" specifies dutch -->
    </information>
    <information locale="nl-NL">
    <title> In Dutch</title>
    <description>In Dutch</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in Dutch language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_dutch.gif"/>
    <icon kind="splash" href="images/splash_dutch.jpg"/>*
    </information>
    *Now here i am not getting the splash_dutch screen for the locale "nl-NL"(Dutch) and i am getting splash_english screen.
    Can we acheive this?*

    Hi anjali...
    I have problem with splash screen..
    here is my jnlp file
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/MyProject">
         <information>
              <title>MyProject1.0</title>
              <vendor>none</vendor>
              <description>Application Launcher For MyProject1.0</description>
              <description kind="short"></description>
              <offline-allowed />
              <icon kind="splash" href="images/Splash_MyProject.jpg" width="560" height="300"/>
         </information>
         <resources>
              <jar href="SwingApplication/mysql-connector-java-5.0.6-bin.jar" />
              <jar href="SwingApplication/MyProject1.0.jar" main="true"/>
              <jar href="SwingApplication/liquidlnf.jar" />
              <j2se version="1.6+" java-vm-args="-Xms32M -Xmx256M " />
         </resources>
         <security>
              <all-permissions/>
         </security>
         <application-desc main-class="com.mobius.ui.MainWindow">
              <argument>production%0%3#com.mysql.jdbc.Driver#MyProject4%jdbc:mysql://10.100.1.89:3306/MyProject4%MyProject%info123#MyProject2%jdbc:mysql://10.100.1.89:3306/MyProject2%MyProject%info123</argument>
         </application-desc>
    </jnlp>my post is in
    http://forum.java.sun.com/thread.jspa?threadID=5298381
    http://forum.java.sun.com/thread.jspa?threadID=5298466
    I am in big problem Help me...
    Edited by: arunnprakash on May 22, 2008 1:28 PM
    Edited by: arunnprakash on May 22, 2008 1:28 PM

  • Every time i download a album some of the songs get cut in half

    every time i download a album some of the songs get cut short. what is causing that to happen?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks from your iTunes library, close and then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unticked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

Maybe you are looking for

  • My short lived iPod Touch experience - constant crashing.

    Hi there, this is my first post so I'd just like to start by stating I'm in no way here to bash Apple. I think Apple offers a product that is mostly unrivalled in build quality and function. It unfortunate though that when things go wrong there is li

  • PSE 7 on a netbook

    I've installed PSE 7 on my net book.  When I go to the print preview page, it is too big for the screen.  I can't find any way to make it smaller (no little grab bars on the edges and won't move with right click). I can't get to any of the buttons (p

  • Flip clock effect with a text

    Hi, I have a little problem. I really like "flip clock effect" (you can see it in this video at the end with words "Your Gateway To The World Of Creativity"). Can you, please, help me? How can I make this effect in Adobe After Effects CS6? Tank you e

  • Additional Data B data not visible

    Hi Firends, I have my data coming in Additional Data B at item level from a Z table. The scenario is for Credit notes. I have created debit notes copying credit notes document type, but the data is not coming in Additional Tab B. There are 2 client o

  • Please explain extents (minextents & maxextents)

    hi all, Please explain extents (minextents & maxextents) Regards