[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

one further silo-installer upatch



Josh,

I haven't tested the change you made to silo-installer today, yet, but
looking it over, I think the following is needed as well.

I'll see if I can test it tonight.

Peter

--- packages/arch/sparc/silo-installer/debian/silo-installer.postinst~	2004-03-22 23:52:18.000000000 +0000
+++ packages/arch/sparc/silo-installer/debian/silo-installer.postinst	2004-03-22 23:52:58.000000000 +0000
@@ -18,6 +18,8 @@
 # detect which hard drive has /target/boot mounted on it. this does *not*
 # have to be the same as the drive /target is mounted on.
 bootpart=$(mapdevfs `/target/bin/sed -ne '/^[^ ]* \/target\/boot /s/ .*//p' $MTAB`)
+foo=${bootpart%?}
+bootpart=${bootpart#$foo}
 
 if [ $rootpart -ne $bootpart ]; then
 	boot="${bootpart}"

Attachment: signature.asc
Description: Digital signature


Reply to: