vmann at vmann.net
Tue Jan 9 19:36:54 PST 2001
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 09 January 2001 07:29 pm, Perrin Aybara wrote:
> Ah, okay...didn't know you could do that!
> For error checking, I could create some file with a weird name ("touch
> loony") right under /mnt/lfs and then check in the post-chroot script if
> that file exists ("if [ -f /loony ]").
> Cool! I'm gonna see if appending the script to the chroot command
> instead of /bin/bash works....
> *clickedy clickedy*
> It works! Thanks man, you're a lifesaver!
Glad I could help, makes me feel like I actually know something!
> You wrote:
> > I haven't tried anything like this, so it's just a stab in the dark,
> > but... Instead of calling 'bash' in the chroot command, how about calling
> > the chroot version on your script (as long as it's available in the
> > chroot environment.) i.e. instead of 'chroot $LFS env -i HOME=/root bash
> > --login' do something like 'chroot $LFS env -i HOME=/root CHROOTSCRIPT'
> > since the script should start with a shebang line of #!/bin/bash, bash
> > will still be running.
GPG public key / Geek Code block available at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the blfs-support