mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
Fix xen-kernel initrd-build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user