# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Sep 2007; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh,
+ gen_initrd.sh:
+ we don't ever want devfs in an initramfs
+ check KERN_24 instead of DEVFS for 2.4 initrd generation
+
17 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_cmdline.sh,
gen_compile.sh, gen_determineargs.sh, gen_funcs.sh, gen_initrd.sh,
genkernel, genkernel.8, genkernel.conf:
append_data 'base_layout'
append_data 'auxilary'
append_data 'busybox' "${BUSYBOX}"
- append_data 'devfs' "${DEVFS}"
+# append_data 'devfs' "${DEVFS}"
append_data 'unionfs_modules' "${UNIONFS}"
append_data 'unionfs_tools' "${UNIONFS}"
append_data 'lvm' "${LVM}"
chmod +x "${TEMP}/initrd-temp/bin/busybox"
# devfsd
- if [ "${DEVFS}" -eq '1' ]
+ if [ "${KERN_24}" -eq '1' ]
then
cp "${DEVFSD_BINCACHE}" "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not copy devfsd executable from bincache!'
bunzip2 "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not uncompress devfsd!'