Hi folks :)
What does it take to get
Steffen Kaiser's patch included into CVS?
Are there a preferred way to submit patches and what is the preferred patch
format?.
Steffen's patches cures the build problems and the dosemu 'loop' problem.
This is a huge step forward from a non-working linuxboot to something common
we can hack on :)
So for the parted woes:
Any ideas?
will going back to 1.6.22 cure this? I have not tried, as I have to wait for
my new workstation to arrive. (compiling is to painful right now..)
Can we please get some hooks into the master script?
Its very useful when debugging/workarunds.. (I attach my current patch for
hooks, its a bit backwards, but hey, you get the idea)
--
mvh
Nils Olav Fossum
IT-Kontoret
Midtre Gauldal Kommune
--- 2007-04-10-work/unattended/linuxboot/misc/master 2006-09-20 15:03:07.000000000 +0200
+++ 2007-03-26/unattended/linuxboot/misc/master 2007-03-28 10:47:47.000000000 +0200
@@ -280,6 +280,10 @@
[ -d /z/linuxaux ] \
|| die "Invalid install share: /z/linuxaux directory not found."
+#Just a hook
+[ -f /z/hooks/zmountedhook.sh ] \
+ && . /z/hooks/zmountedhook.sh
+
echo "*** Excellent. Now, let's see about mass storage controllers..."
# PCI classes 0x01nnnn are mass storage controllers.
@@ -336,6 +340,12 @@
edd_dir=/sys/firmware/edd/int13_dev80
echo "*** ...and look for legacy BIOS disk geometry in $edd_dir"
+#When booting from a memory stick on a SATA system we sometimes get the
+#memory stick as int13_dev80. This is a chance to fix this
+[ -f /z/hooks/fixbootdevice.sh ] \
+ && . /z/hooks/fixbootdevice.sh
+
+
# Here we shamelessly assume that we have found the boot device (BIOS
# disk 80h), and that this is the device the user wanted. Need to do
# better someday. FIXME.
@@ -383,6 +393,9 @@
# Used as staging area by install.pl
[ -d /c ] || mkdir /c
+[ -f /z/hooks/preinstallpl.sh ] \
+ && . /z/hooks/preinstallpl.sh
+
perl -I/z/lib /z/dosbin/install.pl \
|| die "install.pl exited non-zero"
@@ -399,9 +412,15 @@
cp /etc/dosemu/dosemu.conf /tmp
echo \$_hdimage = \"/dev/dsk$active_part\" >> /tmp/dosemu.conf
+[ -f /z/hooks/predosemu.sh ] \
+ && . /z/hooks/predosemu.sh
+
# DOSEMU always exits non-zero. FIXME.
dosemu.bin -f /tmp/dosemu.conf
+[ -f /z/hooks/postdosemu.sh ] \
+ && . /z/hooks/postdosemu.sh
+
sync
reboot
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
unattended-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel