Commit Graph

96 Commits

Author SHA1 Message Date
Will Woods
fbc8977105 clarify isolinux.cfg twiddling stuff 2011-06-30 16:05:04 -04:00
Will Woods
da2b53d91f Fix x86 "root=..." quoting problem and add udev_escape()
udev_escape gets passed to the arch templates so they can properly
escape the root=live:CDLABEL=... argument.
2011-06-30 13:24:07 -04:00
Will Woods
d1266ff4e9 x86,ppc: add "root=live:CDLABEL=..." boot arg to CD images
The current implementation is hacky and gross; we should at least update
the bootloader files in anaconda to have a %ROOT% param in them.
2011-06-27 19:22:33 -04:00
Will Woods
25ef6b604d runtime-cleanup: remove cjkuni-uming-fonts line 2011-06-27 18:29:53 -04:00
Will Woods
a902bff9e7 runtime-cleanup: remove spurious "removefrom" lines
"fedora-gnome-theme" and "gtk3-engines" don't exist anymore.
2011-06-27 18:28:17 -04:00
Will Woods
9ac7db8cb1 Add TreeBuilder.generate_module_data() for depmod/module-info
generate_module_data() runs depmod for each kernel module in the install
root, then generates the (anaconda-specific) module-info files.
2011-06-27 14:46:47 -04:00
Will Woods
c7200e2aa8 replace cjkuni-uming-fonts with wqy-microhei-fonts (#709962)
wqy-microhei-fonts has better font coverage for Simplified Chinese. As
an added bonus, it's ~16MB smaller.
2011-06-27 13:04:18 -04:00
Will Woods
c0cf2095e4 remove f15 junk from runtime-postinstall 2011-06-24 18:19:34 -04:00
Will Woods
6ebbe2c19c remove f15 junk from runtime-cleanup 2011-06-24 18:09:44 -04:00
Will Woods
8122690ab9 runtime is images/install.img, or LiveOS/squashfs.img on boot.iso
rename the runtime image in the tree and on the ISO.
2011-06-24 17:26:01 -04:00
Will Woods
796e0ee45f runtime-cleanup: fix module cleanup
runtime-cleanup doesn't get a "kernels" arg, so just delete things under
/modules/*/kernel/...
2011-06-24 11:17:48 -04:00
Will Woods
9edadb59fa runtime-cleanup.tmpl: code cleanups
rearrange some things to flow more naturally.
2011-06-23 17:45:12 -04:00
Will Woods
35d532d119 runtime-cleanup: delete unneeded kernel modules
Removing the 'module' whitelist added ~50M of kernel modules. Yuck.
This commit adds a kmod blacklist, removing ~34MB of kernel modules.

Yes, that's a ~16MB increase, but we're also including a whole mess of
stuff that was getting left out before: missing ISDN drivers, wireless
drivers, net bonding drivers, infiniband drivers, etc.
2011-06-23 17:43:16 -04:00
Will Woods
b73132af75 rename "runtime" template arg to "runtime_img"
Mako uses "runtime" internally for things, and if you clobber it stuff
will just break in weird ways. So don't do that.
2011-06-23 10:46:28 -04:00
Will Woods
5eb6c9b12f arch templates: install runtime to /images/, put it on boot.iso
make sure the arch templates (s390 excluded) copy the runtime image in
to the /images/ dir, and make sure it gets grafted/copied into the
boot.iso.
2011-06-22 20:37:09 -04:00
Will Woods
e7e070596e refactor runtime-cleanup to do multiple removals per line 2011-06-22 14:20:02 -04:00
Will Woods
2b993610c1 runtime-cleanup: remove redundant openldap entries 2011-06-22 13:10:11 -04:00
Will Woods
d1d0e63542 runtime-cleanup: remove redundant "removefrom firstboot ..." lines 2011-06-22 13:01:26 -04:00
Ales Kozumplik
16f9a21347 Disable rsyslogd rate limiting on imuxsock.
Unbelievably, a new rsyslogd version turned on this undesirable feature by
default.

Related: rhbz#696943
2011-06-21 19:25:13 -04:00
Will Woods
6ad14ea42b keep libmodman and libproxy (#701622) 2011-06-08 12:53:49 -04:00
Will Woods
5ddad8b3e4 No run_pkg_transaction needed after removepkg 2011-05-31 14:29:41 -04:00
Will Woods
c00a0afd21 fix PYTHONDIR for new _glob 2011-05-31 12:24:17 -04:00
Will Woods
76ecff7bf9 Revert "add --noscripts to run_pkg_transaction, use it in cleanup"
Doesn't help. Less code is better.

This reverts commit c9e23b8941.
2011-05-27 15:24:07 -04:00
Will Woods
c9e23b8941 add --noscripts to run_pkg_transaction, use it in cleanup 2011-05-27 12:57:31 -04:00
Will Woods
66e8d5d1f8 postinstall.tmpl cleanups 2011-05-27 11:03:49 -04:00
Will Woods
9dad023a2f fix PYTHONDIR in runtime-postinstall.tmpl 2011-05-27 11:03:49 -04:00
Will Woods
08c58377cc postinstall fixup - there's no 'shutdown' in anaconda.. 2011-05-27 10:53:38 -04:00
Will Woods
33107bdab1 runtime-postinstall depmod cleanup 2011-05-26 18:36:30 -04:00
Will Woods
51472dee28 template fixup: use product.version instead of conf.systemd 2011-05-26 14:21:13 -04:00
Will Woods
511deeaea9 fix <%page args=""/> syntax error 2011-05-26 13:05:33 -04:00
Will Woods
398b3b0922 Remove module command from treebuilder and templates
Module whitelisting is silly. Let's blacklist the stuff we don't need.
2011-05-17 18:16:06 -04:00
Will Woods
fa80e95ed4 fixup: add module stuff to runtime-postinstall 2011-05-14 03:28:47 -04:00
Will Woods
905e05159d crazytime: replace installtree with runtimebuilder 2011-05-14 03:28:41 -04:00
Will Woods
923d760db4 runtime-cleanup.tmpl: remove quotes, add "removefrom" command 2011-05-13 13:06:03 -04:00
Will Woods
6a32e5fb25 fix systemd-sysvinit package name in runtime-install.tmpl 2011-05-13 13:05:11 -04:00
Will Woods
9be6dd2864 Revert "Add systemd and agetty to the installation environment."
Add setup_init() and setup_s390_init() to installtree.py to handle
init setup, and stop using systemd so we can make F15 images.

This reverts commit b58190d660.
2011-05-13 13:03:54 -04:00
Will Woods
0f474a0e07 runtime*.tmpl tweaks for conf.systemd 2011-05-13 12:25:52 -04:00
Will Woods
cd59bbc1f3 drop efidisk.img from boot.iso on x86 2011-05-12 17:32:03 -04:00
Will Woods
18279ba4c5 fix EFI path 2011-05-12 17:32:03 -04:00
Will Woods
ba8e7e6945 x86.tmpl/efi.tmpl fixups
fix initrd hardlink
splash.xml.gz should be splash.xpm.gz
fix mkisofs args
actually replace vars in isolinux.cfg
2011-05-12 17:31:20 -04:00
Will Woods
c7c01667d6 fixup: add xz to ramdisk.tmpl for treebuilder 2011-05-12 17:28:53 -04:00
Will Woods
984185be0c WIP: port ramdisk.ltmpl and installtree to TemplateRunner 2011-05-12 17:28:52 -04:00
Will Woods
1350cd028f treebuilder.py: uses templates to create trees/images
TreeBuilder uses templates full of commands (like ramdisk.ltmpl) to
create the output tree and boot images. There are 4 arch-specific
templates, plus a bonus EFI template which can handle EFI image creation
for any arch that implements EFI.
2011-05-09 15:33:54 -04:00
Chris Lumens
97d7db6780 Add the udf module to the image. 2011-04-21 10:23:21 -04:00
Ales Kozumplik
640820d90c Preserve anaconda's /usr/bin so anaconda-cleanup is in the image.
We depend on the script with restart-anaconda now.
2011-04-19 16:27:11 +02:00
Martin Gracik
0ee4cc539a Reflect changes made in ntfs-3g and ntfsprogs packages (#696706) 2011-04-15 10:10:40 +02:00
Chris Lumens
7abab358a4 Set the hostname from a config file, not programmatically. 2011-04-12 10:36:15 -04:00
Chris Lumens
b58190d660 Add systemd and agetty to the installation environment.
Also, set up anaconda.target to be the default systemd unit.
2011-04-12 10:36:04 -04:00
Martin Gracik
f8872b78ea Add s390 modules and do some cleanup of the template 2011-03-31 10:39:44 +02:00
Martin Gracik
22f3625fcf Don't remove tr, needed for s390 2011-03-28 10:17:16 +02:00