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

Re: not i18ned part in b-f 2.2.15



Taketoshi Sano <kgh12351@nifty.ne.jp> writes:

> Akira sent me his initial draft for the wrapper script. Here it is:
[...]
> Maybe Chinese and Korean people can use the scheme by adding 
> their setup in "case $LANG in".
> 
> If this can be used, then I propose to put this into CVS
> as scripts/rootdisk/prototype/sbin/termwrap, and to add lines at 
> the end of extract_base() in utilities/dbootstrap/extract_base.c
> in the way:
> 
>    if (NAME_ISREG("/target/etc/inittab",&statbuf)) {
>      rename("/target/etc/inittab","/target/etc/inittab.real");
>    }
>    sprintf(prtbuf,"cp %s %s","/etc/inittab.install","/target/etc/inittab"); 
>    execlog(prtbuf, LOG_INFO);
> +
> +  sprintf(prtbuf,"cp %s %s","/sbin/termrap","/target/sbin/termwrap"); 
> +  execlog(prtbuf, LOG_INFO);
> +  sprintf(prtbuf,"chmod 755 %s","/target/sbin/termwrap"); 
> +  execlog(prtbuf, LOG_INFO);
> 
>   sync();
>   return 0;
> }
> 
> How do you think this ?

Why would we do it this way and not just have it be added as part of
base2_2.tgz ?

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>



Reply to: