Re: Offline installer GCC Compiler Suite

Keith Marshall <[email protected]> Sun, 16 Feb 2020 22:53:03 +0000
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 16/02/2020 15:21, Anton Shepelev wrote, quoting me:
>> That said, we do not have the manpower resources to
>> maintain an offline installer, but it should be possible
>> for any user, with a live internet connection to create
>> their own.  The idea, which I have used in the past, is to
>> create the initial installation on removable (or network
>> shared) media, then clone that (offline) wherever you
>> wish.
> 
> Does that mean that MinGW is fully portable and does not
> depend on anything outside the MinGW directory?

Yes ... unless you create your own external dependencies.

>> You may subsequently remount the removable/shared media
>> installation in the online environment, update/upgrade it,
>> and distribute the updates to offline clones, as required.
> 
> How to distribute updates without overwriting the users'
> data?  By careful picking of the required files, as listed
> on the "Files" tab of the GUI installer?

If you keep the master clean, then it shouldn't include any user-data
files which might be overwritten; (an exception may be the features.h
file, if you allow users to customize that).  Safer, however, would be
to clone everything, on first time installation, but when upgrading
clone only the content of $MINGW_ROOT/var/cache/mingw-get/packages, and
of $MINGW_ROOT/var/lib/mingw-get/data, *excluding* profile.xml, and
*all* sysroot-*.xml and manifest-*.xml files, then run mingw-get in
place, on the cloned offline installation, to perform the upgrade;
(there is no need to run 'mingw-get update' on the clone -- it would
fail anyway, since it is offline; you should have done this in the
online master installation, and its effect is captured in the set of
files, which you've cloned from $MINGW_ROOT/var).

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl5Jx9EACgkQwK02xjR+
Wj+Tdg/+IQh1Mll7+vP4MscdlfanAvXDplex83JKwaOkgRxceRb+Z2iI8ynYBWDg
BJ+OIma81wjqsQuSoOifRoav9LHCXoy2akoL502biVWslJhIYZYsIXdrFmCU3Z2l
hzaPldJH+zmeuzeVNSTC829nAofOxhcNjlzVJFyYV8/rkjsfMdvT758EiQJVBkOI
fK7rDIMOgaorHQWk0v/V5sIRBsyNw3CMBtz9eNE8Jv885hCSH6Pkp+Hpb9lq2vH7
Bod7ad8QKN55lwwj/XJWPTKBYFEM3ij3p1Y9dLgvnV8IHOkEOG2tMOT/3FZwfuFL
ZpBzewjJWYFvD2dGCXkFrP+tXyr9yw++2hVTdesbf9yFptRyV1YfNgeCKMUbU0Gm
YtFGi/Qqd2zhKONHJX7kAHdbcu9ksCh7aJoAF1OFgcnIXy8f2nxPKyxqJ1rN5MRo
+kQ5Ugf9H0xItCpjSkEsDWd/cQiJkzfq9lWyPfV2/Ll7W5nQrjH4jraa8O7cTcmy
LgndsU7m293pNutuEWgFgjS0GmEe8VLmYvKZMJnU6+U8ic+/LPwsmu4l9XuWmV+i
qZX8OOdJWXOqYvdp3XglyGEcRDtzWNyQmykvXEoAHPNBwSd0EIYDKbIqHVzqeTuv
QHDouzZhOQpIF0jbErIPASPCB2WLhBFbV88LBH4uIwP3Xu70S40=
=vuxI
-----END PGP SIGNATURE-----