Rich Burridge wrote: > > Hi all, > > Back about build #122, I was given the following set of instructions for > creating a Live CD image from a repository: > > 1. pfexec pkg install SUNWdistro-const > > 2. pfexec cp /usr/share/distro_const/slim_cd/all_lang_slim_cd_x86.xml > /var/tmp > > 3. Edit the copy and change the repository to pull packages > down from, to your own one. > > 4. Build the CD with > > pfexec distro_const build /var/tmp/all_lang_slim_cd_x86.xml > > 5. The resulting ISO image can then be found in /rpool/dc/media > > I'm now at build #129 (on an Ultra 40) and am trying them again with a > local repository on my machine, and they are failing.
... > ==== ba-init: Boot archive initialization > Error purging old contents from boot archive build area > Traceback (most recent call last): > File "/usr/share/distro_const/boot_archive_initialize.py", line 94, in > <module> > shutil.rmtree(BA_BUILD) > File "/usr/lib/python2.6/shutil.py", line 208, in rmtree > onerror(os.listdir, path, sys.exc_info()) > File "/usr/lib/python2.6/shutil.py", line 206, in rmtree > names = os.listdir(path) > OSError: [Errno 2] No such file or directory: > '/rpool/dc/build_data/boot_archive' > Child returned err 1 > Build completed Sun Dec 27 04:50:51 2009 > Build failed. The bootroot stuff changed to boot archive. When I did this last, I had to both make sure that I didn't use an old copy of the DC manifest, as well as I believe I had to destroy and recreate the old /rpool/dc pool I had laying around. (Or at least remove the contents.) Which, now that I think of it, was probably worth a bug, though I might have failed to file it at the time. liane
