Commit Graph

794 Commits

Author SHA1 Message Date
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
Brian C. Lane
31c60b119b lorax: Don't touch /etc/mtab in cleanup 2012-01-09 12:11:02 -08:00
Will Woods
80066b1e73 Update TODO and POLICY to reflect the current state of things 2012-01-06 14:41:21 -05:00
Will Woods
5e411b09c0 consider %ghost files part of the filelists in templates
When considering a package's filelist (e.g. for things like removefrom
--allbut), we might need to also include the %ghost files, so make
_filelist() add them to its returned list.
2012-01-05 16:15:54 -05:00
Brian C. Lane
b41ab87427 lorax: Add option to exclude packages
Sometimes the repos you are using have broken deps. Now you
can exclude packages with -e or --excludepkgs
2012-01-04 13:39:12 -08:00
Brian C. Lane
3c02a01a81 dracut needs kbd directories (#769932) 2012-01-03 17:24:41 -08:00
root
dc815d10fb better debug, handle relative output paths 2012-01-03 16:32:50 -08:00
Brian C. Lane
ed7f30b206 Version 17.1 2011-12-21 08:59:56 -08:00
Brian C. Lane
a98134b316 lorax: check for output directory early and quit 2011-12-20 17:48:45 -08:00
Brian C. Lane
10acb5e5b9 lorax: Add --proxy command 2011-12-20 17:48:44 -08:00
Brian C. Lane
0434b7d47a lorax: add --config option 2011-12-20 17:48:44 -08:00
Brian C. Lane
d3a9e77315 Modify spec file for livemedia-creator 2011-12-20 14:59:58 -08:00
Brian C. Lane
7149adee25 Add no-virt mode to livemedia-creator
This runs anaconda directly, using the --image install feature. The host
system should be the same release as the target system in order to avoid
unexpected problems.
2011-12-20 14:59:58 -08:00
Brian C. Lane
bfe5ce2813 Add livemedia-creator README and example ks 2011-12-20 14:59:58 -08:00
Brian C. Lane
59a1ef8b0b Add config files for live media 2011-12-20 14:59:58 -08:00
Brian C. Lane
f65849d87c Add livemedia-creator
livemedia-creator uses an anaconda install media iso to install to a
file image. virt-install is used to execute the kickstart. lorax is used
to post-process the image file and create a bootable .iso from it.

Future additions will allow creation of EC2 images and output xml
details about the install.
2011-12-20 14:59:57 -08:00
Brian C. Lane
7d1b7b4cc8 Allow a None to be passed as size to create_runtime
This is so that imgutils.mkext4img can dynamically calculate the size of
the image.
2011-12-20 14:59:57 -08:00