Commit Graph

2043 Commits

Author SHA1 Message Date
Brian C. Lane
00057c7b44 Revert "Add kexec anaconda addon (#1115914)"
This reverts commit f3f2aa4851.

The addon does not currently work, reverting it until it does and has
been tested so that it doesn't block further Fedora work by breaking the
installer iso.
2014-07-23 08:01:40 -07:00
Brian C. Lane
d828bed65d Disable dnf-makecache.timer (#1120368)
We don't want to update the dnf cache in the installation image. The
metadata will be downloaded when it is needed.
2014-07-18 14:46:23 -07:00
Brian C. Lane
770608f5e6 Automatic commit of package [lorax] release [21.17-1]. 2014-07-16 16:45:57 -07:00
Brian C. Lane
c875a72020 livemedia-creator: close the socket when done
In some cases the socket may not be closed, so make sure it is to
prevent hangs when shutting down the virt.
2014-07-16 11:50:25 -07:00
Vratislav Podzimek
668fe3aa4b Keep seq and getconf utilities in the image
They are needed by the zram.service.
2014-07-16 10:55:10 +02:00
Brian C. Lane
54acdd3f4b Allow _ in isolabel (#1118955) 2014-07-14 09:52:53 -07:00
Brian C. Lane
12226ed90b Automatic commit of package [lorax] release [21.16-1]. 2014-07-11 17:27:27 -07:00
Brian C. Lane
e1741763a9 Don't remove usr/lib/rpm/platform/ (#1116450)
This appears to cause the rpm-plugin-selinux to fail and some of the
selinux lebels aren't applied correctly.
2014-07-11 17:09:51 -07:00
Brian C. Lane
cf2407b618 Add xfsdump and remove extra files from xfsprogs (#1118654)
Resolves: rhbz#1118654
2014-07-11 10:07:00 -07:00
Brian C. Lane
f3f2aa4851 Add kexec anaconda addon (#1115914) 2014-07-11 09:42:19 -07:00
Brian C. Lane
a683940d59 Fix typo in lohit-telugu-fonts 2014-07-10 11:32:42 -07:00
Brian C. Lane
18beed1d27 Drop writing to resolv.conf in postinstall
This isn't needed. NetworkManager handles it.
2014-07-10 11:24:39 -07:00
Brian C. Lane
41b58f8f6c livemedia-creator: Allow the boot.iso to be shared
This allows the boot.iso to be used by multiple instances of lmc (or
virt-install if they also set --disk shareable=on)
2014-07-09 10:05:18 -07:00
Brian C. Lane
5f96701caf livemedia-creator: log more failure information
This switches on the rc checking in execWithRedirect and logs the error
it raises.
2014-07-08 13:24:58 -07:00
Brian C. Lane
fd4afe2530 livemedia-creator: drop console=ttyS0
This no longer seems to be needed, and causes images created without
passing --vnc vnc to start up with a serial console. If you need a
serial console you can pass it using --kernel-args
2014-07-08 13:24:58 -07:00
Brian C. Lane
ee54cc6c31 livemedia-creator: Log the line that caused the failure
Sometimes it can be hard to tell exactly what triggered the error
detection, so log the line that matched.
2014-07-08 13:24:58 -07:00
Brian C. Lane
380a6ddd6d livemedia-creator: add more errors
Add check for running traceback script and when the retry fails.

This also indicates something went wrong with the installation, exit
when they are seen in the logs.

Also drop looking for WARNING in the regex errors, they will be errors
after the syslog level name remap patch goes into anaconda.
2014-07-08 13:24:58 -07:00
Chris Lumens
b7be1d97fe Allow doing non-URL installs if using virt.
In this case, we don't need to pass a repo parameter to anaconda.  It's running
in a VM and knows how to deal with a kickstart file.
2014-07-07 10:01:43 -04:00
Brian C. Lane
b4d25e30f0 Automatic commit of package [lorax] release [21.15-1]. 2014-07-02 17:30:13 -07:00
David Shea
0d83979894 Convert metacity gconf settings into gsettings schema overrides
The settings in /apps/metacity/general are now covered by gsettings in
org.gnome.desktop.wm.preferences. The keybinding settings are already
covered by the overrides for org.gnome.desktop.wm.keybindings.
2014-07-02 11:57:18 -04:00
David Shea
894c4abd0b Add more keybindings to the gschema override
This covers all keys in org.gnome.desktop.wm.keybindings that still had
non-empty values
2014-07-02 11:57:18 -04:00
Peter Jones
c789f20b66 Don't emit media labels with spaces in them.
Spaces cause various bugs like #923374 and #855849 , and it would be
better if we just didn't use them.

Note that there's a corresponding pungi change to go with this.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-07-01 11:59:19 -04:00
Brian C. Lane
984ebfbef3 Remove biosdevname (#989209)
biosdevname has been replaced by systemd predictable network interface
names. See
https://fedoraproject.org/wiki/Features/SystemdPredictableNetworkInterfaceNames
for more background and bug 965718 for discussion.
2014-06-30 16:51:21 -07:00
Brian C. Lane
f288104413 Automatic commit of package [lorax] release [21.14-1]. 2014-06-27 15:48:39 -07:00
Brian C. Lane
766300d82c The theme has been absorbed into gtk3
and is now the default, so just use it instead of writing a settings.ini
2014-06-27 07:58:52 -07:00
Brian C. Lane
9f2147c93e Automatic commit of package [lorax] release [21.13-1]. 2014-06-26 17:13:35 -07:00
Brian C. Lane
29de1d43a5 livemedia-creator: Ignore IGNORED errors in anaconda logs 2014-06-26 13:01:59 -07:00
Brian C. Lane
7c7677ff0a Automatic commit of package [lorax] release [21.12-1]. 2014-06-24 16:21:28 -07:00
Brian C. Lane
546dfbab0b tito.props section name is buildconfig 2014-06-24 16:19:41 -07:00
Brian C. Lane
f91881e1d6 Stop removing libcanberra-gtk3 libraries (#1111724)
metacity needs the library, leave it in the image.
2014-06-24 16:16:13 -07:00
Brian C. Lane
c3a4bc6294 Update tito config 2014-06-19 16:45:23 -07:00
Brian C. Lane
b2f3647cb2 Automatic commit of package [lorax] release [21.11-1]. 2014-06-19 16:44:09 -07:00
Brian C. Lane
b22a7df476 livemedia-creator: Handle virt-install failure cleanup
Unmount the iso and remove the disk, if it exists.
2014-06-19 16:43:39 -07:00
Brian C. Lane
d79222e8ea livemedia-creator: Fail when there are missing packages
Watch the logs for  WARNING packaging: .* requires .* which indicates
that there are missing packages and it is sitting at a prompt waiting
for user input.
2014-06-19 16:43:39 -07:00
David Shea
5f9cb25baf Keep virtio_console harder.
Kernel modules in F21 are compressed, so sometimes the file we want to
keep is virtio_console.ko.xz
2014-06-19 17:20:41 -04:00
Brian C. Lane
f4b8e4547f Automatic commit of package [lorax] release [21.10-1]. 2014-05-12 17:23:09 -07:00
Colin Walters
66359415be Add --add-template{,-var}
What I need is to make something like the traditional DVD which also
includes packages.  At present this is apparently handled by the
entirely separate pungi tool.

At the moment for me, it's the least bad option to modify lorax to
inject data from an external source than to create a new tool, or
attempt to also modify pungi to do this.

This would also allow pungi's DVD creation to eventually be a set of
external templates for Lorax.
2014-05-12 16:04:28 -07:00
Colin Walters
3345a97f35 runtime-install: Add rpm-ostree, move dnf here
rpm-ostree is a new payload type available in Anaconda, will be used
by Project Atomic (http://projectatomic.io) builds and the new Fedora
Cloud Docker Host.

dnf has previously existed, but as it's only required at installation
time, let's move it here as well.

Per discussion on the anaconda list, we don't want to pull these in as
a dependency of the "anaconda" package as initial-setup -> anaconda
which means they end up on every system.
2014-05-12 08:28:56 -07:00
Brian C. Lane
d25c0b0594 Update copyright statements 2014-05-09 15:13:39 -07:00
Brian C. Lane
1807a39ace livemedia-creator: Cleanup docstrings
Start using Sphinx style docstrings.
2014-05-09 11:46:37 -07:00
Brian C. Lane
833d64d1f7 livemedia-creator: Cleanup some style issues 2014-05-09 09:28:01 -07:00
Brian C. Lane
0094fab0d4 Cleanup other misc pylint warnings 2014-05-09 08:10:41 -07:00
Brian C. Lane
6d47689a33 Cleanup pylorax pylint warnings 2014-05-09 08:10:41 -07:00
Brian C. Lane
c12c5f1e47 Add pylint testing
This adds pylint testing via make check, using the framework from
Anaconda. False positives can be added to
./tests/pylint/pylint-false-positives
2014-05-09 08:10:41 -07:00
Dennis Gilmore
c14198c45e Require uboot-tools when running on arm
Require uboot-tools on arm arches so we can make u-boot wrapped
versions of the kernel and initramfs's
2014-04-30 10:30:38 -07:00
Brian C. Lane
b090a09dca Obsolete appliance-tools-minimizer (#1084110)
Missed adding the Obsoletes line in the original patch moving the
minimizer to lorax.
2014-04-28 17:37:28 -07:00
Brian C. Lane
b3e80b7564 livemedia-creator: Copy fsimage if hardlink fails
If the user supplies a fsimage to use for the iso it may not be on the
same filesystem as the working directory. Try to hardlink first, but if
that fails copy the image.
2014-04-28 10:03:11 -07:00
Brian C. Lane
08d8f3b2fc Turn on debug output for mkefiboot
mkefiboot uses pylorax.imgutils, in order to capture information about
umount problems it needs to be run with --debug. This triggers the fuser
call to show what is holding the mount open.
2014-04-25 06:55:56 -07:00
Brian C. Lane
9e15705bb9 Clean up download and install output
Commit d2ae92b4b3 patched up the download counter and progress
display. Yum no longer provides the needed information so now we get the
total number of packages from the start of the transaction.

This also turns off colors when stdout is not a tty, and only prints the
install progress once so that piping to a logfile isn't flooded with
useless characters.
2014-04-25 06:55:56 -07:00
Brian C. Lane
63d4e7adf2 Install specific lohit fonts instead of all of them (#1090390)
Tamil-Classical, Marathi, Nepali are variant of other lohit fonts.
Lohit Malayalam is not required as we are installing smc-meera-fonts.
2014-04-24 14:40:51 -07:00