diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-02-02 14:31:52 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-02-02 14:31:52 +0000 |
commit | 5d0df2cf70835738638618975be5ce82cd6db999 (patch) | |
tree | 4335d46a88092db5687ed236c788f0b5284b5344 /gen_initrd.sh | |
parent | Removed save_args/reset_args on kernel. This is 3.3.11_pre7. (diff) | |
download | genkernel-5d0df2cf70835738638618975be5ce82cd6db999.tar.gz genkernel-5d0df2cf70835738638618975be5ce82cd6db999.tar.bz2 genkernel-5d0df2cf70835738638618975be5ce82cd6db999.zip |
Added patch from Kumba to make certain initrd functions less mips-specific.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@363 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_initrd.sh')
-rw-r--r-- | gen_initrd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen_initrd.sh b/gen_initrd.sh index 614f299c..c7a4afae 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -55,7 +55,7 @@ create_base_initrd_sys() { # SGI LiveCDs need the following binary (no better place for it than here) # getdvhoff is a DEPEND of genkernel, so it *should* exist - if [ "${MIPS_EMBEDDED_IMAGE}" != '' ] + if [ ${BUILD_INITRAMFS} -eq 1 ] then [ -e /usr/lib/getdvhoff/getdvhoff ] \ && cp /usr/lib/getdvhoff/getdvhoff ${TEMP}/initrd-temp/bin \ @@ -401,6 +401,6 @@ create_initrd() { rm ${TMPDIR}/initrd-${KV} # Mips also mimics Pegasos to merge the initrd into the kernel - [ "${MIPS_EMBEDDED_IMAGE}" != '' ] \ + [ ${BUILD_INITRAMFS} -eq 1 ] \ && cp ${TMPDIR}/initrd-${KV} ${KERNEL_DIR}/mips/ramdisk/initrd.img.gz } |