[Bug 22] New: make wpkg.js operating system aware

bugzilla-daemon at wpkg.org bugzilla-daemon at wpkg.org
Wed Mar 22 05:15:49 CET 2006


Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=22

           Summary: make wpkg.js operating system aware
           Product: WPKG
           Version: 0.9.6-test2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at mch.one.pl
        ReportedBy: bill at shirleyfamily.net
         QAContact: wpkg-users at lists.wpkg.org


I have a many computers that dual boot Windows 98 and Windows XP.  Windows XP
sets the environment varible %OS% to "Windows_NT".  With this modification,
wpkg.js will match "os" in hosts.xml if it is there.  Example:

    <host name="Bigbird" profile-id="Bigbird-WinXP" os="Windows_NT" />
    <host name="Bigbird" profile-id="Bigbird-Win98" />

Note that an os specific entry must precede a non-os specific entry for this to
work!!

Test this by running on an XP machine:

\\server\pathToWPKG\wpkg.js /synchronize /dryrun /debug

then in hosts.xml change os="Windows_NT" to os="garbage" and rerun above
command.  Notice a different profile selection based on the os matching.

I will include the patch as an attachment.

-- 
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wpkg-users mailing list