Commit Graph

2296 Commits

Author SHA1 Message Date
Will Woods
33d306205e add grub-efi on x86 for EFI boot support 2011-10-12 20:42:52 -04:00
Will Woods
55b4b06268 treebuilder cleanup: remove hack for Fedora <= 15 2011-10-12 20:24:21 -04:00
Will Woods
f640a2faab Use a predictable ISO Volume Label (#732298)
New images find their root device by looking at the CDLABEL. Since pungi
is building ISO images separately from lorax, if it uses a different ISO
Volume Label we'll end up with unbootable images.

This changes the volume labels to match what pungi uses, so both should
boot OK.
2011-10-12 20:21:06 -04:00
Will Woods
9df3348a71 Move images/install.img to LiveOS/squashfs.img (#732298)
Since pungi doesn't know that images/install.img needs to be moved to
LiveOS/squashfs.img for images to be "live", they aren't bootable.

This is the simple solution to the problem. Thanks to Karsten Hopp
for the original patch.
2011-10-11 14:58:30 -04:00
Will Woods
b59172a519 sparc.tmpl: cleanups (just use BOOTDIR for everything) 2011-10-11 14:56:39 -04:00
Ales Kozumplik
e61f3b23d4 rsyslgod config: hardcode the hostname for virtio forwarding.
The value systemd provides at this early point when rsyslogd starts is
"(none)". This makes the receiving syslog unable to parse the incoming
messages.

Resolves: rhbz#744544
2011-10-11 15:56:33 +02:00
Martin Gracik
7ec467b2d2 xen-kbdfront is a module not a package (#740378) 2011-10-11 14:14:56 +02:00
Martin Gracik
30f48041fc Ignore remove errors
On some nfs mounts the shutil.rmtree may traceback
when removing some files. This is not such a problem
so we can ignore these errors and continue.
2011-10-11 14:14:44 +02:00
Martin Gracik
049d73874c Check if /proc is mounted (#741722)
Needed for proper functionality in chroot,
so if it is not there, exit before doing anything.
2011-10-11 14:14:44 +02:00
Brian C. Lane
af6d4e2c50 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/
2011-10-05 09:07:54 -07:00
Will Woods
a6dac28781 add some firstaidkit-plugins
yay! rescue mode is more useful!
2011-10-01 16:43:11 +02:00
Martin Gracik
ee436805ef Add xen-kbdfront package to initrd (#740378) 2011-09-23 16:26:41 +02:00
Will Woods
1fa956a756 add /usr/bin/env (fpaste needs it) 2011-09-22 17:11:03 -04:00
Will Woods
e0e5cccda6 Add fpaste to the runtime image. 2011-09-22 15:00:36 -04:00
Martin Gracik
b30b07ca79 Don't use mk-s390-cdboot (dhorak)
Anaconda dropped the mk-s390-cdboot tool, so we can't call it in lorax.
2011-09-22 10:09:12 +02:00
Martin Gracik
60c444c0c9 Use own addrsize implementation (dhorak)
Anaconda doesn't built the addrsize tool used to create the file
containing size and load address for initrd.img. So we implement
its function directly in lorax.
2011-09-22 10:07:11 +02:00
Will Woods
d3fcbcfbed remove hack that replaces /bin/login
anaconda should be handling this properly now.
2011-09-21 23:46:48 -04:00
Will Woods
b7269da23a Fix is_beta -> isfinal and add [Compose] to .buildstamp 2011-09-21 23:46:48 -04:00
Will Woods
efea74ad12 syslinux-vesa-splash changed filename (#739345) 2011-09-21 23:46:48 -04:00
Martin Gracik
05fc838ce2 syslinux-vesa-splash changed filename (#739345) 2011-09-19 10:37:43 +02:00
Martin Gracik
91f7908031 Do not create the sysconfig/network file (#733425) 2011-09-19 10:37:29 +02:00
Martin Gracik
b3301595bc New syslinux theme (#734170) 2011-09-19 10:37:18 +02:00
Will Woods
262a05e539 ltmpl: continue loop if installpkg can't find something
Otherwise, something like:
  installpkg missing-thingy kernel kernel-firmware
will leave you without a kernel.
2011-09-15 19:27:31 -04:00
Will Woods
318c843e37 ltmpl: improve exception handling/reporting
- Log the error message (and the line causing the error) to console
- Log the whole exception (with some excess junk removed) to debuglog
- don't immediately SystemExit if the template won't parse
- clean up some comments
2011-09-15 19:24:35 -04:00
Will Woods
473f01c696 Add docstrings for the ltmpl commands in LoraxTemplateRunner 2011-09-14 18:33:30 -04:00
Will Woods
be4d8160b2 Don't create /etc/sysconfig/network (#733425) 2011-09-14 15:28:33 -04:00
Ales Kozumplik
c3e3004c47 Log how we run mkisofs.
It's very useful to know when trying to rebuild the iso manually.
2011-09-13 10:43:25 +02:00
Will Woods
e647a7e18a remove sysinit setup stuff for Fedora 15 and earlier 2011-09-07 20:36:22 -04:00
Will Woods
9699e25045 imgutils: make do_graft work for files too
This is needed to make --icon work in mkefiboot
2011-09-07 12:06:48 -04:00
Will Woods
3ec9a12bf6 fixups for Apple EFI support in mkefiboot
- actually import glob
- forgot quotes on 'if opt.imgtype == "apple"'
2011-09-07 12:05:29 -04:00
Will Woods
77a2b78269 spec fixup for mkhfsimg - require hfsplus-tools 2011-09-07 12:04:36 -04:00
Will Woods
a0b3343d1e efi.tmpl: create macboot.img
use the new --apple flag for mkefiboot to create Mac-compatible
boot images.
2011-09-06 12:52:46 -04:00
Will Woods
8aba809aa7 Add --apple and --icon to mkefiboot
This adds support for Apple EFI images to mkefiboot. Ported from work on
the master branch by Matthew Garrett <mjg59@srcf.ucam.org>.
2011-09-06 12:46:41 -04:00
Will Woods
faafd04dcb add '--allbut' flag to 'removefrom'
This lets us easily do whitelisting instead of blacklisting during
runtime cleanup. For example:
 removefrom xfsprogs --allbut /sbin/* /usr/sbin/xfs_admin
would remove everything from the xfsprogs package except files in /sbin
and /usr/sbin/xfs_admin.

A few things in runtime-cleanup have been converted to use --allbut. The
only difference in the created runtime image is that we're deleting
/usr/share/kde4 from fedora-logos.
2011-08-31 19:40:20 -04:00
Will Woods
ad25ae85cb mkefiboot: clarify construction of dm partition dev 2011-08-30 13:10:58 -04:00
Will Woods
3f709325ef Revert "remove firstboot from runtime build"
It turns out we actually do need the firstboot module in anaconda.

This reverts commit d341587814.
2011-08-30 11:22:19 -04:00
Will Woods
5cefea05d0 xauth and libXmu are needed for ssh -X (#731046) 2011-08-29 20:26:54 -04:00
Will Woods
df3bc79574 tweak umask for imgutils' mkdosimg 2011-08-29 17:10:58 -04:00
Will Woods
8a8ec59b75 add mkhfsimg to imgutils 2011-08-29 17:10:20 -04:00
Will Woods
bf7ed5aa4e Build EFI hybrid (usb-bootable) images
From: Matthew Garrett <mjg@redhat.com>

If we're producing EFI bootable images then we should also support
making them bootable from USB sticks. This adds support for doing so.
2011-08-29 16:29:43 -04:00
Will Woods
219911f37c cleanup: don't bother removing network-manager-netbook 2011-08-29 15:46:15 -04:00
Will Woods
e756e57b5d add "livenet" module to initramfs 2011-08-29 15:08:06 -04:00
Will Woods
eb7bc9c9be various runtime-cleanup cleanups
- use libdir in GConf2
- delete redundant removals of /usr/share/gnome/*
- remove systemd units for nfs-utils
- remove all of notification-daemon rather than piece-by-piece
- don't try to delete non-existent libldif from openldap
- /usr/sbin/xfs_bmapd is actually /usr/sbin/xfs_bmap
- remove /etc/* from yum rather than etc/*
2011-08-29 15:04:43 -04:00
Will Woods
1e8e8002b4 add libreport plugins (#729537), clean up libreport
report got renamed to libreport, so we need to fix those lines in
cleanup.
2011-08-29 14:17:07 -04:00
Will Woods
49ae7d875c Keep nss certs for libreport (#730438)
libreport uses nss (and its certificate store) to connect to https
servers, so we need to keep the certificates etc.
2011-08-29 14:16:32 -04:00
Will Woods
ea31f4f23b add --noprefix to dracut invocation
--noprefix is the default, but fedora ships an /etc/dracut.conf that
changes the prefix. Set --noprefix to override this.

Discussed here:
https://www.redhat.com/archives/anaconda-devel-list/2011-August/msg00234.html
2011-08-29 13:23:20 -04:00
Will Woods
adbd396314 Don't remove ModemManager (#727946) 2011-08-29 13:18:31 -04:00
Martin Gracik
57845e7525 Do not remove xorg-x11-xauth and libXmu (#731046)
These packages are needed when installing over ssh -X
on s390
2011-08-26 10:22:11 +02:00
David Lehman
171497fdaa Remove fedora-storage-init so it can't start raid/lvm. (#729640) 2011-08-25 10:47:01 +02:00
Martin Gracik
536c6a0755 Do not remove ModemManager files (#727946) 2011-08-25 10:12:40 +02:00