Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
Data kindly provided by Alon Levy.
|
|
This fix combined with previous 2 patches enable apps to create
unattended installation for Windows 8.
|
|
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>
|
|
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>
|
|
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).
|
|
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
|
|
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.
|
|
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.
|
|
|
|
|
|
Remove the .la files.
Remove the man pages
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
|
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'.
|
|
|
|
Changes in udev > 197 and libblkid > 2.22.2 have made this rule obsolete.
|
|
Fixes `make distcheck`
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|
|
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
|
|
Now that libosinfo has an official website, let's point the .spec
at it.
|
|
Declare that script optionally uses script disk if specified and hardcode
a fallback for the case when its not specified.
|
|
Also add a commandline option (-q/--quiet) to disable this behavior.
|
|
Fixes `make syntax-check`
|
|
Also, unref the GFile when done.
|
|
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.
|
|
|
|
If the _FORTIFY_SOURCE has been already defined, we unconditionally
redefine it, leaving us with warning/error thrown at compilation time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Add Yuri Chornoivan to AUTHORS file.
* Remove osinfo/osinfo_install_config.c from translated sources.
|
|
|
|
|
|
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>
|
|
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.
|
|
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.
|
|
When creating the XML to use in the install script XSL transform,
apply any datamap associated with the config parameters.
|
|
This reverts commit 36e5364c1a3e67f8656bfd2db570717b5d2e6e15.
|
|
This reverts commit 72f00ce4673d1f3cc18f8dddd73f75a2a05a306a.
|