[baker-baker] Re: baker

Mika Pesu pmika at japo.fi
Sat Nov 29 12:24:10 EST 2003


T. Onoma wrote:

>Master Mika :
>
>  Curious about your thoughts on my last post. Have you done anymore work?
>  I hope to do some today. Also what is your take on the code itself? Do you
>  think it's well organized?
>
>Signed:
>
>  - t0
>
>_______________________________________________
>Baker-baker mailing list
>Baker-baker at rubyforge.org
>http://rubyforge.org/mailman/listinfo/baker-baker
>
>  
>

code is well organized,i'm currently seeking solutions for fake_root 
install.

chrooted install:
    i'm not sure if i have misunderstand the concept you have had in mind.
    do we compile package like normally and use chroot just in install 
phase(not in compile phase just: make install)
    or we use chroot in whole package build phase(./configure;make;make 
install)?

about the install_indicator:
    yeah,i gave a lot of time for this for good solution,and this is 
currently better, we dont need framework for other package managment stuff,
    but we do need to add few more "features" for this.
    i havent checked from code this:do we currently map fhs to 
install_indicators path like if i have
    /bin/bash in install indicators does it map to fhs setted in 
configure files to check it in proper place
    so if i have /bin/ mapped to /foo/bar/bin does it check 
/foo/bar/bin/bash to see if it installed?
    we should probably need somekind of search util, little desc about this:
       if i compile foo_lib to /opt/shells/foo/1.1/lib and i want to 
compile program with baker that depends on foo_lib
    and user has setted his enviroment so that it normally compiles fine 
but baker looks install_indicators /lib/foo_lib1.*
    and doesnt find it so it starts to re-build foo_lib to /lib.
    so what i suggest is that we add just filename(s) to 
install_indicator and search it through fs and we add
    additional  install directory indicator to config files where user 
can add own paths

for example if i have install_indicator_dirs in config like this
/bin
/sbin
/Programs/*/bin
/opt/own/libs/

and i have install_indicators in recipe file
['lib1','foobin']

so it does search on /bin/lib1,/bin/foobin,/sbin/lib1,/sbin//foobin,and 
so on....

any thoughts?




More information about the Baker-baker mailing list