Fix xen-kernel initrd-build

This commit is contained in:
Arne Fitzenreiter
2009-09-12 09:56:30 +02:00
parent 72a5a120e2
commit ef2d1a1bc1

View File

@@ -42,7 +42,7 @@ cp /boot/grub/grub.conf /boot/grub/grub-backup-$KVER-xen.conf
# Add new Entry to grub.conf
#
echo "" >> /boot/grub/grub.conf
echo "title IPFire Xen-Kernel:$KVER" >> /boot/grub/grub.conf
echo "title IPFire (XEN-Kernel)" >> /boot/grub/grub.conf
echo " root (hd0,0)" >> /boot/grub/grub.conf
echo " kernel /vmlinuz-$KVER-ipfire-xen root=$ROOT rootdelay=10 panic=10 $MOUNT" >> /boot/grub/grub.conf
echo " initrd /ipfirerd-$KVER-xen.img" >> /boot/grub/grub.conf
@@ -50,6 +50,10 @@ echo " savedefault $ENTRY" >> /boot/grub/grub.conf
#
# Made initramdisk
#
cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
sed -i -e "s| autodetect | |g" /etc/mkinitcpio.conf
# Remove Reiser4 (not working with xen)
sed -i -e "s|reiser4 | |g" /etc/mkinitcpio.conf
mkinitcpio -k $KVER-ipfire-xen -g /boot/ipfirerd-$KVER-xen.img
#
# Create new module depency