Karen Tung wrote: > Hi, > > I have made the following major changes to the Distro Constructor code: > > 1) Split the previous giant "postrun_exec" file in the > slimcd_post_processing.tar into multiple > files, each representing the postinstall script that they are pulled > out from. > The one giant "postrun_exec" file doesn't work, because if there's > an error executing > one of the "postinstall" scripts, the whole postrun_exec script will > exit, and a lot > of postrun processing will be skipped. With this change, each > postinstall script from SVR4 > packages that has postrun is placed into a file in the > src/postrun_scripts directory, > and the src/postrun_scripts/exec_postrun script will invoke each of > the scripts in > that directory. To ease the generation when new builds of Solaris > come out, I created > a convince script, and put it under the tools directory called > "extract_postrun". > > 2) Getting rid of the previous slimcd_post_processing.tar file. All the > files that were previously > in that tar file are now moved into "src", except the post_process > file. The content of > the post_process file are turned into a function > in **build_dist.lib. The tar file is no longer > necessary because the live media code is so closely tight with the > rest of the distro constructor > code right now. Our previous assumption to make this tar file as an > input into distro constructor > to do special processing for live media no longer make sense. > > The webrev is here: > > http://cr.opensolaris.org/~ktung/postrun/ > > There are a lot of files, but you can just skip: > > - all the src/bootcd_skel/* files, since they will be going away very > shortly. > - all the src/postrun_scripts/*. Those are just postinstall scripts > pulled from SVR4 packages. > - src/livecd_dirs_list and src/livcd_links_list. They will be removed > along with the bootcd_skel files. > > > Thanks, > > --Karen > > > build_dist.bash:
References DIST_ADDITIONAL_MOD but other places still use DIST_MICROROOT_MOD. I think that's it. Jean _______________________________________________ caiman-discuss mailing list caiman-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
