Luca wrote:
> Hi, good morning and happy weekend to all!
>
> The FHS-modified T2 system is still under testing and in the meantime
> I'm doing a new rebuild manually...
>
> I'm having some troubles for stage1 directories.
>
> As example I take e2fsprogs.
>
> In stage1 the prefix is /usr and sbindir is /usr/sbin.
>
> I modified the conf file in this way:
> if atstage native ; then
> {code}
> else
> var_remove_regex confopt " " "--prefix=.*"
> var_remove_regex confopt " " "--sbindir=.*"
> var_append confopt " " "--prefix=/usr"
> var_append confopt " " "--with-root-prefix="""
> var_append confopt " " "--sbindir=/sbin"
> var_append makeinstopt " " prefix=/usr
> var_append makeinstopt " " sbindir=/sbin
> var_append makeinstopt " " with-root-prefix=/
> fi
>
> I used the "--with-root-prefix" since it's a configure option of the
> package to put the binaries in $root/sbin instead of /usr/sbin and added
> the sbindir but when configuring it's using the "--sbindir=/usr/sbin".
> So how do I change the pre-fixed directories for stage1?
>
> Thanks,
>
> Yours,
> Luca
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
>
>
Just sent the email I found out the use of var_append extraconfopt and
solved the problem.
Yours,
Luca
|