Added a small debug statement to generic/linuxrc so we know when we're hitting the initrd code path. This is genkernel 3.4.10_pre5 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@628 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 17 years ago
parent 565bb21a48
commit 583d25030b

@ -2,11 +2,16 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
12 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc,
genkernel:
Added a small debug statement to generic/linuxrc so we know when we're
hitting the initrd code path. This is genkernel 3.4.10_pre5 for testing.
12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh: 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
Change to new temp directory so the firmware gets copied to the right place Change to new temp directory so the firmware gets copied to the right place
12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh: 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
Copy with -L so we get the file instead of the symlink Copy firmware file with -L so we get the file instead of the symlink
12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh: 12 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
Fix another quoting malfunction Fix another quoting malfunction

@ -601,6 +601,8 @@ verbose_kmsg
if [ "$0" = '/linuxrc' ] || [ "$0" = 'linuxrc' ] if [ "$0" = '/linuxrc' ] || [ "$0" = 'linuxrc' ]
then then
# XXX: remove me!!!
echo "DEBUG: initrd code path"
if [ ! -e "${CHROOT}/dev/console" ] || [ ! -e "${CHROOT}/dev/null" ] \ if [ ! -e "${CHROOT}/dev/console" ] || [ ! -e "${CHROOT}/dev/null" ] \
|| [ ! -e "${CHROOT}/dev/tty1" ] || [ ! -e "${CHROOT}/dev/tty1" ]
then then

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
PATH="${PATH}:/sbin:/usr/sbin" PATH="${PATH}:/sbin:/usr/sbin"
GK_V='3.4.10_pre4' GK_V='3.4.10_pre5'
# Set the default for TMPDIR. May be modified by genkernel.conf or the # Set the default for TMPDIR. May be modified by genkernel.conf or the
# --tempdir command line option. # --tempdir command line option.
@ -30,6 +30,7 @@ case "$*" in
;; ;;
esac esac
# Pull in our configuration
source ${CMD_GK_CONFIG:-/etc/genkernel.conf} || small_die "Could not read /etc/genkernel.conf" source ${CMD_GK_CONFIG:-/etc/genkernel.conf} || small_die "Could not read /etc/genkernel.conf"
# Start sourcing other scripts # Start sourcing other scripts

Loading…
Cancel
Save