Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2009 23:44:56 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        QAT@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org, ports@freebsd.org, Joe Marcus Clarke <marcus@FreeBSD.org>, cvs-ports@freebsd.org, imp@freebsd.org
Subject:   Re: cvs commit: ports/net Makefile ports/net/bwi-firmware-kmod   Makefile distinfo pkg-descr pkg-plist
Message-ID:  <20090510234456.2c770441@it.buh.tecnik93.com>
In-Reply-To: <790a9fff0905101305l70d7809cl1ca2525729d53daa@mail.gmail.com>
References:  <200905092141.n49LfomV031060@repoman.freebsd.org> <20090510162002.A2CAA8FC4E@release.ixsystems.com> <790a9fff0905101305l70d7809cl1ca2525729d53daa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/4cmJ3wj+aLBWF3NTWKVJWoi
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 10 May 2009 15:05:17 -0500
Scot Hetzel <swhetzel@gmail.com> wrote:

> On Sun, May 10, 2009 at 11:20 AM,  <QAT@freebsd.org> wrote:
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 6: m=
ake install>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > add_pkg
> > =3D=3D=3D> =C2=A0Installing for bwi-firmware-kmod-3.130.20
> > =3D=3D=3D> =C2=A0 Generating temporary packing list
> > =3D=3D=3D> =C2=A0Checking if net/bwi-firmware-kmod already installed
> > install -o root -g wheel -m 555 =C2=A0 bwi_v3_ucode.ko /boot/modules
> > kldxref /boot/modules
> > =3D=3D=3D> =C2=A0 Registering installation for bwi-firmware-kmod-3.130.=
20
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 7: m=
ake package>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D> =C2=A0Building package for bwi-firmware-kmod-3.130.20
> > Creating package /tmp/packages/All/bwi-firmware-kmod-3.130.20.tbz
> > Registering depends:.
> > Creating bzip'd tar ball in
> > '/tmp/packages/All/bwi-firmware-kmod-3.130.20.tbz' Deleting
> > bwi-firmware-kmod-3.130.20
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >
> > =3D=3D=3D Checking filesystem state
> > list of extra files and directories in / (not present before this
> > port was installed but present after it was deinstalled) 33067887
> > =C2=A0 =C2=A0 =C2=A04 -rw-r--r-- =C2=A0 =C2=A01 root =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 wheel =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A088
> > May 10 16:20 boot/modules/linker.hints
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> This shouldn't be flaged as an mtree error.  The reason that
> linker.hints was left behind is due to this file is generated by
> kldxref.  The port/package runs kldxref during the install of the
> firmware module to update the existing or create a linker.hints file,
> and when the package is removed, it runs kldxref again to clean up the
> linker.hints file to only contain the modules in /boot/modules.  It
> has no way to know if it is safe to remove this file.
>=20
> Should Kernel Modules be running kldxref in /boot/modules?
>=20
> Should I change the port to have a do-install target that installs the
> bwi firmware kernel module so that it doesn't run kldxref during the
> install?

No, I don't think so; we should teach tindy to ignore this file.


--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

--Sig_/4cmJ3wj+aLBWF3NTWKVJWoi
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkoHPMoACgkQJ7GIuiH/oeUZgwCfUqHf4gCKoxaTXypD4aug0jgF
+HgAn3f2V2tIg3AlRtJ1IxIRIXt6RO0P
=Chci
-----END PGP SIGNATURE-----

--Sig_/4cmJ3wj+aLBWF3NTWKVJWoi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090510234456.2c770441>