mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Remodularized xen-kernel
merged linux and linux-xen back to one file
This commit is contained in:
@@ -99,8 +99,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cp -f $(MNThdd)/etc/mkinitcpio.conf $(MNThdd)/etc/mkinitcpio.conf.org
|
||||
sed -i -e "s| autodetect | |g" $(MNThdd)/etc/mkinitcpio.conf
|
||||
|
||||
#Remove File System modules because they are included to kernel
|
||||
sed -i -e "s|reiser4 reiserfs ext3| |g" $(MNThdd)/etc/mkinitcpio.conf
|
||||
#Remove reiser4 because it is not work with xen-kernel
|
||||
sed -i -e "s|reiser4 | |g" $(MNThdd)/etc/mkinitcpio.conf
|
||||
|
||||
chroot $(MNThdd) /sbin/mkinitcpio -g /boot/ipfirerd-$(KVER)-xen.img -k $(KVER)-ipfire-xen
|
||||
cp -f $(MNThdd)/etc/mkinitcpio.conf.org $(MNThdd)/etc/mkinitcpio.conf
|
||||
@@ -131,9 +131,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
sed -i -e "s|^thermal|#thermal|g" $(MNThdd)/etc/sysconfig/modules
|
||||
sed -i -e "s|^video|#video|g" $(MNThdd)/etc/sysconfig/modules
|
||||
|
||||
#Remove autoload lp module (why this is missing ???)
|
||||
sed -i -e "s|^lp|#lp|g" $(MNThdd)/etc/sysconfig/modules
|
||||
|
||||
#Change pakfire trunk
|
||||
sed -i -e "s|$(VERSION)|$(VERSION)-xen|g" \
|
||||
$(MNThdd)/opt/pakfire/etc/pakfire.conf
|
||||
|
||||
Reference in New Issue
Block a user