Commit Graph

810 Commits

Author SHA1 Message Date
Martin Gracik
b4ce329235 Add the icfg package (#771733) 2012-03-14 11:03:02 +01:00
Martin Gracik
92a145dd18 Log the output of mkfs (#769928) 2012-03-14 10:56:23 +01:00
Brian C. Lane
084e0e032b livemedia-creator: update TreeBuilder use for isolabel
TreeBuilder class changed its __init__ so add --volid switch,
length check and isolabel.
2012-03-09 13:20:45 -08:00
Martin Gracik
7fa9bda94c New version 17.9 2012-03-07 16:08:21 +01:00
Martin Gracik
4c2bc290e2 Fix product name replacing in templates (#799919)
The product name may contain spaces, so it needs
to be in quotes, otherwise the other words get stripped.
2012-03-07 16:04:45 +01:00
Martin Gracik
16d32f6d4f Fix requires 2012-03-07 16:04:45 +01:00
Brian C. Lane
56a24dd698 New version 17.8 2012-03-06 09:45:04 -08:00
Brian C. Lane
04394ae2cd livemedia-creator: update README 2012-03-02 16:44:08 -08:00
Brian C. Lane
ec00ea7039 example livemedia kickstart for ec2
currently untested on EC2, but it builds an image that looks
like it should work.
2012-03-02 16:42:48 -08:00
Brian C. Lane
8c52cd751f livemedia-creator: console=ttyS0 not /dev/ttyS0 2012-03-02 16:42:42 -08:00
Brian C. Lane
54dd513ed8 livemedia-creator: Add support for making ami images
AMI images are un-partitioned filesystem images with a grub.conf that
is read by the pv-grub bootloader used by EC2. Most of the actual work
making the AMI is done in the kickstart. This just creates the image
file.
2012-03-02 16:42:32 -08:00
Martin Gracik
c2c4762df2 New version 17.7 2012-02-28 13:58:27 +01:00
Martin Gracik
97038f1ab2 Don't remove btrfs utils (#796511) 2012-02-28 13:49:11 +01:00
Martin Gracik
a82acb9145 Remove root and ip parameters from generic.prm (#796572) 2012-02-28 13:48:59 +01:00
Martin Gracik
c4c2f09c0b Check if the volume id is not longer than 32 chars (#786832)
This is a requirement of mkisofs.
Try to check it as soon as possible.
2012-02-28 13:48:50 +01:00
Martin Gracik
e59ff3802f Add option to specify volume id on command line (#786834) 2012-02-28 13:48:42 +01:00
Martin Gracik
0e9d3e0c1c Install nhn-nanum-gothic-fonts (#790266)
Replacing un-core-dotum-fonts.
2012-02-28 13:48:29 +01:00
Martin Gracik
2879908cde Change the locale to C (#786833) 2012-02-28 13:48:15 +01:00
Martin Gracik
04ac7e7e9e Don't use mk-s390-cdboot (dhorak)
Anaconda dropped the mk-s390-cdboot tool, so we can't call it in lorax.
2012-02-28 13:46:32 +01:00
Dan Horák
6cce4fd330 use internal implementation of the addrsize utility
Anaconda dropped the addrsize utility in F-16, so we need to implement
it directly in lorax.
2012-02-28 13:44:59 +01:00
Martin Gracik
2e08d3706c Make sure var/run is not a symlink on s390x (#787217) 2012-02-28 13:44:45 +01:00
Martin Gracik
ca5454d131 Create var/run/dbus directory on s390x (#787217)
s390x has no systemd, so we need to create the directory.
2012-02-28 13:44:25 +01:00
Brian C. Lane
96870e96f8 iputils is small and required by dhclient-script 2012-02-27 13:05:16 -08:00
Brian C. Lane
e5cccf05c0 missing version bump in specfile 2012-02-20 15:02:03 -08:00
Brian C. Lane
e0db7264a6 New version 17.6 2012-02-20 14:58:36 -08:00
Will Woods
e580c2a8b0 use --prefix=/run/initramfs when building initramfs
Having the initramfs at /run/initramfs means that it will be retained at
/run/initramfs once we switch to the root image. We want that.
2012-02-20 14:17:09 -08:00
Brian C. Lane
a060705479 dhclient-script needs cut and arping 2012-02-17 16:32:05 -08:00
Brian C. Lane
7853936a48 Fix missing CalledProcessError import 2012-02-17 08:32:18 -08:00
Brian C. Lane
3f1a6762a5 New version 17.5 2012-02-15 07:47:35 -08:00
Brian C. Lane
7c2e04b848 metacity now depends on gsettings-desktop-schemas
but they didn't set a dep on it so it crashes with
GLib-GIO-ERROR **: Settings schema
'org.gnome.desktop.wm.preferences' is not installed
2012-02-15 07:40:52 -08:00
Matthew Garrett
053d35cc11 Add findiso to grub config
In order for grub to be able to read the kernel regardless of whether
the image is written to a CD or a USB stick, it's necessary to autoprobe
for the filesystem using the findiso command. Add it to the grub config.
2012-02-14 09:20:47 -08:00
Brian C. Lane
6ad642ff5d New version 17.3 2012-02-13 15:34:06 -08:00
Martin Gracik
0cb07b75f9 Change the squashfs image section in .treeinfo
Related: rhbz#782108
2012-02-13 15:12:50 -08:00
Martin Gracik
e49ef2d8bf Add path to squashfs image to the treeinfo
Related: rhbz#782108
2012-02-13 15:12:44 -08:00
Martin Gracik
614a2af0fd Add runtime basename variable to the template
Related: rhbz#782108
2012-02-13 15:12:34 -08:00
Brian C. Lane
6c6a8c15ad add memtest to the boot.iso for x86 (#787234) 2012-02-13 07:06:22 -08:00
Brian C. Lane
20eff8a77d Add dracut args to grub.conf 2012-02-10 14:24:49 -08:00
Brian C. Lane
231d3f40bd New version 17.3 2012-02-08 14:57:32 -08:00
Brian C. Lane
cf7ec41ef0 keep convertfs.sh script in image (#787893)
This is needed by anaconda in order to upgrade to F17
2012-02-08 14:55:52 -08:00
Brian C. Lane
a09806f607 Add dracut convertfs module (#787893)
Fedora 17 changes top level directories like /bin, /lib, etc. to
symlinks to the corresponding dirs in /usr/

dracut can convert old systems to the new layout using its convertfs
module.
2012-02-08 14:55:40 -08:00
Tim Flink
e9d34e3cbf fix templates to work with F17 usrmove
Signed-off-by: Will Woods <wwoods@redhat.com>
2012-02-08 14:07:43 -05:00
Tim Flink
504cc236b1 changing hfs to hfsplus so that the correct mkfs binary is called 2012-02-07 17:27:27 -05:00
Brian C. Lane
c97666bb94 Add luks, md and dm dracut args to bootloaders 2012-02-03 15:06:21 -08:00
Brian C. Lane
0ba566aebe update lorax and livemedia_creator to use isfinal 2012-01-30 11:02:56 -08:00
Brian C. Lane
2af864c438 lorax: copy kickstarts into sysroot (#743135)
The installer no longer has access to the initrd's root. We need to
copy any needed files over to /sysroot before switching root. This
copies *.cfg and *.ks files.

It also adds the ability to add dracut hook scripts to the initramfs
from /usr/share/lorax/dracut_hooks/

This re-adds commit af6d4e2c50 which was
lost during the switch to the treebuilder branch.
2012-01-25 21:59:48 -08:00
Brian C. Lane
befdc218ac livemedia-creator: Mount iso if rootfs is LiveOS
In the latest method for booting the rootfs is in the LiveOS
directory of the media, not appended to the initrd. Detect this
and mount the iso and pass the CDLABEL to virt-install.
2012-01-25 17:23:25 -08:00
Martin Gracik
681f67f954 Log output of failed command
If we run a command from template with runcmd,
log it's output if it exits with non-zero return code.
2012-01-19 18:13:03 +01:00
Chris Lumens
4758a2aa80 Add packages required for gtk3 and the new anaconda UI.
This doesn't get rid of the gtk2 stuff yet, though.  The intention here is
that you can use this lorax to generate an image containing either the old
anaconda or the newui branch, simply by including a different repo in your
tree composition kickstart file.

Also, it appears that some things in the tree still require gtk2 so we may
be stuck with both for the forseeable future.
2012-01-18 13:17:33 -05:00
Martin Gracik
bd70e31520 New version 17.2 2012-01-12 16:05:52 +01:00
Martin Gracik
1bbc546147 Allow specifying buildarch on the command line (#771382)
Some repos may contain anaconda packages for more architectures,
so it's not possible to get the right buildarch.
This patch allows optional specifying of the buildarch on the
command line when running lorax.
If the buildarch is not specified manually, lorax tries to get
it from the anaconda package as before.
If there's no anaconda package in the repository, don't fallback
to the system architecture and continue, because this is pointless.
We need the anaconda package.
2012-01-10 09:34:01 +01:00