3 ms·
The FreeBSD Update client is about 3600 lines of sh code. Not huge compared to some of the other programs mentioned here, but I'm inclined to say that "tool fo
by cperciva 2y ago
The FreeBSD Update client is about 3600 lines of sh code. Not huge compared to some of the other programs mentioned here, but I'm inclined to say that "tool for updating an entire operating system" is a pretty hefty amount of functionality.
The code which builds the updates probably adds up to more lines, but that's split across many files.
- sebtron 2y agoFor reference: https://cgit.freebsd.org/src/tree/usr.sbin/freebsd-update/freebsd-update.sh https://cgit.freebsd.org/src/tree/usr.sbin/freebsd-update/fr...
- craftkiller 2y agopoudriere is roughly 3 FreeBSD Update clients of sh code: https://github.com/freebsd/poudriere/blob/master/src/share/poudriere/common.sh https://github.com/freebsd/poudriere/blob/master/src/share/p...