sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (416164c54caec5b6d4e07fce8e52a65ee19a7ed2)
- From: Justin Boffemmyer <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (416164c54caec5b6d4e07fce8e52a65ee19a7ed2)
- Date: Tue, 13 Jan 2009 09:56:11 -0600
GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:
scripts/mkinitrd.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 416164c54caec5b6d4e07fce8e52a65ee19a7ed2
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
scripts/mkinitrd.sh: fix udev cache finding
Fixed the method of finding the udev cache inside ISODIR.
diff --git a/scripts/mkinitrd.sh b/scripts/mkinitrd.sh
index 72eb988..ea01cb2 100755
--- a/scripts/mkinitrd.sh
+++ b/scripts/mkinitrd.sh
@@ -99,7 +99,8 @@ then
exit 2
fi >&2
-if [[ ! -f "$ISODIR"/var/cache/sorcery/udev* ]]
+udev="$(find "$ISODIR"/var/cache/sorcery -name udev-*)"
+if [[ ! -f "$udev" ]]
then
echo "Chroot failed sanity check:"
echo "Chroot is missing the udev cache file!"
@@ -211,10 +212,9 @@ function mk_initrd_file() {
}
function install_udev() {
- local udev="$ISODIR/var/cache/udev*"
local exclude=(init.d doc man var)
- if ! tar xf $udev "${exclude[@]/#/--exclude=}" -C "$INITRDROOT"
+ if ! tar xf "$udev" "${exclude[@]/#/--exclude=}" -C "$INITRDROOT"
then
echo "error: could not extract $udev to $INITRDROOT"
exit 2
- [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (416164c54caec5b6d4e07fce8e52a65ee19a7ed2), Justin Boffemmyer, 01/13/2009
Archive powered by MHonArc 2.6.24.