summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-03-07Use udev hwdb API to get device informationHEADmasterChristophe Fergeau3-3/+134
2013-03-05spec: Don't require udev on newer distrosChristophe Fergeau1-0/+2
96c66b8 disabled building of the udev rule on newer Fedoras, however the .spec still has a Requires: udev, which is not relevant when the udev rule is not built.
2013-03-05Allow to use system pci.ids/usb.ids filesChristophe Fergeau3-12/+49
Most distros already ship copies of pci.ids/usb.ids. This commit allows to make use of these rather than the ones shipped with libosinfo. This is achieved through the use of --with-usb-ids-path and --with-pci-ids-path configure flags.
2013-03-05spec: Add explicit dep on pod2manCole Robinson1-0/+1
pod2man used to be in the default Fedora build root, but that's changed in current rawhide. The containing package is perl-podlators, but since that package doesn't exist on F18 and earlier, it's easiest just to depend on the needed binary.
2013-03-04Release 0.2.5Zeeshan Ali (Khattak)2-1/+20
2013-03-04Add identification data for win7sp1 checked buildChristophe Fergeau2-1/+30
Data kindly provided by Alon Levy.
2013-03-04win8: Use complete IDs of installer scriptsZeeshan Ali (Khattak)1-1/+2
This fix combined with previous 2 patches enable apps to create unattended installation for Windows 8.
2013-03-04win7,installer: Adapt for Windows 8Zeeshan Ali (Khattak)1-12/+6
Win8 seems to require Microsoft-Windows-Setup/UserData/ProductKey/Key to be set, which seems to be exclusive with using Microsoft-Windows-Setup/ImageInstall/OSImage/InstallFrom/MetaData (or at least some care needs to be taken when using both together). As letting the Windows installer decide on which OSImage to use from the product key rather than hardcoding use of the first OSImage on the ISO seems more robust, we switch from InstallFrom installation image selection to ProductKey installation image selection. Co-author: Christophe Fergeau <cfergeau@redhat.com>
2013-03-04installer,win7: Require product keyZeeshan Ali (Khattak)1-2/+2
It turns out that windows installer media can have multiple products and product key is one of the ways for windows to choose which product to install. In case of Windows 8, unattended installation breaks if a product is not choosen as part of autounattend.xml file. Since we already require product key for windows XP and we'll use this same script for Windows 8 too, its not too bad to start requiring this for Windows 7 as well. Also, the product key will be used to automatically activate the Windows copy during unattended installation rather than requiring the user to do it him/herself at most 30 days after installation. Moreover, the following patch that removes /IMAGE/INDEX, will break unattended install without a product key in place. Co-author: Christophe Fergeau <cfergeau@redhat.com>
2013-03-01installer,win7: Use post-installation scriptZeeshan Ali (Khattak)2-0/+25
Launch post-installation setup file, windows.cmd at the end of Windows 7 installation as well. This combined will previous patches in this series, enables out of the box installation of virtio, and QXL drivers and vdagent for apps making use of our post-installation drivers API (currently only Boxes).
2013-03-01installer,win7: Adapt windows-cmd.xml for Windows 7Zeeshan Ali (Khattak)1-0/+21
On Windows 7, we need to make use of integrated bcdedit.exe to enable test signing and disable integrity checks before we could attempt to install (possibly) unsigned drivers. We use the same app to disable test signing and enable integrity checks after installing drivers. Since bcdedit.exe does not exist in Window XP, we don't use it on that OS. Moreover, since the registry key manipulation on Windows 7 does not help anything, we better not fiddle with those on Windows 7 as doing so is always discouraged. Also since the certutil.exe thats used by driver's .cmd file to add driver publisher to trusted list does not exist on Windows XP, we have to continue resorting to registry fiddling to enable installation of drivers from untrusted publishers for Windows XP. While we are talking about win7, you'll note that the checks are for vista (6.0 rather than 6.1). This is because the same changes will also be most probably needed for vista: http://www.overclock.net/t/187919/how-to-disable-driver-signature-enforcement-in-vista
2013-02-27win7,winxp: Add new driver files of virtio/QXL driversZeeshan Ali (Khattak)1-0/+8
These are publisher certificates that the driver's .cmd file use to silence Windows 7 installer warning about untrusted publisher. Obviously such a warning dialog that requires user interaction breaks unattended installation for apps. Although these are (at least currently) redundant for Windows XP, we better list them for completion/consistency.
2013-02-25installer,windows: Use '/c' option of cmd.exeZeeshan Ali (Khattak)1-1/+1
Use '/c' option of cmd.exe instead of '/k' as that apparently keeps the process running (at least on windows7) and any commands after the loop never gets executed. TBH I'm a bit confused about '/c' vs '/k' option and the docs don't help: http://technet.microsoft.com/en-us/library/bb490880.aspx#EBAA What I know for certain is that without this change, Windows 7 installer just hangs with an empty cmd.exe window open forever at the end of installation. Also I have tested that this change doesn't break this script for Windows XP.
2013-02-25installer,windows: Minor indentation fixesZeeshan Ali (Khattak)1-12/+12
2013-02-22Add pod2man dep to mingw-libosinfo.spec.inDaniel P. Berrange1-0/+2
2013-02-22Fixes to mingw RPM spec from FedoraDaniel P. Berrange1-10/+9
Remove the .la files. Remove the man pages Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-02-21Formalize architecture names to align with libvirtDaniel P. Berrange9-111/+151
The libosinfo database is using a arbitrary unchecked mix of architecture names. Libvirt has defined a canonical set of architectures, so copy that across to the RNG schema and then update the data to match. The main change is that i386, i486, i586, all merge to just i686, since in practice these differences haven't mattered for at least 15 years now. The 'hppa' arch for Ubuntu images is changed to 'parisc'.
2013-02-20Release 0.2.4Zeeshan Ali (Khattak)1-0/+24
2013-02-19spec: Disable udev rule on newer FedorasChristophe Fergeau1-1/+14
Changes in udev > 197 and libblkid > 2.22.2 have made this rule obsolete.
2013-02-19Add forgotten ignore-value.h to buildZeeshan Ali (Khattak)1-0/+1
Fixes `make distcheck`
2013-02-18winxp,installer: Make use of post-installation driversZeeshan Ali (Khattak)1-0/+18
2013-02-18winxp,win7: Add virtio & QXL device drivers infoZeeshan Ali (Khattak)1-0/+43
Add an all-in-one virtio and QXL device driver setup binary to Windows XP and 7. This needs to be listed separately from virtio block driver as not all of these are pre-installable. Same binary also installs spice-vdagent for us.
2013-02-18winxp,installer: Log post-install commandsZeeshan Ali (Khattak)1-1/+1
Redirect stdio and stderr of post-install commands to a file on target disk. We put it in 'c:\windows' because thats where windows puts its own installation log files.
2013-02-11Use gnulib's ignore-value.h to silence gccChristophe Fergeau2-13/+53
osinfo_loader.c contains a few local hacks to avoid gcc warnings about set-but-not-read variables. While they are good to silence gcc, they also cause warnings from the Coverity checker. Use the ignore_value() macro from gnulib to avoid these warnings as they don't cause Coverity warnings.
2013-02-11osinfo-detect: Fix segfault with non bootable mediaCole Robinson1-1/+1
With a movie DVD in my drive: $ osinfo-detect -f env /dev/cdrom OSINFO_BOOTABLE=0 ** (osinfo-detect:24211): CRITICAL **: osinfo_db_identify_media: assertion `OSINFO_IS_MEDIA(media)' failed (osinfo-detect:24211): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed Segmentation fault (core dumped) We weren't exiting after detecting the media as non bootable. https://bugzilla.redhat.com/show_bug.cgi?id=901910
2013-02-11.gitignore: Add latest hypervisors and osesCole Robinson1-0/+3
2013-02-11install-script tool: Fix compiler warningCole Robinson2-2/+4
osinfo-install-script.c: In function 'main': osinfo-install-script.c:245:19: error: 'dir' may be used uninitialized in this function [-Werror=maybe-uninitialized] osinfo-install-script.c:196:12: note: 'dir' was declared here And add me to AUTHORS to appease syntax-check
2013-02-11spec: Switch URL to libosinfo.orgChristophe Fergeau1-1/+1
Now that libosinfo has an official website, let's point the .spec at it.
2013-02-07winxp,installer: Don't assume script disk is specifiedZeeshan Ali (Khattak)1-1/+13
Declare that script optionally uses script disk if specified and hardcode a fallback for the case when its not specified.
2013-02-07install-script tool: Display names of generated filesZeeshan Ali (Khattak)1-0/+5
Also add a commandline option (-q/--quiet) to disable this behavior.
2013-02-07Add Marc-André to AUTHORSZeeshan Ali (Khattak)1-0/+1
Fixes `make syntax-check`
2013-02-07install-script tool: Take GFile creation out of the loopZeeshan Ali (Khattak)1-2/+4
Also, unref the GFile when done.
2013-01-31Remove unused 'priv' variable from _init methodsChristophe Fergeau33-93/+34
In most instance _init() methods, the instance priv member is initialized, but a local 'priv' variable was also declared and assigned, but not actually used. Kill this intermediate variable as this causes Coverity warnings.
2013-01-31Add QEMU/QEMU-KVM hypervisor dataChristophe Fergeau4-1/+214
2013-01-22Don't redefine _FORTIFY_SOURCE macroMichal Privoznik1-1/+1
If the _FORTIFY_SOURCE has been already defined, we unconditionally redefine it, leaving us with warning/error thrown at compilation time.
2013-01-21openSUSE: Correct C&P mistakes in volume IDsZeeshan Ali (Khattak)1-2/+2
2013-01-21build-sys: g_type_init() is deprecated in 2.36Marc-André Lureau21-0/+42
2013-01-15Update RPM specs to include datamaps & locale filesDaniel P. Berrange2-1/+11
2013-01-15gnome: Add release dateZeeshan Ali (Khattak)1-0/+2
2013-01-15Post-release version bumpZeeshan Ali (Khattak)1-1/+1
2013-01-14Release 0.2.3Zeeshan Ali (Khattak)1-0/+32
2013-01-14Fix `make syntax-check`Zeeshan Ali (Khattak)2-1/+1
* Add Yuri Chornoivan to AUTHORS file. * Remove osinfo/osinfo_install_config.c from translated sources.
2013-01-14test: Distribute test DB dataZeeshan Ali (Khattak)1-1/+1
2013-01-14build: Add forgotten header fileZeeshan Ali (Khattak)1-0/+1
2013-01-11Add ability to list install script config params & profilesDaniel P. Berrange1-4/+108
When using 'osinfo-install-script' it is useful to know what profiles and config parameters are available. Add two new flags --list-configs and --list-profiles to output this information # osinfo-install-script --list-profiles win7 desktop: autounattend.xml jeos: autounattend.xml # osinfo-install-script --list-config winxp admin-password: optional user-realname: required reg-product-key: required Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-11fedora,installer: Adapt desktop script to F18Zeeshan Ali (Khattak)1-2/+5
Package groups have changed in Fedora 18 yet again. This patch makes the desktop profile script work against Fedora 18 without breaking it against older releases.
2013-01-10fedora,installer: Don't drop 'base' package groupZeeshan Ali (Khattak)1-0/+8
In commit e625641, we dropped 'base' package group from destkop profile script thinking that this essential package is pulled as dep by other groups. This turned out to be not true and Fedora 18 documentation states that this package must be explicitly requested. So instead, we now do the same as we do in jeos profile: Use 'standard' group if dealing with >= F18, 'base' otherwise.
2013-01-10Apply datamap to config parameters when generating install scriptDaniel P. Berrange1-18/+78
When creating the XML to use in the install script XSL transform, apply any datamap associated with the config parameters.
2013-01-09Revert "Add OsinfoInstallConfig:config-params property"Daniel P. Berrange5-142/+1
This reverts commit 36e5364c1a3e67f8656bfd2db570717b5d2e6e15.
2013-01-09Revert "OsinfoInstallConfig: Use config-params if set"Daniel P. Berrange2-51/+0
This reverts commit 72f00ce4673d1f3cc18f8dddd73f75a2a05a306a.