Re: Get ${OSREL} at install time
- Reply: Nuno Teixeira : "Re: Get ${OSREL} at install time"
- In reply to: Nuno Teixeira : "Re: Get ${OSREL} at install time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 13:12:51 UTC
* Nuno Teixeira <eduardo@freebsd.org> [20230418 13:45]: > I will do further tests and open an PR so other people try it (I hope). I would suggest a final improvement: You should probably sanity-check what you get from freebsd-version (and in case it isn't sane, stick to the compile-time defaults). That's because it's perfectly possible to install packages with "pkg -r" into a prefix that doesn't even have base installed (so, also no freebsd-version available there). -- Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de -- ports committer (mentee) -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231