Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 46167 | Differences between
and this patch

Collapse All | Expand All

(-)genkernel.old/gen_initrd.sh (+7 lines)
Lines 73-78 Link Here
73
#	cp "${DEVFSD_CONF_BINCACHE}" "${TEMP}/initrd-temp/etc/devfsd.conf.bz2" || gen_die "could not copy devfsd.conf from bincache"
73
#	cp "${DEVFSD_CONF_BINCACHE}" "${TEMP}/initrd-temp/etc/devfsd.conf.bz2" || gen_die "could not copy devfsd.conf from bincache"
74
#	bunzip2 "${TEMP}/initrd-temp/etc/devfsd.conf.bz2" || gen_die "could not uncompress devfsd.conf"
74
#	bunzip2 "${TEMP}/initrd-temp/etc/devfsd.conf.bz2" || gen_die "could not uncompress devfsd.conf"
75
75
76
	# LVM2
77
	if [ -e "/sbin/vgscan.static" ]
78
	then
79
		cp /sbin/vgscan.static "${TEMP}/initrd-temp/bin/vgscan" || gen_die "LVM2 not compiled statically"
80
		cp /sbin/vgchange.static "${TEMP}/initrd-temp/bin/vgchange" || gen_die "LVM2 not compiled statically"
81
	fi
82
	
76
	for i in '[' ash basename cat chroot clear cp dirname echo env false find \
83
	for i in '[' ash basename cat chroot clear cp dirname echo env false find \
77
	grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
84
	grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
78
	pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \
85
	pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \
(-)genkernel.old/generic/linuxrc (+10 lines)
Lines 101-106 Link Here
101
	chooseKeymap
101
	chooseKeymap
102
fi
102
fi
103
103
104
# LVM2
105
106
if [ -e "/sbin/vgscan" ]
107
then
108
	echo -e "${GOOD}>>${NORMAL}${BOLD} Scanning for Volume Groups...${NORMAL}"
109
	/sbin/vgscan
110
	echo -e "${GOOD}>>${NORMAL}${BOLD} Activating Volume Groups...${NORMAL}"
111
	/sbin/vgchange -ay
112
fi
113
104
echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems...${NORMAL}"
114
echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems...${NORMAL}"
105
115
106
mkdir /newroot
116
mkdir /newroot

Return to bug 46167