diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-09 20:24:09 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-09 20:24:09 +0000 |
commit | 89c7fbdde588c97a343a04e48f4e06d15dde08d9 (patch) | |
tree | 575b134d2b9fcbff5224e342118f1a55ae841822 /gen_initramfs.sh | |
parent | Fixed lib64 link for bug #168664. (diff) | |
download | genkernel-89c7fbdde588c97a343a04e48f4e06d15dde08d9.tar.gz genkernel-89c7fbdde588c97a343a04e48f4e06d15dde08d9.tar.bz2 genkernel-89c7fbdde588c97a343a04e48f4e06d15dde08d9.zip |
Added a patch by John R. Graham <john_r_graham@mindspring.com> from bug #169383 to improve the --symlink option fairly significantly. This is going to be 3.4.7_pre4 and while I haven't tested this yet, it looks good.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@494 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_initramfs.sh')
-rw-r--r-- | gen_initramfs.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 322644da..6889fe93 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -527,8 +527,9 @@ create_initramfs() { then if [ "${GENERATE_Z_IMAGE}" != '1' ] then - cp ${TMPDIR}/initramfs-${KV} ${BOOTDIR}/initramfs-${KNAME}-${ARCH}-${KV} || - gen_die 'Could not copy the initramfs to ${BOOTDIR}!' + copy_image_with_preserve "initramfs" \ + "${TMPDIR}/initramfs-${KV}" \ + "initramfs-${KNAME}-${ARCH}-${KV}" fi fi } |