On Thu, 2004-07-08 at 16:51, Anibal Monsalve Salazar wrote: > s390 > ==== > Missing for release of s390: some fixes in zipl-installer, uploads of > the other s390 specific packages.
I have patches, but I don't know if I'm deriving the disk information the right way. Adam
--- zipl-installer.postinst.orig 2004-07-01 10:51:19.000000000 -0400 +++ zipl-installer.postinst 2004-07-01 10:54:57.000000000 -0400 @@ -5,6 +5,21 @@ db_get debian-installer/kernel/commandline PARAMETER=$RET +PARMFILE="ro noinitrd vmpoff=\"LOGOFF\"" +DASD="dasd=" +set -- `cut -b 1-4 /proc/dasd/devices` +while [ $1 ]; do + DASD=${DASD}$1 + shift; + if [ $1 ]; then + DASD=${DASD}"," + fi +done +ROOT=`df /target | tail -1 | cut -d ' ' -f 1` +ROOT="root="${ROOT} + +PARMFILE="${PARMFILE} ${ROOT} ${DASD}" + cat > /target/etc/zipl.conf << EOF [defaultboot] defaultmenu = menu