Commit Graph

1074 Commits

Author SHA1 Message Date
Chris Lumens
1ff9b2377b Add console fonts to the runtime.
We need these around for systemd to load.
2011-10-31 12:11:02 -04:00
Will Woods
d0a4364396 runtime-cleanup: clarify & improve gtk/gnome theme cleanups
Actual content changes:
- {High,Low}Contrast themes moved to gnome-themes-standard, so remove
  them from there. Also remove HighContrastInverse theme.
- Removed metacity 'Atlanta' theme - 'Adwaita' is the default metacity
  theme these days.
2011-10-26 15:47:14 -04:00
Will Woods
ac347c364a runtime-cleanup: drop some useless lines
neither avahi nor dmz-cursor-themes gets installed anymore.
2011-10-26 15:46:37 -04:00
Will Woods
e14c0e51a7 runtime-cleanup: clarify dejavu font cleanups 2011-10-26 14:48:55 -04:00
Will Woods
e715cb0dd1 Fix /firmware and /modules symlinks 2011-10-26 14:48:55 -04:00
Will Woods
8cdef602d5 make sure ntfsresize gets installed
ntfsresize is currently living in the ntfsprogs package, which (for
whatever reason) isn't getting automatically pulled into the runtime
environment anymore.

So: install ntfsprogs in runtime-install, and remove everything but
ntfsresize in runtime-cleanup.
2011-10-26 14:47:28 -04:00
Will Woods
dfa7742a6d default to fatalerrors=True in LoraxTemplateRunner
This means that any (non-ignored) command error will cause lorax to
exit.

Do note, however, that some commands (e.g. remove, installpkg) don't
raise exceptions and therefore will not cause lorax to exit.
2011-10-26 13:09:50 -04:00
Will Woods
0e64f08ff8 Add '-cmd' syntax to ignore errors, drop copyif/moveif
Makefile-style "-cmd" syntax lets us run a command and ignore any
resulting errors. This is a more general version of what copyif/moveif
were trying to accomplish, so we can drop those commands.
2011-10-26 13:08:39 -04:00
Will Woods
fe98d6c921 add wwoods to AUTHORS 2011-10-26 12:36:06 -04:00
Will Woods
0fd48ba936 fix typo in mkefiboot's macbless() 2011-10-25 17:23:24 -04:00
Will Woods
8db7604a06 don't remove fs/nls kernel modules (we need them for some mounts) 2011-10-25 16:24:17 -04:00
Will Woods
305476eefe add comment about symlink root-escape problem 2011-10-25 16:19:23 -04:00
Will Woods
601fef6874 fix /modules symlink problem (lorax deleting modules on host!)
symlinking /modules to '/lib/modules' inside the runtime image is fine,
but since we're operating outside the runtime image, the absolute
symlink will point to the host's /lib/modules, which can cause us to
delete kernel modules. Yikes.

Instead:
1) use /lib/modules rather than the symlink, and
2) use a relative symlink, just to be safe.
2011-10-25 16:12:09 -04:00
Will Woods
87eef3ff00 mkefiboot: use argparse, improve --help output 2011-10-25 16:04:09 -04:00
Will Woods
a6c93585c0 add test-parse-template to help debugging template problems 2011-10-25 14:54:51 -04:00
Will Woods
94ff38ccfa give version.py its own makefile rule and .gitignore line 2011-10-24 19:01:21 -04:00
Will Woods
add3de21eb Merge branch 'abandoned/master-before-treebuilder' 2011-10-24 16:50:10 -04:00
Will Woods
eda784e085 lorax.spec: update to lorax-17.0 and add big changelog 2011-10-24 16:27:52 -04:00
Will Woods
cd1225c5fb minor comment cleanups 2011-10-24 16:27:36 -04:00
Martin Gracik
73fc20b165 Write the lorax verion in the .buildstamp (#689697)
(cherry picked from commit 4271e0fc02)

Conflicts:
	src/pylorax/buildstamp.py

Signed-off-by: Will Woods <wwoods@redhat.com>
2011-10-24 16:07:25 -04:00
Will Woods
0236440581 clean up config_files dir (and fix templates to match)
move arch-specific stuff to arch-specific subdirs and move all the
common stuff to a subdir named 'common'. Also, rename '.profile' and
'.bash_history' so you actually see them when you 'ls' the 'common' dir.

also added some helpful(?) comments to the templates.
2011-10-21 17:35:52 -04:00
Will Woods
2f4b9c16b6 New syslinux config (#734170)
Adapted from commit b3301595bc.
2011-10-21 13:17:15 -04:00
Will Woods
0c2988f34d symlink /lib/{modules,firmware} to /
Anaconda expects /firmware and /modules because of Ancient Tradition.
Set up the symlinks for compatibility's sake.
2011-10-18 16:31:50 -04:00
Martin Gracik
7f4b7fa00f Do not remove /usr/bin/env 2011-10-18 12:19:17 +02:00
Will Woods
1ed5d99473 move from grub to grub2. YEE-HAW. 2011-10-17 18:53:06 -04:00
Martin Gracik
00de3d6266 Changes required for grub2 (dgilmore) 2011-10-17 19:12:33 +02:00
Martin Gracik
2ce5fe7b3d Add fpaste to install environment (#727842) 2011-10-17 14:04:34 +02:00
Will Woods
23c7a029ce rsyslog.conf: hardcode hostname for virtio forwarding (#744544)
Patch by Ales Kozumplik <akozumpl@redhat.com>

The value syslogd provides at this early point when kickstart starts is
"(none)". This makes the receiving syslog unable to parse the incoming
messages.
2011-10-13 10:31:45 -04:00
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