diff options
author | James Meyer <james.meyer@operamail.com> | 2008-10-13 17:31:29 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-10-13 17:31:29 (GMT) |
commit | 80973a1e434e479bc83f71ad4914addea4ef9f70 (patch) | |
tree | e87364537a8f7a01e88891ae75314b150e284c80 /abs/core-testing | |
parent | dc5e18dd928b29d319cb95d3d5c5c39daf05c9de (diff) | |
download | linhes_pkgbuild-80973a1e434e479bc83f71ad4914addea4ef9f70.zip linhes_pkgbuild-80973a1e434e479bc83f71ad4914addea4ef9f70.tar.gz linhes_pkgbuild-80973a1e434e479bc83f71ad4914addea4ef9f70.tar.bz2 |
Add check & delay for usb cdroms
Diffstat (limited to 'abs/core-testing')
-rw-r--r-- | abs/core-testing/linhes-live/PKGBUILD | 3 | ||||
-rw-r--r-- | abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/abs/core-testing/linhes-live/PKGBUILD b/abs/core-testing/linhes-live/PKGBUILD index d497fcf..1c7fa71 100644 --- a/abs/core-testing/linhes-live/PKGBUILD +++ b/abs/core-testing/linhes-live/PKGBUILD @@ -2,7 +2,7 @@ # 2008.09.25 pkgname=linhes-live pkgver=5.3.3 -pkgrel=4 +pkgrel=5 pkgdesc="LinHes compulsory components for the Live System." url="http://KnoppMyth.net" @@ -28,3 +28,4 @@ build() { } # End +#change hook1 to wait for usb cdroms diff --git a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 index e1a3753..88ccc3e 100644 --- a/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 +++ b/abs/core-testing/linhes-live/lib/initcpio/hooks/larch1 @@ -115,6 +115,11 @@ run_hook () test_live_data_dir "${d}" "${cdmount}" if [ $? -eq 0 ]; then break 2; fi done + msg_ ":: Searching for usb cdroms .." + for d in /dev/sr[0-9]*; do + test_live_data_dir "${d}" "${cdmount}" + if [ $? -eq 0 ]; then break 2; fi + done done fi } |