mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-12 07:31:37 +02:00
the mkinitcpio sata hook must also removed if root is hd* because some
also steal the ide devices
This commit is contained in:
@@ -84,8 +84,9 @@ if [ "${ROOT:0:7}" == "/dev/sd" ]; then
|
||||
sed -i "s| ide | |g" /etc/mkinitcpio.conf
|
||||
else
|
||||
if [ "${ROOT:0:7}" == "/dev/hd" ]; then
|
||||
# Remove pata hook if root is on hda
|
||||
# Remove pata & sata hook if root is on hda
|
||||
sed -i "s| pata | |g" /etc/mkinitcpio.conf
|
||||
sed -i "s| sata | |g" /etc/mkinitcpio.conf
|
||||
fi
|
||||
fi
|
||||
mkinitcpio -k $KVER-ipfire -g /boot/ipfirerd-$KVER.img
|
||||
|
||||
Reference in New Issue
Block a user