Commit Graph

1362 Commits

Author SHA1 Message Date
Brian C. Lane
da68471b33 livemedia-creator: Make sure ROOT_PATH exists (#1144140)
If ROOT_PATH doesn't exist when making a tar file, create it first.

Related: rhbz#1144140
2014-09-22 17:03:53 -07:00
Brian C. Lane
55299e3944 livemedia-creator: Use RHEL7 version of kickstart (#1144140)
Need to use the right kickstart version, eg. support for
bootloader --disabled

Related: rhbz#1144140
2014-09-22 17:03:43 -07:00
Brian C. Lane
0e6ea6be85 RHEL7 doesn't include pigz or pbzip2 (#1144140)
Don't try to speed up gzip or bzip2 compression with them.

Related: rhbz#1144140
2014-09-22 17:03:43 -07:00
Brian C. Lane
a8681aca4e livemedia-creator: Add --no-recursion to mktar (#1144140)
tar recurses into directories by default, but find is feeding it all the
files and directories so the tar it produces is considerably larger than
it needs to be due to duplicate files. Add --no-recursion flag so that
tar will only add the specific files and directories piped to it by find.

Related: rhbz#1144140
2014-09-22 17:03:30 -07:00
Brian C. Lane
526988651d livemedia-creator: Add support for making tarfiles (#1144140)
This adds the --make-tar option which will produce a xz compressed tar
of the root filesystem. This works with either virt-install or no-virt
modes. Use --image-name to set the output filename.

--compression is used to set the compression type to use, which defaults
to xz. Supported types are xz, lzma, gzip and bzip2.

--compress-arg is used to pass arguments to the compression utility.

(cherry picked from commit d04a99e8f4)

Resolves: rhbz#1144140
2014-09-22 15:25:22 -07:00
Brian C. Lane
8f2283cf1c livemedia-creator: Check fsimage kickstart for single partition (#1144140)
(cherry picked from commit 30591349ca)

Related: rhbz#1144140
2014-09-22 15:18:15 -07:00
Brian C. Lane
0a9992267c livemedia-creator: Copy fsimage if hardlink fails (#1144140)
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.

(cherry picked from commit b3e80b7564)

Related: rhbz#1144140
2014-09-22 15:17:14 -07:00
Brian C. Lane
4a05a02fe6 livemedia-creator: Make --make-fsimage work with virt-install (#1144140)
--make-fsimage was only working with --no-virt, this re-structures
things so that virt-install partitioned disk images can be converted to
a fsimage. --make-ami was actually already doing this, so change it to
use --make-fsimage and set the default image name to "ami-root.img" with
a label of "AMI".

This also adds the ability to set the fs label on iso fsimage and
fsimages created with --make-fsimage and --make-ami by passing
--fs-label, but note that bootable iso's expect the Anaconda label.

(cherry picked from commit 19d8304070)

Related: rhbz#1144140
2014-09-22 15:15:38 -07:00
Brian C. Lane
6a40fe1bfa Automatic commit of package [lorax] release [19.6.37-1]. 2014-09-15 17:16:47 -07:00
David Shea
74b1877f1b Let the plymouth dracut module back into the ppc64 upgrade.img
The 32MiB size limit does not apply to upgrade.img since it's installed
to /boot by redhat-upgrade-tool instead of downloaded through TFTP. The
warning in rebuild_initrds will still be triggered by an upgrade.img
over the limit, but this doesn't halt the compose and it's probably not
a bad thing to know about.

Resolves: rhbz#1069671
2014-09-11 17:07:24 -04:00
Brian C. Lane
46d67de350 Automatic commit of package [lorax] release [19.6.36-1]. 2014-09-09 11:56:13 -07:00
Brian C. Lane
44b6948d1e Add more tools for rescue mode (#1109785)
This adds od, hexdump, hexedit, gdisk, and binaries from sg3_utils

Resolves: rhbz#1109785
(cherry picked from commit 8a804d10e5)
2014-09-09 11:27:04 -07:00
Brian C. Lane
02177d916f Add kexec anaconda addon (#1116335)
Add the kexec addon to the boot.iso

Resolves: rhbz#1116335

(cherry picked from commit 41a289fc0e)
2014-09-08 11:21:37 -07:00
Brian C. Lane
f6cc7ed16a Automatic commit of package [lorax] release [19.6.35-1]. 2014-09-03 17:44:22 -07:00
Brian C. Lane
84af4b08f5 Add ppc64le arch (#1136490)
basearch is ppc64le so we needs to check for that in addition to ppc64.

Resolves:rhbz#1136490
(cherry picked from commit 72357bf96b6b016c3a39b2af51eaf5cf724a0928)
2014-09-03 10:43:00 -07:00
Brian C. Lane
0828f63bc9 Automatic commit of package [lorax] release [19.6.34-1]. 2014-08-29 15:32:16 -07:00
Dan Horák
d1ec67c8d2 allow setting additional dracut parameters for DVD s390x installs (#1132050)
The installation from DVD on s390x needs setting the target disks and
network information that are usually set by editing the generic.prm file.
By including the "rd.cmdline=ask" parameter dracut will open a simple
dialog so the user can enter the required information.

Resolves: rhbz#1132050
(cherry picked from commit e92ea26206)
2014-08-29 15:30:48 -07:00
Brian C. Lane
ca4b3d35dd spec changelog cleanup 2014-08-28 19:45:50 -07:00
Brian C. Lane
4589a155e4 Automatic commit of package [lorax] release [19.6.33-1]. 2014-08-28 19:39:35 -07:00
Brian C. Lane
da8326fd58 livemedia-creator: Update ppc64 live to use grub2
Update the templates and configuration files to support grub2 live
image creation.

Related: rhbz#1102318
Related: rhbz#1131199
2014-08-27 16:27:52 -07:00
Brian C. Lane
b6c4d51c65 Automatic commit of package [lorax] release [19.6.32-1]. 2014-08-19 12:57:21 -07:00
David W. Aquilina
7d6e8c65f3 Yaboot to grub2 conversion cleanup.
Drop yaboot from runtime-install and don't install efika.forth

Related: rhbz#1131199

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-08-19 09:19:15 -07:00
Paulo Flabiano Smorigo
af4cf82071 GRUB2 as the ISO boot loader for POWER arch (#1131199)
Currently, yaboot is the ISO boot loader in fedora and the Fedora on
POWER team is making an effort in order to replace it by GRUB2 in the
F20 release cycle. I'm sending a lorax patch so you guys can comment
on it. I'm planning to create a feature page for that too.

This patch only change the lorax template for ppc and should not
affect other archs, like x86.

--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group

Resolves: rhbz#1131199
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-08-19 09:19:15 -07:00
Brian C. Lane
fbfc6e34f6 Revert "Require 32bit glibc on ppc64"
This reverts commit cd8e565f78.

This is not needed since we are switching to grub2.

Related: rhbz#1131199
2014-08-19 09:19:15 -07:00
Brian C. Lane
1e4af4e304 Automatic commit of package [lorax] release [19.6.31-1]. 2014-08-15 17:01:46 -07:00
d.marlin
6f27e0bd09 Add efibootmgr to installpkg list for aarch64. (#1130366)
Resolves: rhbz#1130366
2014-08-15 16:59:24 -07:00
Brian C. Lane
1c9a7b3621 Automatic commit of package [lorax] release [19.6.30-1]. 2014-08-12 16:30:42 -07:00
Brian C. Lane
cb1c6f1c6f Update tito.props configuration
Tito has renamed some of the options, change them so it will stop
complaining.
2014-08-12 16:26:59 -07:00
Brian C. Lane
55cd4d207f livemedia-creator: Cleanup temp yum files (#1073502)
When running lmc with --no-virt yum will use /tmp/ to cache some things.
If the kickstart or repos change between runs this cache can become
stale so remove it when lmc is finished.

Resolves: 1073502
2014-08-12 12:06:50 -07:00
Brian C. Lane
cd8e565f78 Require 32bit glibc on ppc64
ppc.tmpl uses the 32bit addnote from usr/lib/yaboot/ and it needs to
have 32bit glibc available on the host to work.
2014-08-12 12:02:02 -07:00
Brian C. Lane
1c936ee984 Add xfsdump and remove extra files from xfsprogs (#1118654)
Resolves: rhbz#1118654
2014-08-12 11:49:39 -07:00
Brian C. Lane
1686a1a159 Add ipmitool and drivers (#1126009)
Add the ipmi tools and keep the impi drivers in the image.

Resolves: rhbz#1126009
2014-08-12 11:28:33 -07:00
d.marlin
bbec9e21bd Update grub2-efi.cfg for aarch64 to more closely match x86 (#1089418).
Resolves: rhbz#1089418.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2014-08-12 11:20:29 -07:00
Brian C. Lane
ac6f0b04c5 Automatic commit of package [lorax] release [19.6.29-1]. 2014-08-08 17:27:16 -07:00
Brian C. Lane
39e4da7ce8 utf-8 encode yum actions before displaying them (#1072362)
Otherwise running lorax in other locales will crash.

Resolves: rhbz#1072362
2014-07-30 17:05:59 -07:00
Brian C. Lane
ee71bc9b11 Use BOOTAA64.efi for AARCH64 bootloader filename (#1080113)
Need to stay withing the FAT filename 8.3 limits

Resolves: rhbz#1080113
2014-07-30 17:04:46 -07:00
Brian C. Lane
ccb43c2a62 Drop devicetree from aarch64 grub2-efi.cfg (#1089418)
This is non longer needed, Acadia/Biscayne now contains an embedded DTB.

Resolves: rhbz#1089418
2014-07-30 17:01:01 -07:00
Brian C. Lane
59f256e989 livemedia-creator: Add ppc64 live creation support (#1102318)
The ppc config files were missing from the live config_files directory
and ppc needs the correct lib directory so lmc has been switched to use
ArchData driven from the installed kernel arch.

Resolves: rhbz#1102318
2014-07-30 16:58:40 -07:00
Colin Walters
033dfac48d runtime-install: Add rpm-ostree
rpm-ostree is a new payload type available in Anaconda, will be used
by RHEL Atomic Host.

Related: rhbz#1113535
Port of rpmostreepayload patches from master
commit 3345a97f35
2014-07-28 09:35:48 +02:00
Brian C. Lane
e6c12f63f4 Automatic commit of package [lorax] release [19.6.28-1]. 2014-04-23 06:45:47 -07:00
Brian C. Lane
ce23e3e097 Install rdma so that dracut will use it along with libmlx4 (#1089564)
libmlx4 needs rdma, otherwise it is skipped when dracut builds the
initrd.

Resolves: rhbz#1089564
2014-04-23 06:44:37 -07:00
Brian C. Lane
5c468bdb7f Automatic commit of package [lorax] release [19.6.27-1]. 2014-04-03 14:17:47 -07:00
Brian C. Lane
c4ea32367d Stop removing curl after adding it (#1083205)
curl is useful for things like kickstart %pre and %post

Resolves: rhbz#1083205
2014-04-03 14:15:24 -07:00
Brian C. Lane
436a5aed0d Automatic commit of package [lorax] release [19.6.26-1]. 2014-02-28 16:53:19 -08:00
Brian C. Lane
cee25952d4 Use string for releasever not int (#1067746)
environmental variables need to be strings and there is no compelling
reason to force this to an int.

Related: rhbz#1067746
2014-02-28 13:35:08 -08:00
Peter Jones
d2de389cba Make lorax's installation of lockdown.efi conditional on its existence.
lockdown.efi only exists in the beta, but it'll probably also exist in
the 7.1 beta.  So don't toss this stuff out completely, but don't use it
if shim doesn't provide lockdown.efi either.

Resolves: rhbz#1071380

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-02-28 11:36:20 -05:00
Brian C. Lane
84528efad6 Automatic commit of package [lorax] release [19.6.25-1]. 2014-02-26 10:12:04 -08:00
Brian C. Lane
e6015f93c5 createrepo is needed by driver disks (#1016004)
deltarpm is needed by createrepo.

Related: rhbz#1016004
2014-02-26 10:06:55 -08:00
Brian C. Lane
6700d862c4 Automatic commit of package [lorax] release [19.6.24-1]. 2014-02-25 16:50:34 -08:00
d.marlin
f2c4d4a43c Improve aarch64 UEFI support (#1067671)
Update the templates and config file to better support EFI on aarch64
on 64-bit ARM.

Resolves: rhbz#1067671

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-02-24 12:44:14 -08:00