[Rule-list] Potential low mem boot disk/installer
Devon
devon at tuxfan.homeip.net
Mon Mar 4 19:49:17 EET 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 04 March 2002 12:23 pm, Brock Organ wrote:
> I've been there and done that, and the most nagging problem with using
> rpm2cpio is that the package pre and post scripts are not run, this
> means important configuration does not take place ... the other
> downside is that your rpm database does not get updated for the
> software you've installed, which makes rpm a lot less useful ...
Hi Brock,
I agree, it has it's quirks. :)
However, the database problem is easily solved, and I included a small
script on the boot disk to generate a working database. Basically, it
does rpm --justdb for all packages in the package list, once you have
done a pivot_root, and chroot'ed to the the new root directory.
The pre and post scripts not getting run is another issue entirely, and
needs some work, of course.
> What I've done privately is used rpm in a shell script to install
> packages (such as a base system or a workstation system), note the
> package order rpm chooses to install with, then put my pkg list in that
> order and call rpm with the --noorder parameter ... it's a poor man's
> rpm2cpio (:)) with the added benefit of updating the rpm database and
> running pre and post scripts ...
>
> just my $0.02, :)
Not sure I follow you here. With no installed system, how do you call rpm
to do the install? I'd be happy to look into doing something similar.
Of course, the boot disk is still an exceptionally useful tool to have
available as a boot/recovery disk. It may never be a great installer, but
I think it has good potential as a recovery tool.
The image I posted isn't very polished but it does have some useful
functionality. Then again, it was 4:00 AM local time when I finally
finished, and damn near anything would have been acceptable. ;)
Thanks for the input, I do appreciate it.
- -D
- --
pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8g7OdeMAUbzJhSVcRAhnbAKCCbPFasFNs+5AnKtXshEzg9jz/ogCdEjzw
A3LsxJMAjYlCqhSdEGLxWcw=
=vOUN
-----END PGP SIGNATURE-----
_______________________________________________
Rule-list mailing list
Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here