Commit Graph

235 Commits

Author SHA1 Message Date
Martin Gracik
839017cda1 Leave some of the grub2 utilities in the install image (#749323) 2012-04-16 13:53:52 +02:00
Brian C. Lane
cf1c3a8d66 add gdisk to install image (#811083)
Add gdisk and related tools to the install image.
2012-04-12 08:30:01 -07:00
Martin Gracik
488339235a Don't use --allbut for xfsprogs cleanup (#804779) 2012-04-11 08:51:13 +02:00
Martin Gracik
9c97371391 Add spice-vdagent to initrd (#804739) 2012-04-10 09:45:43 +02:00
Martin Gracik
5bce2001d5 Add ntfs-3g to initrd (#804302) 2012-04-10 09:45:43 +02:00
Brian C. Lane
d7956e52a0 ntfs-3g now uses /usr/lib (#810039) 2012-04-05 07:47:21 -07:00
Brian C. Lane
0823441886 add iscsi-initiator-utils (#804522) 2012-03-28 08:38:10 -07:00
Matthew Garrett
73beff011f mkefiboot: Make Apple boot images appear in the startup preferences
There's a small amount of additional metadata required for the Mac boot
images to appear as bootable devices in the startup preferencs, so add
support for generating that.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2012-03-21 17:40:08 -07:00
Will Woods
309bbbb4da add symlink from /mnt/install -> /run/install
Since noloader mounts stuff under /run/install, but anaconda (and
people's scripts etc.) look under /mnt/install, make a symlink so
everything works as expected.
2012-03-19 20:25:20 -04:00
Will Woods
58228ab5f7 Don't trash all the initscripts 'fedora*' services
We need some of them (fedora-import-state.service), so let's just
disable the ones that cause us problems (mostly fedora-storage*).
2012-03-16 16:53:52 -04:00
Will Woods
00c0009e14 remove anaconda-copy-ks.sh
anaconda-copy-ks.sh is included in the 'anaconda' dracut module, so we
don't need to install it here anymore.
2012-03-16 16:47:59 -04:00
Will Woods
e8894b64fa 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-16 16:47:59 -04:00
Will Woods
a077587eb8 runtime-postinstall: remove references to loader
No more loader. Bye-bye, loader.
2012-03-16 16:47:59 -04:00
Will Woods
3a0b059577 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-16 16:47:59 -04:00
Martin Gracik
b4ce329235 Add the icfg package (#771733) 2012-03-14 11:03:02 +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
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
0e9d3e0c1c Install nhn-nanum-gothic-fonts (#790266)
Replacing un-core-dotum-fonts.
2012-02-28 13:48:29 +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
a060705479 dhclient-script needs cut and arping 2012-02-17 16:32:05 -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
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
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
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
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
Brian C. Lane
c97666bb94 Add luks, md and dm dracut args to bootloaders 2012-02-03 15:06:21 -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
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
Brian C. Lane
31c60b119b lorax: Don't touch /etc/mtab in cleanup 2012-01-09 12:11:02 -08:00
Brian C. Lane
3c02a01a81 dracut needs kbd directories (#769932) 2012-01-03 17:24:41 -08:00
Brian C. Lane
59a1ef8b0b Add config files for live media 2011-12-20 14:59:58 -08:00
Will Woods
27dda6eae6 ppc.tmpl: work around yaboot's crippling fear of backslashes
If yaboot so much as catches a whiff of a backslash in yaboot.conf, it
will reject the entire file. No bootloader config means no booting.

So as long as we're still using yaboot on PPC, we need to use ISO volume
labels it can handle. So: filter the isolabel, replacing any non-ASCII
characters with underscores.
2011-11-16 15:18:47 -05:00
Will Woods
86937d2c0a ppc.tmpl: clarify comments, fix yaboot.conf for Apple systems
So there's actually two copies of yaboot on a PPC image, and they each
use different config files:

  ppc/chrp/yaboot --> /etc/yaboot.conf
  ppc/mac/yaboot  --> /ppc/ppc{32,64}/yaboot.conf

So we need two copies of yaboot.conf - one in each place - to
boot properly (or all three if we're making hybrid images). Whee!

The comments should now make this more clear for future reference.
2011-11-16 15:17:39 -05:00
Will Woods
e3bb8700c6 postinstall: fix root account password (#750907)
'replace' uses regexes, so that '*' needs to be escaped...

Signed-off-by: Will Woods <wwoods@redhat.com>
2011-11-08 11:29:53 -05:00
Will Woods
235962e30a drop workaround for pre-f16 anaconda's tmp.mount 2011-11-02 15:06:09 -04:00
Will Woods
3dde9f6316 fix postinstall user creation/modification (fixes #750907)
We were appending to /etc/shadow when previous versions of lorax
overwrote it, so we ended up with two conflicting entries for "root".

Instead:
- keep existing /etc/shadow and /etc/passwd contents
- add new entries for "install" user
- remove password from existing "root" entry in /etc/shadow

Also, we don't need to create the 'sshd' user, because the
openssh-server %post script does that for us.
2011-11-02 15:05:59 -04:00
Will Woods
0fed4e33c2 Add --mac to isohybrid args (makes Apple EFI work) 2011-11-02 13:17:20 -04:00
Will Woods
d7f05f1386 use grub, not grub2 (we're still generating grub1 configs) 2011-11-01 15:57:45 -04:00
Will Woods
7f149decea efi.tmpl: drop efidisk.img
This was a holdover from the days when we couldn't properly EFI-boot
boot.iso, but now with isohybrid EFI support we should be fine without
it.
2011-10-31 15:02:02 -04:00
Will Woods
1ec2fe9fbd x86.tmpl: add eltorito alt boot entry for macboot.img
This should allow us to boot the created image on Apple EFI systems.
2011-10-31 15:02:01 -04:00
Will Woods
f1ff48243d efi.tmpl: use Apple EFI icon from installed root 2011-10-31 14:57:44 -04:00
Chris Lumens
2168014d3f Set a default font for systemd to load. 2011-10-31 12:55:49 -04:00