Re: SYS_PARTITION_SCRIPT #2

Jürgen Henge-Ernst <[email protected]> Wed, 17 Apr 2002 15:26:00 +0200
Newsgroups gmane.linux.suse.alice
Organization SuSE Linux AG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 17 April 2002 15:13, Tom Becker wrote:
> Hi
>
> Yesterday I wrote that using SYS_PARTITION_SCRIPT
> causes an error on my machine during bootup that is only
> visible for a very short time.
> The Script make_info_file copies the content of
> SYS_PARTITION_SCRIPT in the file auto_partition and
> inserts the line "AUTO_INIT_CMD /auto_partition" in the info file.
>
> During bootup the file /auto_partition can't be found as /dev/initrd is
> mounted
> as root-filesystem an does not contain that file. Instead it can be
> found on the
> Server (..../alice/tmp/disk/auto_partition).
> I copied it inside initrd an everything worked fine...
>
> Is there a way to change the destination auto_partition is copied to
> (eg. a
> copy inside initrd)? If possible without editing any of the
> ALICE-Scripts.

that's a bug in alice :-(. I forgot to copy it to to the initrd. Will be fixed 
in the next release of ALICE.

Patch for make_inst_disk attached

Greetings JÃŒrgen 

- -- 
JÃŒrgen Henge-Ernst                    Phone:  +49 (0)6196/50 95 1-32
SuSE Linux AG                         Fax:    +49 (0)6196/40 96 07
Mergenthaler Allee 45-47              Mobile: +49 (0)177 /26 74 748
65760 Eschborn, Germany               EMail:  [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8vXfrwIwzBbM848kRAsK7AJ4s5b44qlEMbVMtLP8GyIuoxShz7gCbBbc8
a4QQxOnkXm3Kcd7zEuaNSxU=
=/SuW
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
make_inst_disk.patch (text/x-diff, 579 B)
Index: make_inst_disk
===================================================================
RCS file: /space/Repository/public/DEPOT/alice_prog/utils/make_inst_disk,v
retrieving revision 1.64
diff -u -r1.64 make_inst_disk
--- make_inst_disk	2002/02/28 08:17:31	1.64
+++ make_inst_disk	2002/04/17 13:22:00
@@ -303,6 +303,9 @@
 	   #
 	   # copy the alice rc config
 	   test -f "${tmp_dir}/disk/alrc.cfg" && cp "${tmp_dir}/disk/alrc.cfg" $new_initdisk_mnt
+	   #
+	   # copy the auto_partition file
+	   cp ${tmp_dir}/disk/auto_partition ${new_initdisk_mnt} 2>/dev/null
 	fi
 
 	#