projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf1570f
)
/etc/scsi_id.config does not exist by default in newer udev, but is still respected...
author
Robin H. Johnson
<robbat2@orbis-terrarum.net>
Thu, 12 Nov 2009 07:23:13 +0000
(23:23 -0800)
committer
Robin H. Johnson
<robbat2@orbis-terrarum.net>
Thu, 12 Nov 2009 07:23:19 +0000
(23:23 -0800)
gen_initramfs.sh
patch
|
blob
|
history
diff --git
a/gen_initramfs.sh
b/gen_initramfs.sh
index 2809f610bb12359526954a0eb25ed373dd0796d3..8866a375709c594d3329e9cc4770b8b5d7ee197a 100755
(executable)
--- a/
gen_initramfs.sh
+++ b/
gen_initramfs.sh
@@
-168,7
+168,9
@@
append_multipath(){
then
cp /etc/multipath.conf "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy /etc/multipath.conf please check this'
fi
- if [ -x /sbin/scsi_id ]
+ # /etc/scsi_id.config does not exist in newer udevs
+ # copy it optionally.
+ if [ -x /sbin/scsi_id -a -f /etc/scsi_id.config ]
then
cp /etc/scsi_id.config "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy scsi_id.config'
fi