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

Re: Need some help with the preseeding



On Thursday 05 July 2007 17:21, Pema Geyleg wrote:
> I had been using preseeding to build semi-auto installer based on the
> debian etch. Recently I had the need to run a shell script at the end
> of the installation.  I created a deb file called
> dzongkha_1.1-1_all.deb which copies some files to /root and the script
> to /usr/bin. I just wanted the script to be run at the end of the
> script.

Are you sure you want to copy stuff to /root or /target/root?

> However when I try to run the script dzongkha using the following
> preseeding command
> d-i preseed/late_command string bash dzongkha
>
> I get message that bash is missing...

That command will execute in the D-I environment; the D-I environment does 
not have bash.
Either use /bin/sh (which is available in the D-I environment), or use
'chroot /target'.

Cheers,
FJP

Attachment: pgpkSNwFXAqjC.pgp
Description: PGP signature


Reply to: