Commit Graph

226 Commits

Author SHA1 Message Date
Martin Gracik
ef1ae59a8a images dir already exists, we just need to set it 2011-04-12 13:19:38 +02:00
Martin Gracik
c3e7664448 The biarch is a function not an attribute 2011-04-12 13:19:38 +02:00
Martin Gracik
f5258e7266 Create images directory in outputtree 2011-04-12 13:19:38 +02:00
Martin Gracik
76ba5755fc Create efibootdir if doing efi images 2011-04-12 13:19:38 +02:00
Ales Kozumplik
1b5100b5ca Get rid of create_gconf().
We do what create_gconf is trying to achieve in get_config_files(). What's
more, the files in crete_gconf() end up in the root directory where
nothing can possibly use them because the root user's home is now /root.
2011-04-12 13:19:38 +02:00
Martin Gracik
c41e8a89b8 Replace variables in yaboot.conf 2011-04-12 13:19:38 +02:00
Martin Gracik
a588f46823 Skip keymap creation on s390 2011-04-12 13:19:38 +02:00
Martin Gracik
69ad288e66 Copy shutdown and linuxrc.s390 on s390 2011-04-12 13:19:38 +02:00
Martin Gracik
662449d0f6 Add support for sparc 2011-04-12 13:19:38 +02:00
Martin Gracik
9b8a8c83d7 Use factory to get the image classes 2011-04-12 13:19:38 +02:00
Martin Gracik
7bfb602ff4 treeinfo has to be addressed as self.treeinfo 2011-04-12 13:19:38 +02:00
Martin Gracik
682515da71 Add support for s390 2011-04-12 13:19:38 +02:00
Martin Gracik
c7f43aaa6b Add the xen section to treeinfo on x86_64 2011-04-12 13:19:38 +02:00
Martin Gracik
3f64827719 Fix magic and mapping paths 2011-04-12 13:19:38 +02:00
Martin Gracik
d2daafa402 Fix passing of prepboot and macboot arguments 2011-04-12 13:19:38 +02:00
Martin Gracik
073e71ad8b Small ppc fixes 2011-04-12 13:19:38 +02:00
Martin Gracik
7fddbc3b09 Check if the file we want to remove exists
If we have directory symlinks, some files could have already
been removed and we get a traceback. This prevents the traceback.
2011-04-12 13:19:38 +02:00
Martin Gracik
589ae9e600 Change the location of zImage.lds 2011-04-12 13:19:38 +02:00
Martin Gracik
183bcc7065 memtest and efika.forth are in /boot 2011-04-12 13:19:38 +02:00
Martin Gracik
203cc7b15f Add support for ppc
The way we create the images had to be changed a little.
Some code had to be moved to other places, so we can create
images for other architectures too.
2011-04-12 13:19:37 +02:00
Martin Gracik
aff37a71d1 Print a message when no arguments given (#684463) 2011-04-12 13:19:37 +02:00
Martin Gracik
600e9c16e8 Mako template returns unicode strings (#681003)
New mako template returns unicode strings, which are
a problem for shlex. We need to encode them to ascii.
2011-04-12 13:19:37 +02:00
Martin Gracik
866b36115a The check option in options causes ValueError
The crc32 check we want is the default anyway,
so we don't need to specify it.
2011-04-12 13:19:37 +02:00
Ales Kozumplik
e17d3484e1 Disable all ctrl-alt-arrow metacity shortcuts.
No need for desktop switching, just makes the users confused.

Resolves: rhbz#678892
2011-04-12 13:19:37 +02:00
Martin Gracik
d5c4537476 Use xz when compressing the initrd
This makes the image a lot smaller.
2011-04-12 13:19:37 +02:00
Ales Kozumplik
80035c6b7b gconf/metacity: have only one workspace.
Related: rhbz#683548
2011-03-21 08:57:05 +01:00
Martin Gracik
ccd8a136b0 Add the images-xen section to treeinfo on x86_64 (#683383) 2011-03-15 14:51:07 +01:00
Martin Gracik
cdff835357 Add mkdir support to template
Allow mkdir command in initrd template,
so we can specify directories we need
to create in install tree.
2011-01-31 20:57:07 +01:00
Martin Gracik
d264eb3ed8 Don't create mtab symlink, already exists
Resolves: #671155
2011-01-21 11:18:47 +01:00
Martin Gracik
f5ac972e92 Exit with error if we have no lang-table 2011-01-20 09:00:00 +01:00
Martin Gracik
58d5ecf2a7 Fix file logging 2011-01-19 15:37:44 +01:00
Martin Gracik
47cf65df19 Overwrite the /etc/shadow file 2011-01-19 13:54:50 +01:00
Martin Gracik
b00b0a77c9 Use [images-xen] section for PAE and xen kernels 2011-01-17 16:29:46 +01:00
Martin Gracik
cd339589cc Add the initd and kernel lines to .treeinfo 2011-01-09 12:50:39 +01:00
Martin Gracik
d0f2c1a936 Move lorax executable to sbin 2010-12-17 16:46:44 +01:00
Martin Gracik
5b3fdf6936 Remove mksquashfs command
Not used anywhere
2010-12-17 15:59:26 +01:00
Martin Gracik
a7bcc9188d Use losetup from util-linux-ng
losetup-stub was removed from anaconda runtime,
we want to use the one from util-linux-ng
2010-12-13 09:03:15 +01:00
Martin Gracik
ea3df8ad20 Do not create efi images for 32 bit archs 2010-12-08 17:21:10 +01:00
Martin Gracik
ce25d50495 Add a new line after version in buildstamp 2010-12-08 15:53:41 +01:00
Martin Gracik
f85fa1d1ed Copy main kernel to isolinux and only others to pxeboot directory 2010-12-07 14:08:30 +01:00
Martin Gracik
bdb9b700f4 Split initrd for multiple kernels 2010-12-06 15:05:47 +01:00
Martin Gracik
826e580cd8 Change the XEN kernel constant value 2010-12-06 13:53:06 +01:00
Martin Gracik
688b4aa5ae Add buildarch variable to template 2010-12-06 10:52:39 +01:00
Martin Gracik
c062a954f7 Fixed pylint errors in yumhelper.py 2010-12-02 13:34:29 +01:00
Martin Gracik
ea6139f125 Fixed pylint errors in sysutils.py 2010-12-02 13:29:55 +01:00
Martin Gracik
5a3ff79726 Fixed pylint errors in outputtree.py 2010-12-02 13:27:08 +01:00
Martin Gracik
007ed0dc76 Fixed pylint errors in output.py 2010-12-02 13:24:15 +01:00
Martin Gracik
b7504823e0 Fixed pylint errors in ltmpl.py 2010-12-02 13:20:41 +01:00
Martin Gracik
98fab0f389 Fix pylint errors in installtree.py 2010-12-02 13:16:11 +01:00
Martin Gracik
070fbdab10 Use constant value from constants.py for fs overhead 2010-12-02 13:00:31 +01:00