Martin Gracik
43801291ef
Do not remove ntfsprogs ( #722711 )
2011-07-18 16:45:35 +02:00
Martin Gracik
d9e9b0e57c
Create dracut initramfs for each kernel ( #722466 )
2011-07-18 13:48:56 +02:00
Will Woods
080a32b273
More hacks to work around weird /var/run vs. /run stuff in F15
2011-07-07 19:26:03 -04:00
Will Woods
6c7709e592
Don't install/start plymouth in the initramfs
2011-07-07 19:10:12 -04:00
Will Woods
e1edc65e62
runtime-{postinstall,cleanup}: more F15 fixes
...
* don't remove /usr/lib/locale and locale-archive in F15
* make sure /var/run isn't a symlink
2011-07-07 18:38:55 -04:00
Martin Gracik
2c80e5b773
Disable debuginfo package
2011-07-07 17:31:02 -04:00
Will Woods
abaab765cb
Fix f15 crash with missing /var/run/dbus
2011-07-07 10:57:55 -04:00
Will Woods
497f63a041
debugging: write out dirnames as well as filenames in pkglist/
2011-07-06 19:36:42 -04:00
Will Woods
9dde406193
Copy lang-table into etc, and remove it during cleanup
2011-07-06 19:33:38 -04:00
Will Woods
14cc34e1ee
F15 fix: remove /sbin/init before copying over it
...
If it's a symlink, we'll copy the file into the symlink, and then we'll
likely remove the target of the symlink (../bin/systemd) in cleanup, and
then we have no init. Boo.
2011-07-06 19:10:48 -04:00
Will Woods
f5164d6460
ltmpl: do brace expansion on the entire template
...
Handle brace expansion while parsing the template rather than
individually per-command. This is closer to how bash does things anyway.
2011-07-06 18:02:20 -04:00
Will Woods
d61ae8c1e6
fixup - correctly detect F15 builds
...
Yeah, for F16 you need to do "version > 15", not ">= 15". Oops.
Also, check product.version before using anaconda_dracut_hack().
2011-07-06 17:17:40 -04:00
Will Woods
23e048d7de
remove "mknod" from the anaconda stub list
...
Apparently this doesn't exist anymore.
2011-07-06 13:55:39 -04:00
Will Woods
ba686350ef
Revive code/hacks for building F15 images
...
To build F15 images we need to remove systemd and set up loader as init
(see runtime-cleanup and runtime-postinstall).
We also need to add a hack to dracut so loader won't freak out when it
gets started by anaconda - see the file we're adding to the initramfs in
treebuilder.py.
(There's also an extra bonus hack for working around a bug in dracut if
/proc/cmdline is empty - SEE IF YOU CAN SPOT IT!!!)
2011-07-06 13:07:21 -04:00
Will Woods
51060f07f6
hacklet to hush dracut warnings about /proc/modules
...
We just touch ${inroot}/proc/modules before the chroot, and remove it
afterward.
2011-07-06 12:22:49 -04:00
Will Woods
2fcb05883b
scads of ppc.tmpl fixes
2011-07-05 19:37:26 -04:00
Will Woods
a2b6b53cf3
ppc.tmpl fix: %endif, not %fi (what is this, bash?)
2011-07-05 14:06:13 -04:00
Will Woods
a8be95a852
Remove obsolete "pdisk" package from runtime-install
2011-07-05 13:49:47 -04:00
Will Woods
5c0095cdc8
fixup: self.basearch, not basearch
2011-07-05 13:40:48 -04:00
Will Woods
fc6030edaa
Fix libdir to match basearch (not buildarch), use getBaseArch
...
Let's let yum handle the magic of figuring out what basearch is. And
since basearch will match userspace, libdir should match basearch.
This fixes stuff on pre-F16 ppc64 (where basearch is ppc and thus has a
different libdir).
2011-07-05 13:32:48 -04:00
Will Woods
1fc0e1c3da
update Requires and Version in spec
2011-07-01 19:43:49 -04:00
Will Woods
3f09a7bcc1
keep /usr/bin/vmmouse_detect
2011-07-01 16:55:16 -04:00
Will Woods
59b33150aa
generate_module_data needs to happen before cleanup
2011-07-01 16:30:07 -04:00
Will Woods
d636b82783
Move generate_module_data before create_runtime
...
module-info and the updated depmod stuff need to be inside the runtime
image, so this needs to happen before create_runtime. Accordingly,
generate_module_data gets moved to RuntimeBuilder.
2011-07-01 15:44:11 -04:00
Will Woods
a8f627faab
module-info fix: first line must be "Version 0"
2011-07-01 14:41:13 -04:00
Will Woods
446c45c8e5
fix path for module-info (should be /lib/modules/module-info)
2011-07-01 14:07:06 -04:00
Will Woods
c5bfdf0e71
ppc.tmpl: clean up zimage building
...
remove deprecated "mkzimage" stuff (gone since F10)
clean up the call to 'wrapper'
assume we'll always build zimages
2011-07-01 13:05:11 -04:00
Will Woods
41ca62d30b
fixup: runner->_runner
2011-06-30 18:13:24 -04:00
Will Woods
416b7eef57
make glob() in templates return a list
2011-06-30 17:54:02 -04:00
Will Woods
2e8d5c78b8
move template 'exists' and 'glob' to self.builtins
...
otherwise, assigning to runner.defaults clobbers them. oops.
2011-06-30 16:59:55 -04:00
Will Woods
ebdf223497
add TODO comment
2011-06-30 16:05:43 -04:00
Will Woods
be1dfeeab7
fix incorrect paths in s390.tmpl
2011-06-30 16:05:19 -04:00
Will Woods
fbc8977105
clarify isolinux.cfg twiddling stuff
2011-06-30 16:05:04 -04:00
Will Woods
5cb7371cdf
treebuilder refactor: rearrange functions to be easier to read
2011-06-30 13:40:26 -04:00
Will Woods
b39d90c688
Move LoraxTemplateRunner (and helpers) to ltmpl
2011-06-30 13:24:07 -04:00
Will Woods
be45950bd3
_glob/_exists -> rglob/rexists, rglob(fatal=False)
...
Also fix incorrect argument to _glob in LoraxTemplateRunner.defaults
2011-06-30 13:24:07 -04:00
Will Woods
75d1b6562b
make _glob an iterator, and remove it from RuntimeBuilder.cleanup()
2011-06-30 13:24:07 -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
45c8f234ac
Refactor: Merge TemplateParser+TemplateRunner into LoraxTemplateRunner
...
Also move 'glob' and 'exists' into the default args held by the template
runner.
2011-06-29 12:43:12 -04:00
Will Woods
9cd0ac09d1
treebuilder: decode escape sequences in the 'append' command
...
Note that this might not work in python3 (we might need to encode the
data to utf8 before we can decode the escape sequences).
2011-06-27 19:24:05 -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
e1a0e40ffa
log message cleanup
2011-06-27 17:54:09 -04:00
Will Woods
3388c1c529
fix use of brace_expand in removefrom
2011-06-27 16:03:40 -04:00
Will Woods
741fbc7b43
fixup: import check_output for generate_module_info
2011-06-27 16:02:51 -04:00
Will Woods
6b218437c8
generate_module_info fixup: "join" should be "joindir"
2011-06-27 15:18:16 -04:00
Will Woods
c2631bd8e3
remove unused 'constants' module
2011-06-27 14:51:54 -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