aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-07-28 16:18:04 -0700
committerChris Gianelloni <wolf31o2@gentoo.org>2008-07-28 16:18:04 -0700
commitd5b1e6a9852b18010f24c2f47edfff5daa221cf1 (patch)
treefd8e8f42b4b88465e41fab06419fab89373e87a0 /gen_package.sh
parentMoving files from generic to defaults, since they are the defaults used globa... (diff)
downloadgenkernel-d5b1e6a9852b18010f24c2f47edfff5daa221cf1.tar.gz
genkernel-d5b1e6a9852b18010f24c2f47edfff5daa221cf1.tar.bz2
genkernel-d5b1e6a9852b18010f24c2f47edfff5daa221cf1.zip
Removed all references to an initrd and renamed most initr{d,amfs} stuff to simply 'ramdisk' to simplify things for the future.
Diffstat (limited to 'gen_package.sh')
-rw-r--r--gen_package.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/gen_package.sh b/gen_package.sh
index 207e5b4..7126009 100644
--- a/gen_package.sh
+++ b/gen_package.sh
@@ -24,12 +24,7 @@ gen_minkernpackage() {
if ! isTrue "${INTEGRATED_INITRAMFS}"
then
- if [ "${KERN_24}" != '1' ]
- then
- [ "${BUILD_INITRD}" -ne 0 ] && { cp "${TMPDIR}/initramfs-${KV}" "${TEMP}/minkernpackage/initramfs-${ARCH}-${KV}" || gen_die 'Could not copy the initramfs for the kernel package!'; }
- else
- [ "${BUILD_INITRD}" -ne 0 ] && { cp "${TMPDIR}/initrd-${KV}" "${TEMP}/minkernpackage/initrd-${ARCH}-${KV}" || gen_die 'Could not copy the initrd for the kernel package!'; }
- fi
+ [ "${BUILD_RAMDISK}" -ne 0 ] && { cp "${TMPDIR}/initramfs-${KV}" "${TEMP}/minkernpackage/initramfs-${ARCH}-${KV}" || gen_die 'Could not copy the initramfs for the kernel package!'; }
fi
if [ "${KERNCACHE}" != "" ]