Hi All, I need to get a couple of pairs of eyes to look at this code review I have for 16813. This is in support of the beadm/libbe migration from slim_source into ON. This code review incorporates the changes I asked for review of last week. Some additional investigation and testing found some issues with my idea to integrate minimal changes into slim_source for build 147 that made that idea untenable. So, we're going to have to have a major flag day once I integrate this changeset for build 147. I've attached a preliminary copy of the flag day instructions (it's very rough, I'll be fleshing it out considerably but wanted to put it out there so people could get an idea of what will be involved).
I've done some basic testing with this changeset (and associated flag day). I've verified that once you comply with the flag day, building slim_source generates packages with proper dependencies. I'll be doing more testing before integration. As I need to integrate this for 147, I'd like to get this review done by COB tomorrow (Wednesday). There really isn't a lot to review since I'm mostly removing source files. Defect: https://defect.opensolaris.org/bz/show_bug.cgi?id=16813 Webrev: http://cr.opensolaris.org/~glagasse/slim_post_ON_int/ Thanks, Glenn
1) Make sure your opensolaris.org publisher is set to ipkg.sfbay/dev. You'll also probably want to make sure that you have the extra repository configured from ipkg.sfbay/extra as well. The whole process will be a lot smoother if you're existing BE is already setup and installed to be able to build slim_source (ie all required packages are installed including the compiler and whatnot) as well as being at the latest release of what's available on ipkg.sfbay/dev. These instructions presume that you have that kind of setup on your build machine. 2) Create a new BE to operate on beadm create on-nightly 3) Mount it beadm mount on-nightly /a 4) Get it ready pkg -R /a uninstall entire pkg -R /a set-publisher --no-refresh --non-sticky opensolaris.org # Note, in order to hopefully facilitate a move back onto the WOS once build # 147 is available on ipkg.sfbay/dev I'll be setting up special on-nightly # repos for both x86 and sparc that will only contain the build 147 ON # delivered bits pkg -R /a set-publisher -P -O http://ipkg.sfbay.sun.com/on-nightly on-nightly pkg -R /a refresh --full 5) Now update it to pull in the ON changes from build 147 pkg -R /a image-update 6) And activate it beadm activate on-nightly Now, you'll have your preferred publisher in the new BE being on-nightly and anything not in that publisher will be pulled from the opensolaris.org publisher. Reboot into the on-nightly BE update to slim_source tip or pull a fresh copy build slim_source as normal To install your built packages for testing: 1) Stand up your slim_source repo: /usr/lib/pkg.depotd -d <path to pkgs> -p 20000 2) Create a new BE: beadm create install-nightly 3) Mount it: beadm mount install-nightly /a 4) Add the install-nightly publisher to your new BE: pkg -R /a set-publisher -P -g http://localhost:20000 install-nightly 5) Install the system/library/install package from your repo so that it can remove the libbe.so.1 library (this is due to libbe.so.1 moving out of system/library/install from slim_source and in to install/beadm from ON): pkg -R /a install pkg://install-nightly/consolidation/install/install-incorporation pkg://install-nightly/system/library/install 6) fix the install/beadm package to add the libbe.so.1 library back: pkg -R /a fix install/beadm 7) install any other packages you want from your install-nightly: pkg -R /a install pkg://install-nightly/install/distribution-constructor Once the actual build 147 WOS is available on ipkg.sfbay/dev, I'll work out a set of instructions that allows people to move back onto the WOS and off of on-nightly.
_______________________________________________ caiman-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

