| #
52c8e24c
|
| 06-May-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directori
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directories in the resulting disk images we need to have a real implementation rather than always giving no flags.
Ideally mtree wouldn't rely on round-tripping the textual flags field via the "native" flags encoding using these functions, and ideally makefs wouldn't rely on the "native" flags encoding matching FreeBSD's, but in practice macOS's schg is the same and we can pretend Linux has the same.
This fixes Linux-produced disk images lacking schg on any files or directories, and Linux-produced distribution tarballs lacking schg on /var/empty (note though that they do set schg on files, as install already preserves file flags on Linux).
Reviewed by: emaste, markj Differential Revision: https://reviews.freebsd.org/D50080
show more ...
|
| #
18cf1e50
|
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-author
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Differential Revision: https://reviews.freebsd.org/D45375
show more ...
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
79e02149
|
| 19-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as ht
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863
Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193
show more ...
|
| #
e2515283
|
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
d1d32c3d
|
| 25-Aug-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementatio
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementations of functions that don't exist on those operating systems to -legacy when bootstrapping.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D14316
show more ...
|
| #
52c8e24c
|
| 06-May-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directori
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directories in the resulting disk images we need to have a real implementation rather than always giving no flags.
Ideally mtree wouldn't rely on round-tripping the textual flags field via the "native" flags encoding using these functions, and ideally makefs wouldn't rely on the "native" flags encoding matching FreeBSD's, but in practice macOS's schg is the same and we can pretend Linux has the same.
This fixes Linux-produced disk images lacking schg on any files or directories, and Linux-produced distribution tarballs lacking schg on /var/empty (note though that they do set schg on files, as install already preserves file flags on Linux).
Reviewed by: emaste, markj Differential Revision: https://reviews.freebsd.org/D50080
show more ...
|
| #
18cf1e50
|
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-author
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Differential Revision: https://reviews.freebsd.org/D45375
show more ...
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
79e02149
|
| 19-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as ht
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863
Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193
show more ...
|
| #
e2515283
|
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
d1d32c3d
|
| 25-Aug-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementatio
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementations of functions that don't exist on those operating systems to -legacy when bootstrapping.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D14316
show more ...
|
| #
52c8e24c
|
| 06-May-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directori
cross-build: Provide real fflagstostr/strtofflags on Linux
These are used by mtree and makefs, so in order to be able to set schg on /var/empty in METALOG and set schg on various files and directories in the resulting disk images we need to have a real implementation rather than always giving no flags.
Ideally mtree wouldn't rely on round-tripping the textual flags field via the "native" flags encoding using these functions, and ideally makefs wouldn't rely on the "native" flags encoding matching FreeBSD's, but in practice macOS's schg is the same and we can pretend Linux has the same.
This fixes Linux-produced disk images lacking schg on any files or directories, and Linux-produced distribution tarballs lacking schg on /var/empty (note though that they do set schg on files, as install already preserves file flags on Linux).
Reviewed by: emaste, markj Differential Revision: https://reviews.freebsd.org/D50080
show more ...
|
| #
18cf1e50
|
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-author
cross-build: Define DEFFILEMODE and ALLPERMS if not defined
GLIBC defines these, but MUSL does not. FreeBSD's bootstrap code uses these defines, so define them if they aren't yet defined.
Co-authored-by: Val Packett <val@packett.cool> Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/1066 Differential Revision: https://reviews.freebsd.org/D45375
show more ...
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
79e02149
|
| 19-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as ht
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863
Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193
show more ...
|
| #
e2515283
|
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
d1d32c3d
|
| 25-Aug-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementatio
Add Linux/macOS compatibility system headers to tools/build/cross-build
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementations of functions that don't exist on those operating systems to -legacy when bootstrapping.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D14316
show more ...
|