diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-11 17:53:09 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-11 17:53:09 +0000 |
commit | 53ef583ff9b90d0813bf847725a0e2dbf65a58ae (patch) | |
tree | d0999c7b238c62898acd5b5e8014a60e430d30da /gentoo | |
parent | Copy the emerge-fail log (diff) | |
download | anaconda-53ef583ff9b90d0813bf847725a0e2dbf65a58ae.tar.gz anaconda-53ef583ff9b90d0813bf847725a0e2dbf65a58ae.tar.bz2 anaconda-53ef583ff9b90d0813bf847725a0e2dbf65a58ae.zip |
gentoo/utils.py: copy the kernel where GRUB can find them
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py index 3858df1..e0cba33 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -1078,7 +1078,8 @@ class GentooInstall: self._progress.set_text(_("Installing the kernel")) # TODO: Proper genkernel build subprocess.call(["mount", "/dev/sr0", "/mnt/cdrom"]) - subprocess.call(["cp", "-PR", "/mnt/cdrom/boot", self._root]) + shutil.copy2("/mnt/cdrom/boot/gentoo", self._root+"/boot/kernel-gentoo") + shutil.copy2("/mnt/cdrom/boot/gentoo.igz", self._root+"/boot/initrd-gentoo") self._progress.set_fraction(0.9) subprocess.call(["cp", "-PR", "/lib/modules", self._root+"/lib"]) self._progress.set_fraction(1.0) |