Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2013 12:59:49 +0200
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Distribute FreeBSD via packages instead of "global" tarballs
Message-ID:  <51E527A5.9090604@peterschmitt.fr>
In-Reply-To: <51E1879B.7050300@FreeBSD.org>
References:  <51E165F2.20801@peterschmitt.fr> <51E1879B.7050300@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2XHKTQSMBKHGWBQLMDODC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Le 13/07/2013 19:00, Matthew Seaman a =E9crit :
> On 13/07/2013 15:36, Florent Peterschmitt wrote:
>> Is it possible to package FreeBSD distribution under little packages,
>> aiming easy and small upgrades ?
>>
>> Or this has already been thought ?
>=20
> This is certainly technically possible, and it's something there's been=

> occasional speculation about; but as far as I know, no one has yet come=

> up with a demonstration setup.
>=20
> There are a number of practical problems that would need sorting out --=

>=20
>    * pkg isn't part of the base system -- by design -- which makes it
>      tricky to use to register installing base system components on a
>      bare metal system.

But it will be in FreeBSD 10 ?

>    * Similarly, pkg pretty much ignores the facilities and shared
>      libraries from base when calculating dependencies and so forth for=

>      ports.  If base is pkg-ised, should that still be the case?

Hum. It will be a lot of work to turn the base system in a port-like
way. Maybe it would be simpler to have some "diff" packages, a bit like
freebsd-update does but with pkg.

>    * Given that the base system is divided up into numerous smaller
>      packages, should those packages be registered in the same database=

>      as is used for ports? (ie. /var/db/pkg/local.sqlite)

Certainly not. If an rm -rf /usr/local/* /var/db/pkg/local.sqlite can
clean up the system of every third-party software, base components
doesn't have their place with them. *BSD always separate base from the
rest, why this should change here ?

> Packaging the base system is an idea that has been floating around for =
a
> long time -- since long before pkg was conceived, certainly.  But it ha=
s
> never really gone anywhere.  Using pkg for the job would have some
> advantages over trying to do the same thing with the old pkg_tools, but=

> would it ultimately be competitive with the way the installation media
> works now or to freebsd-update(8)?

In never used freebsd-update between more than one version. For examble
I never tried going from 8.0 to 9.1. I let me told that freebsd-update
must go through each version to finally upgrade to the version we want.
If that's true, packaging the base would avoid this behavior, make thing
simpler for users (of course not for packaging :-) ) and surely faster.

> 	Cheers,
>=20
> 	Matthew



--=20
Florent Peterschmitt           | Please:
florent@peterschmitt.fr        |  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92           |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)


------enig2XHKTQSMBKHGWBQLMDODC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJR5SeoAAoJEMtO2Sol0IImpQQH/0JMatuLh1XO24VQkatw9Y0M
nIoIulPkVnKNiSwIxGl1EdS5v3LybBR/QGVTowDetbvU7rI3ZpK/D3Xfz3ZqSh57
Ug+OqUlgbfXiR+FBn91ON+u+Ug6KqhT+4PdZi+MMEKHElLHZKS/EgmU4vVy16ZEz
BBgZ15aRu2Dx0k8Vo1rm1bBKsNt+DBgMysITrm4+I+3EVZ7zRuPXx62znqMriftg
zY6pp/bHI/wDYvKywJDCDtnVB76BgT4/KtoUM1k4K3kStSwdlpLqeSlDfx27Qgwl
2qAmCevpYNoa1vxgpSo19efqbKvNKL7GMCqt2wwQEIFiL4+cg+n7bZU5t2NJY7Q=
=Nc03
-----END PGP SIGNATURE-----

------enig2XHKTQSMBKHGWBQLMDODC--



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