Line 24... |
Line 24... |
24 |
# add rev to static-binaries (for unionctl of aufs)
|
24 |
# add rev to static-binaries (for unionctl of aufs)
|
25 |
# create links to all busybox commands (for busybox 1.6.1)
|
25 |
# create links to all busybox commands (for busybox 1.6.1)
|
26 |
# add sg.ko
|
26 |
# add sg.ko
|
27 |
# add sata_nv
|
27 |
# add sata_nv
|
28 |
# add cifs kernel module
|
28 |
# add cifs kernel module
|
- |
|
29 |
# add sata_svw
|
29 |
#
|
30 |
#
|
30 |
|
31 |
|
31 |
# . ../config || exit 1
|
32 |
# . ../config || exit 1
|
32 |
|
33 |
|
33 |
. ../../livecd.conf || exit 1
|
34 |
. ../../livecd.conf || exit 1
|
Line 200... |
Line 201... |
200 |
rcopy_ex /$LMK/kernel/fs/nfs $INITRD_TREE 2>/dev/null
|
201 |
rcopy_ex /$LMK/kernel/fs/nfs $INITRD_TREE 2>/dev/null
|
201 |
rcopy_ex /$LMK/kernel/fs/nfs_common $INITRD_TREE 2>/dev/null
|
202 |
rcopy_ex /$LMK/kernel/fs/nfs_common $INITRD_TREE 2>/dev/null
|
202 |
rcopy_ex /$LMK/kernel/fs/lockd $INITRD_TREE 2>/dev/null
|
203 |
rcopy_ex /$LMK/kernel/fs/lockd $INITRD_TREE 2>/dev/null
|
203 |
rcopy_ex /$LMK/kernel/fs/fscache $INITRD_TREE 2>/dev/null
|
204 |
rcopy_ex /$LMK/kernel/fs/fscache $INITRD_TREE 2>/dev/null
|
204 |
rcopy_ex /$LMK/kernel/net/sunrpc $INITRD_TREE 2>/dev/null
|
205 |
rcopy_ex /$LMK/kernel/net/sunrpc $INITRD_TREE 2>/dev/null
|
205 |
rcopy_ex /$LMK/kernel/net/sunrpc $INITRD_TREE 2>/dev/null
|
- |
|
206 |
|
206 |
|
207 |
# for cifs-support
|
207 |
# for cifs-support
|
208 |
rcopy_ex /$LMK/kernel/fs/cifs $INITRD_TREE 2>/dev/null
|
208 |
rcopy_ex /$LMK/kernel/fs/cifs $INITRD_TREE 2>/dev/null
|
209 |
|
209 |
|
210 |
# net drivers
|
210 |
# net drivers
|
Line 243... |
Line 243... |
243 |
rcopy_ex /$LMK/kernel/drivers/ata/ata_piix.ko $INITRD_TREE 2>/dev/null
|
243 |
rcopy_ex /$LMK/kernel/drivers/ata/ata_piix.ko $INITRD_TREE 2>/dev/null
|
244 |
rcopy_ex /$LMK/kernel/drivers/scsi/ahci.ko $INITRD_TREE 2>/dev/null
|
244 |
rcopy_ex /$LMK/kernel/drivers/scsi/ahci.ko $INITRD_TREE 2>/dev/null
|
245 |
rcopy_ex /$LMK/kernel/drivers/ata/ahci.ko $INITRD_TREE 2>/dev/null
|
245 |
rcopy_ex /$LMK/kernel/drivers/ata/ahci.ko $INITRD_TREE 2>/dev/null
|
246 |
rcopy_ex /$LMK/kernel/drivers/scsi/sata_nv.ko $INITRD_TREE 2>/dev/null
|
246 |
rcopy_ex /$LMK/kernel/drivers/scsi/sata_nv.ko $INITRD_TREE 2>/dev/null
|
247 |
rcopy_ex /$LMK/kernel/drivers/ata/sata_nv.ko $INITRD_TREE 2>/dev/null
|
247 |
rcopy_ex /$LMK/kernel/drivers/ata/sata_nv.ko $INITRD_TREE 2>/dev/null
|
- |
|
248 |
rcopy_ex /$LMK/kernel/drivers/ata/sata_svw.ko $INITRD_TREE 2>/dev/null
|
248 |
rcopy_ex /$LMK/kernel/drivers/scsi/sg.ko $INITRD_TREE 2>/dev/null
|
249 |
rcopy_ex /$LMK/kernel/drivers/scsi/sg.ko $INITRD_TREE 2>/dev/null
|
249 |
|
250 |
|
250 |
|
251 |
|
251 |
debug "gzipping kernel modules"
|
252 |
debug "gzipping kernel modules"
|
252 |
find $INITRD_TREE -name "*.ko" | xargs -r gzip --best
|
253 |
find $INITRD_TREE -name "*.ko" | xargs -r gzip --best
|