Commit Graph

1361 Commits

Author SHA1 Message Date
Will Woods
2d9a56a9ec add anaconda dracut module
Install the anaconda dracut module during 'install', use it when
rebuilding initramfs, and clean it up afterward.

Also install '.buildstamp' into the initramfs (the anconda module wants
it).
2012-03-30 13:22:48 -07:00
Will Woods
34f5397768 runtime-postinstall: remove references to loader
No more loader. Bye-bye, loader.
2012-03-30 13:22:48 -07:00
Will Woods
d61f330462 runtime-postinstall: remove keymap stuff
anaconda no longer contains the keymap overrides and systemd should be
handling keymap stuff for us, so this isn't necessary.
2012-03-30 13:22:48 -07:00
Martin Gracik
4e3c11c5eb Add the icfg package (#771733) 2012-03-30 13:22:48 -07:00
Martin Gracik
d81ef79ffd Log the output of mkfs (#769928) 2012-03-30 13:22:48 -07:00
Martin Gracik
4762c45b22 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-30 13:22:45 -07:00
Martin Gracik
2e24ef2cc6 Fix requires 2012-03-30 13:22:45 -07:00
Brian C. Lane
af99682215 use cache outside the installtree
reenable the yum cache in the tmpdir, this means it doesn't end
up on the final squashfs.img, reducing the boot.iso size from
400M to 154M
2012-03-28 08:38:46 -07:00
Brian C. Lane
6c93dcde9a add iscsi-initiator-utils (#804522) 2012-03-28 08:38:41 -07:00
Brian C. Lane
607bd49ed7 livemedia-creator: update TreeBuilder use for isolabel
TreeBuilder class changed its __init__ so add --volid switch,
length check and isolabel.
2012-03-08 10:01:18 -08:00
Brian C. Lane
ecda30d999 New version 18.1 2012-03-06 09:37:48 -08:00
Brian C. Lane
d5d9881602 livemedia-creator: update README 2012-03-02 16:41:27 -08:00
Brian C. Lane
e9aba42587 example livemedia kickstart for ec2
currently untested on EC2, but it builds an image that looks
like it should work.
2012-03-02 16:41:27 -08:00
Brian C. Lane
3a5fb1415c livemedia-creator: console=ttyS0 not /dev/ttyS0 2012-03-02 16:41:27 -08:00
Brian C. Lane
69c14b8f84 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:41:27 -08:00
Martin Gracik
b84fba40a5 Don't remove btrfs utils (#796511) 2012-02-28 12:50:34 +01:00
Martin Gracik
73faf711bd Remove root and ip parameters from generic.prm (#796572) 2012-02-28 12:50:34 +01:00
Martin Gracik
524dfa28db 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 12:50:34 +01:00
Martin Gracik
20fa29b32b Add option to specify volume id on command line (#786834) 2012-02-28 12:50:34 +01:00
Martin Gracik
746811944a Install nhn-nanum-gothic-fonts (#790266)
Replacing un-core-dotum-fonts.
2012-02-28 12:50:34 +01:00
Martin Gracik
84c56294bf Change the locale to C (#786833) 2012-02-28 12:50:34 +01:00
Brian C. Lane
f6876beea6 iputils is small and required by dhclient-script 2012-02-27 13:04:52 -08:00
Brian C. Lane
b3ac408748 util-linux-ng is now util-linux 2012-02-20 14:44:22 -08:00
Brian C. Lane
be4d8ebe2b New version 18.0 2012-02-20 14:40:33 -08:00
Will Woods
dcc6a41a31 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:16:52 -08:00
Brian C. Lane
8c56e9d261 dhclient-script needs cut and arping 2012-02-17 16:31:06 -08:00
Brian C. Lane
ac6512a531 Fix missing CalledProcessError import 2012-02-17 08:32:00 -08:00
Brian C. Lane
ff27282431 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:34 -08:00
Matthew Garrett
2553a6d5f1 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:22 -08:00
Brian C. Lane
141312ba0e add memtest to the boot.iso for x86 (#787234) 2012-02-13 07:06:09 -08:00
Martin Gracik
872340071b Don't use mk-s390-cdboot (dhorak)
Anaconda dropped the mk-s390-cdboot tool, so we can't call it in lorax.
2012-02-13 13:22:08 +01:00
Brian C. Lane
b107181692 Add dracut args to grub.conf 2012-02-10 14:24:32 -08:00
Martin Gracik
bbd758d998 Change the squashfs image section in .treeinfo
Related: rhbz#782108
2012-02-09 16:59:15 +01:00
Martin Gracik
cb6d0758d9 Add path to squashfs image to the treeinfo
Related: rhbz#782108
2012-02-09 16:28:03 +01:00
Martin Gracik
d26c41fee6 Add runtime basename variable to the template
Related: rhbz#782108
2012-02-09 16:27:51 +01:00
Dan Horák
17179f2120 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-09 14:08:56 +01:00
Martin Gracik
08e7a19f42 Make sure var/run is not a symlink on s390x (#787217) 2012-02-09 10:34:07 +01:00
Martin Gracik
5af1ea948e Create var/run/dbus directory on s390x (#787217)
s390x has no systemd, so we need to create the directory.
2012-02-09 10:34:07 +01: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