mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
-Have ahci driver loadable in the nbkernel
This commit is contained in:
parent
dca6baa8e1
commit
180ad44f89
@ -61,9 +61,9 @@ kernel/drivers/net/ehea/ehea.ko
|
||||
kernel/drivers/net/netconsole.ko
|
||||
kernel/drivers/net/mii.ko
|
||||
kernel/drivers/net/e1000/e1000.ko
|
||||
kernel/drivers/net/e1000e/e1000e.ko
|
||||
kernel/drivers/net/myri10ge/myri10ge.ko
|
||||
kernel/drivers/net/ifb.ko
|
||||
kernel/drivers/net/e1000e/e1000e.ko
|
||||
kernel/drivers/net/igb/igb.ko
|
||||
kernel/drivers/net/bnx2.ko
|
||||
kernel/drivers/net/tg3.ko
|
||||
|
@ -64,6 +64,7 @@ kernel/drivers/block/loop.ko
|
||||
kernel/drivers/net/netconsole.ko
|
||||
kernel/drivers/net/e100.ko
|
||||
kernel/drivers/net/e1000/e1000.ko
|
||||
kernel/drivers/net/e1000e/e1000e.ko
|
||||
kernel/drivers/net/myri10ge/myri10ge.ko
|
||||
kernel/drivers/net/bnx2.ko
|
||||
kernel/drivers/net/tg3.ko
|
||||
@ -97,7 +98,7 @@ kernel/drivers/ata/sata_promise.ko
|
||||
kernel/drivers/scsi/libsas/libsas.ko
|
||||
kernel/drivers/scsi/megaraid/megaraid_sas.ko
|
||||
kernel/drivers/ata/sata_sx4.ko
|
||||
kernel/drivers/scsi/ahci.ko
|
||||
kernel/drivers/ata/ahci.ko
|
||||
kernel/drivers/scsi/lpfc/lpfc.ko
|
||||
kernel/drivers/ata/sata_via.ko
|
||||
kernel/drivers/scsi/sd_mod.ko
|
||||
|
@ -64,6 +64,7 @@ kernel/drivers/block/loop.ko
|
||||
kernel/drivers/net/netconsole.ko
|
||||
kernel/drivers/net/e100.ko
|
||||
kernel/drivers/net/e1000/e1000.ko
|
||||
kernel/drivers/net/e1000e/e1000e.ko
|
||||
kernel/drivers/net/myri10ge/myri10ge.ko
|
||||
kernel/drivers/net/bnx2.ko
|
||||
kernel/drivers/net/tg3.ko
|
||||
@ -97,7 +98,7 @@ kernel/drivers/ata/sata_promise.ko
|
||||
kernel/drivers/scsi/libsas/libsas.ko
|
||||
kernel/drivers/scsi/megaraid/megaraid_sas.ko
|
||||
kernel/drivers/ata/sata_sx4.ko
|
||||
kernel/drivers/scsi/ahci.ko
|
||||
kernel/drivers/ata/ahci.ko
|
||||
kernel/drivers/scsi/lpfc/lpfc.ko
|
||||
kernel/drivers/ata/sata_via.ko
|
||||
kernel/drivers/scsi/sd_mod.ko
|
||||
|
@ -21,7 +21,7 @@ Source2: modlist-2.6.18-92.el5.ppc64
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%define name xCAT-nbkernel-%{tarch}
|
||||
Release: 2
|
||||
Release: 5
|
||||
Epoch: 1
|
||||
AutoReq: false
|
||||
AutoProv: false
|
||||
@ -73,6 +73,15 @@ mkdir -p $RPM_BUILD_ROOT
|
||||
cd %{name}
|
||||
cp -a * $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
if [ "$1" == "2" ]; then #only on upgrade, as on install it's probably not going to work...
|
||||
if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image
|
||||
. /etc/profile.d/xcat.sh
|
||||
mknb %{tarch}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
%Files
|
||||
%defattr(-,root,root)
|
||||
/
|
||||
|
Loading…
Reference in New Issue
Block a user