Hi, obsoleting IPS packages needs slightly more. Yes, you need PKGVER (because we have no system of numbered builds). But you need also to obsolete all packages which were renamed to obsoleted package. In this case SUNWpcan and SUNWpcwl. Look at my arbel EOF.
Best regards, Milan Enrico píše v pá 13. 07. 2012 v 19:55 +0200: > updated the webrev on > http://cr.illumos.org/~webrev/enrico/illumos-gate-2995/ > > I did a full build. > Creating a new be with built pkgs on top of 151a5 removes the drivers > correctly > Check below: > ---------------------------------------------------------------------- > root@test:~# pkg install pcan > Packages to install: 1 > Create boot environment: No > Create backup boot environment: Yes > > DOWNLOAD PKGS FILES XFER (MB) > Completed 1/1 4/4 0.1/0.1 > > PHASE ACTIONS > Install Phase 20/20 > > PHASE ITEMS > Package State Update Phase 1/1 > Image State Update Phase 2/2 > > root@test:~# > root@test:~# pkg install pcWL > Creating Plan^C > root@test:~# pkg install pcwl > Packages to install: 1 > Create boot environment: No > Create backup boot environment: Yes > > DOWNLOAD PKGS FILES XFER (MB) > Completed 1/1 4/4 0.0/0.0 > > PHASE ACTIONS > Install Phase 20/20 > > PHASE ITEMS > Package State Update Phase 1/1 > Image State Update Phase 2/2 > > .. > .. > .. > > root@test:~# sudo pkg -R "$BEROOT" image-update --no-refresh -v > Packages to remove: 2 > Packages to update: 323 > Estimated space available: 129.85 GB > Estimated space to be consumed: 490.17 MB > Create boot environment: No > Create backup boot environment: No > Services to change: 1 > Rebuild boot archive: Yes > > Changed packages: > openindiana.org > driver/network/pcan > 0.5.11,5.11-0.151.1.5:20120630T193120Z -> None > driver/network/pcwl > 0.5.11,5.11-0.151.1.5:20120630T193121Z -> None > openindiana.org -> on-nightly > SUNWcs > 0.5.11,5.11-0.151.1.5:20120630T193903Z -> > 0.5.11,5.11-0.152:20120713T170523Z > SUNWcsd > 0.5.11,5.11-0.151.1.5:20120630T193924Z -> > 0.5.11,5.11-0.152:20120713T170523Z > consolidation/osnet/osnet-incorporation > > .. > .. > reboot > .. > > sunkiss@test:~$ uname -a > SunOS test 5.11 experimental i86pc i386 i86pc Solaris > sunkiss@test:~$ pkg list pcan > pkg list: no packages matching 'pcan' installed > sunkiss@test:~$ pkg list pcwl > pkg list: no packages matching 'pcwl' installed > > > > ---------------------------------------------------------------------------- > fullbuild mail_msg with nightly options > export NIGHTLY_OPTIONS='-nmprt' > > > ==== Nightly distributed build started: Fri Jul 13 18:29:09 CEST 2012 ==== > ==== Nightly distributed build completed: Fri Jul 13 19:11:59 CEST 2012 ==== > > ==== Total build time ==== > > real 0:42:50 > > ==== Build environment ==== > > /usr/bin/uname > SunOS devel 5.11 oi_151a4 i86pc i386 i86pc > > /usr/bin/dmake > dmake: Sun Distributed Make 7.9 SunOS_i386 2009/06/03 > number of concurrent jobs = 6 > > 32-bit compiler > /opt/onbld/bin/i386/cw -_gcc > cw version 1.29 (SHADOW MODE DISABLED) > primary: /usr/sfw/bin/gcc > gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) > > 64-bit compiler > /opt/onbld/bin/i386/cw -_gcc > cw version 1.29 (SHADOW MODE DISABLED) > primary: /usr/sfw/bin/gcc > gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802) > > /usr/java/bin/javac > java full version "1.6.0_26-b03" > > /usr/ccs/bin/as > as: Sun Compiler Common 12 SunOS_i386 snv_121 08/03/2009 > > /usr/ccs/bin/ld > ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1726 > > Build project: default > Build taskid: 279 > > ==== Nightly argument issues ==== > > > ==== Build version ==== > > experimental > > ==== Make clobber ERRORS ==== > > > ==== Make tools clobber ERRORS ==== > > > ==== Tools build errors ==== > > > ==== Build errors (non-DEBUG) ==== > > > ==== Build warnings (non-DEBUG) ==== > > > ==== Elapsed build time (non-DEBUG) ==== > > real 29:41.9 > user 1:16:29.3 > sys 7:23.8 > > ==== Build noise differences (non-DEBUG) ==== > > > ==== package build errors (non-DEBUG) ==== > > > ==== Validating manifests against proto area ==== > > > ==== Check ELF runtime attributes ==== > > > ==== Diff ELF runtime attributes (since last build) ==== > > > ==== Find core files ==== > > > ==== Check lists of files ==== > > > ==== Impact on file permissions ==== > > > ---------------------------------------------------------------------------- > [sunkiss@devel experimental]$ hg pbchk > Copyright check: > usr/src/README.license-files: no copyright claim for current year found > usr/src/man/man7d/Makefile: no copyright claim for current year found > usr/src/pkg/manifests/driver-network-pcan.mf: no copyright claim for current > year found > usr/src/pkg/manifests/driver-network-pcwl.mf: no copyright claim for current > year found > usr/src/uts/common/Makefile.rules: no copyright claim for current year found > usr/src/uts/intel/Makefile.intel.shared: no copyright claim for current year > found > usr/src/uts/sparc/Makefile.sparc.shared: no copyright claim for current year > found > > C style check: > > Header format check: > > Java style check: > > Mapfile comment check: > > File permission check: > > Keywords check: > > Comments check: > > Checking for new tags: > > Checking for multiple heads (or branches): > > Checking for branch changes: > > Checking for uncommitted changes: > > Checking for merges: > > > > On 07/13/2012 06:49 PM, Garrett D'Amore wrote: > > > > On Jul 13, 2012, at 9:41 AM, Albert Lee wrote: > > > >> On second thought, I'm not sure. It may need a fixed version. > >> Embedding knowledge of the current OI build version is probably not > >> the right thing to do though. > > > > Its needs to use $(PKGVERS). For sure. > > > > - Garrett > > > >> > >> On Fri, Jul 13, 2012 at 12:39 PM, Albert Lee <[email protected]> wrote: > >>> On Fri, Jul 13, 2012 at 11:59 AM, Enrico <[email protected]> wrote: > >>>> updated the webrev > >>>> http://cr.illumos.org/~webrev/enrico/illumos-gate-2995/ > >>>> > >>>> i've put 0.5.11,5.11-0.151.1.6 in fmri version, > >>>> is this correct? > >>>> > >>> > >>> I think it should still use $(PKGVERS) as with everything else. > >>> > >>> -Albert > >>> > >>>> > >>>> On 07/13/2012 05:02 PM, Albert Lee wrote: > >>>>> > >>>>> On Fri, Jul 13, 2012 at 10:16 AM, Enrico <[email protected]> wrote: > >>>>>> > >>>>>> created an issue for this case > >>>>>> https://www.illumos.org/issues/2995 > >>>>>> > >>>>>> webrev: > >>>>>> http://sunkiss.altervista.org/illumos-2995-webrev/ > >>>>>> > >>>>>> > >>>>> > >>>>> Thanks. A nice side effect is removing instances of the BSD > >>>>> "advertising clause". > >>>>> > >>>>> A quick search on OpenGrok shows there are still remaining references > >>>>> to the drivers in usr/src/uts/common/Makefile.files and > >>>>> usr/src/uts/common/Makefile.rules. pcan is also used as an example in > >>>>> usr/src/README.license-files. > >>>>> > >>>>> Additionally, I believe that without package obsoletions, the drivers > >>>>> will remain installed/installable after upgrading, as the > >>>>> incorporation will no longer restrict them, and type=require > >>>>> dependency they declare on pkg:/system/kernel will be compatible with > >>>>> newer versions. I would like someone better-versed in pkg(5) to > >>>>> confirm this. Allowing the drivers to remain installable may not be > >>>>> desirable if the intent is to remove private interfaces they use in > >>>>> the near future. > >>>>> > >>>>> -Albert > >>>>> > >>>>>> On 07/12/2012 04:37 PM, Garrett D'Amore wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Jul 12, 2012, at 7:07 AM, Albert Lee wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> I also have some of these devices (and briefly used pcwl on my old > >>>>>>>> laptop), but I doubt there is a use case for them from going forward. > >>>>>>>> The devices were wildly popular 10 years ago, but for the mobile > >>>>>>>> platforms, that's an eternity. If there are still PCMCIA based > >>>>>>>> systems > >>>>>>>> somewhere, supported PC Cards that are capable of 802.11g should > >>>>>>>> pretty have completely superseded them. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> Yep. Furthermore, the legacy drivers don't support WPA at all. Which > >>>>>>> makes > >>>>>>> them nearly completely useless in today's networks. > >>>>>>> > >>>>>>> I'd had a plan to nuke pretty much all the PCMCIA stuff (not card > >>>>>>> bus!) > >>>>>>> from > >>>>>>> illumos for a while now. Its a really old bus that nobody uses > >>>>>>> anymore. > >>>>>>> These > >>>>>>> drivers were some of the last that people used. (The others being the > >>>>>>> old > >>>>>>> CompactFlash adapters, but these days people use USB or Cardbus based > >>>>>>> adapters > >>>>>>> with CF.) The motivation for nuking PCMCIA, apart from general > >>>>>>> cleanup, > >>>>>>> is that > >>>>>>> PCMCIA bus interfaces are unlike other busses, and also wind up > >>>>>>> forcing > >>>>>>> us > >>>>>>> to > >>>>>>> carry other legacy crap in our core kernel. So this cleanup enables > >>>>>>> still > >>>>>>> other > >>>>>>> cleanup, which can then allow other optimizations or future changes to > >>>>>>> nexus > >>>>>>> frameworks to be made more easily in the future. > >>>>>>> > >>>>>>> - Garrett > >>>>>>> > >>>>>>> > >>>>>>> *illumos-discuss* | Archives > >>>>>>> <https://www.listbox.com/member/archive/182180/=now> > >>>>>>> <https://www.listbox.com/member/archive/rss/182180/21175548-9b54c406> > >>>>>>> | > >>>>>>> Modify > >>>>>>> <https://www.listbox.com/member/?&> > >>>>>>> Your Subscription [Powered by Listbox] <http://www.listbox.com> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> ------------------------------------------- > >>>>>> illumos-discuss > >>>>>> Archives: https://www.listbox.com/member/archive/182180/=now > >>>>>> RSS Feed: > >>>>>> https://www.listbox.com/member/archive/rss/182180/21175801-e6d8763a > >>>>>> Modify Your Subscription: > >>>>>> https://www.listbox.com/member/?& > >>>>>> > >>>>>> Powered by Listbox: http://www.listbox.com > >>>>> > >>>>> > >>>>> > >>>>> ------------------------------------------- > >>>>> illumos-discuss > >>>>> Archives: https://www.listbox.com/member/archive/182180/=now > >>>>> RSS Feed: > >>>>> https://www.listbox.com/member/archive/rss/182180/21175548-9b54c406 > >>>>> Modify Your Subscription: > >>>>> https://www.listbox.com/member/?& > >>>>> > >>>>> Powered by Listbox: http://www.listbox.com > >>>>> > >>>> > >> > >> > >> ------------------------------------------- > >> illumos-discuss > >> Archives: https://www.listbox.com/member/archive/182180/=now > >> RSS Feed: > >> https://www.listbox.com/member/archive/rss/182180/22003744-45f01c1f > >> Modify Your Subscription: https://www.listbox.com/member/?& > >> Powered by Listbox: http://www.listbox.com > > > > > > > > ------------------------------------------- > > illumos-discuss > > Archives: https://www.listbox.com/member/archive/182180/=now > > RSS Feed: > > https://www.listbox.com/member/archive/rss/182180/21175548-9b54c406 > > Modify Your Subscription: https://www.listbox.com/member/?& > > Powered by Listbox: http://www.listbox.com > > > > > > ------------------------------------------- > illumos-discuss > Archives: https://www.listbox.com/member/archive/182180/=now > RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175687-799b1238 > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
