New commits:
commit 405894481e6cbd08ac9a2c11092da5adbc44e867
Author: Andrew Stitt <acedit AT armory.com>
Commit: Andrew Stitt <acedit AT armory.com>
disable grimoire updates until stable becomes stable again
commit 23ac6b9cc82dddf4814a57113982f6cd89975caf
Author: Andrew Stitt <acedit AT armory.com>
Commit: Andrew Stitt <acedit AT armory.com>
check for failures
commit b128b2d14e5464313874738c82e04bbf58b44c66
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
install udev into initrd using cache, not manually
Removed references to udev files from initrd.files, and added logic to
minitrd.sh to unpack the udev cache file found inside ISODIR into the
initrd. The unpacking excludes dirs and files not needed in the initrd,
like documentation, logs, etc.
+if [[ ! -f "$ISODIR"/var/cache/sorcery/udev* ]]
+then
+ echo "Chroot failed sanity check:"
+ echo "Chroot is missing the udev cache file!"
+ exit 2
+fi >&2
+
# The temporary dir I'll use to put the initrd files
INITRDROOT=/tmp/initrd-dir
@@ -203,6 +210,16 @@ function mk_initrd_file() {
fi
}
+function install_udev() {
+ local udev="$ISODIR/var/cache/udev*"
+ local exclude=(init.d doc man var)
+
+ if ! tar xf $udev "${exclude[@]/#/--exclude=}" -C "$INITRDROOT"
+ then
+ echo "error: could not extract $udev to $INITRDROOT"
+ exit 2
+ fi
+}
# If console-tools is found in TARGET, get rid of it to make
# way for kbd
diff --git a/scripts/twelve-step-program.sh b/scripts/twelve-step-program.sh
index 2f0326e..169a803 100755
--- a/scripts/twelve-step-program.sh
+++ b/scripts/twelve-step-program.sh
@@ -53,6 +53,10 @@ KERNEL_VERSION=2.6.27.10
echo 'step 3 failed' >> /var/log/sorcery/activity
exit
}
+ grep -q failure "$ROOTBUILD"/var/log/sorcery/activity && {
+ echo 'step 3 failed: NO EXIT STATUS' >> /var/log/sorcery/activity
+ exit
+ }
echo "LISTING TREES (depth 3)"
echo "listing $ISOBUILD tree"
[SM-Commit] GIT changes to devel-andrew cauldron by Andrew Stitt (4d13f927b1c5f160678e956e9f853a43bd8efae7),
Andrew Stitt, 01/12/2009