<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/release/amd64, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F14</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F14'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-03-26T01:28:38Z</updated>
<entry>
<title>Copy the new ia32 loader</title>
<updated>2025-03-26T01:28:38Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>ahmadkhalifa570@gmail.com</email>
</author>
<published>2024-06-03T01:53:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6d3271fe07b622355ddd6d4966cc9e111e813cd'/>
<id>urn:sha1:c6d3271fe07b622355ddd6d4966cc9e111e813cd</id>
<content type='text'>
This handles copying in install-boot.sh and bsdinstall's bootconfig.

install-boot.sh:
make_esp_file now optionally takes extra arguments so it can copy
multiple files. This is used by the amd64 release scripts.
make_esp_device also takes an extra optional argument for efibootname.
This is currently unused, but it can be used in the future to do
something like:
make_esp_device loader.efi bootx64
make_esp_device loader_ia32.efi bootia32

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit 599273f942b8dc6f957487bb28f36694dab9dad2)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>release: Support GNU stat in mkisoimages.sh</title>
<updated>2022-07-15T22:04:48Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2022-07-15T22:04:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cefe58791b0fc5243250b2449107540b03d64689'/>
<id>urn:sha1:cefe58791b0fc5243250b2449107540b03d64689</id>
<content type='text'>
BSD stat and GNU stat differ significantly when it comes to using a
custom format string, both in the option name and in the format string
itself. Handle both here (assuming Linux means GNU stat rather than BSD
stat).

Reviewed by:	brooks, gjb
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D35814
</content>
</entry>
<entry>
<title>release: Add support for building on non-FreeBSD</title>
<updated>2022-02-28T22:37:37Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2022-02-28T22:37:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a9b1c367fa606c7850cfc876bf73a1e1129279a'/>
<id>urn:sha1:1a9b1c367fa606c7850cfc876bf73a1e1129279a</id>
<content type='text'>
This requires two sets of changes. Firstly, for non-FreeBSD, we do not
know where tools are in PATH (and it is likely that some are not in
system directories and have been built as bootstrap tools during the
build), so we should leave PATH alone and trust the user. Secondly,
makefs needs a master.passwd for building images from a METALOG file, so
pass the directory in the image tree to makefs's -N option in order to
pick up a valid FreeBSD master.passwd; this is unnecessary on FreeBSD
(except in the edge case of building an image that refers to users or
groups not present in the host's database, which is unlikely but
technically possible) but harmless so can be done unconditionally.

Reviewed by:	brooks, emaste, gjb
Differential Revision:	https://reviews.freebsd.org/D34001
</content>
</entry>
<entry>
<title>release: Support -DNO_ROOT image building</title>
<updated>2022-02-28T22:37:03Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2022-02-28T22:37:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=13cb004130d2b62f79fe421eaf4a7973efd6a505'/>
<id>urn:sha1:13cb004130d2b62f79fe421eaf4a7973efd6a505</id>
<content type='text'>
This requires a bunch of METALOG mangling to include the files we inject
into the tree. The mkisoimages.sh and make-memstick.sh scripts are now
called with the current directory inside the tree so that the relative
paths in the METALOG match up with the current directory. The scripts do
not require this when not using a METALOG, but for simplicity we always
do so. The Makefile mangles the real METALOG created from the install,
as those files are shared across all uses of the tree, but the shell
scripts create a temporary copy of the METALOG that they mangle as their
tree modifications are specific to that image. We also need to pass -D
to makefs to turn any duplicate METALOG entry errors into warnings, as
we have many (harmless) instances of those.

Whilst dvd1.iso should work, the !NOPKG code will need more work to
support this.

All media will also lack mergemaster and etcupdate trees, since more
work is needed to add -DNO_ROOT modes to them. Users of install media
built this way will have to manually bootstrap them.

Reviewed by:	brooks, gjb
Differential Revision:	https://reviews.freebsd.org/D33999
</content>
</entry>
<entry>
<title>mkisoimages.sh: Avoid creating temporary files in the current directory</title>
<updated>2022-02-28T22:36:51Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2022-02-28T22:36:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=045c8f526484cb3b97f5fd693987f4376fa43c5f'/>
<id>urn:sha1:045c8f526484cb3b97f5fd693987f4376fa43c5f</id>
<content type='text'>
Currently the current directory is the parent of the rootfs directory,
but this will change in order to support NO_ROOT builds that use a
metalog manifest, since those need to have the current directory be the
rootfs itself in order for the relative paths to be correct, and we do
not want the non-METALOG case (which passes the directory to makefs) to
pick up leftover temporary .img files from a previous failed build.

Reviewed by:	brooks, emaste, gjb
Differential Revision:	https://reviews.freebsd.org/D33998
</content>
</entry>
<entry>
<title>release: amd64: Fix ISO/USB hybrid image</title>
<updated>2021-03-27T11:04:51Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2021-03-27T11:04:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=90d2f7c413f9fc4ac479fa5e91ba1de6d4ea8d45'/>
<id>urn:sha1:90d2f7c413f9fc4ac479fa5e91ba1de6d4ea8d45</id>
<content type='text'>
Recent mkimg changes forces to have partitions given in explicit order.
This is so we can have the first partition starting at a specific offset
and the next ones starting after without having to specify an offset.
Switch the partition in the mkisoimage.sh script so the first one created
is the isoboot one.

PR:    254490
Reported by:	Michael Dexter &lt;editor@callfortesting.org
Tested by:	Vincent Milum Jr &lt;freebsd@darkain.com&gt;
MFC after:	Right now
</content>
</entry>
<entry>
<title>Bump the ISO EFI partition size from 1024 to 2048, following r366732.</title>
<updated>2020-10-15T23:05:13Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2020-10-15T23:05:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bdccfea1ea6322ed6857d7383cc17cef99e6a0d2'/>
<id>urn:sha1:bdccfea1ea6322ed6857d7383cc17cef99e6a0d2</id>
<content type='text'>
Suggested by:	imp
Sponsored by:	Rubicon Communications, LLC (netgate.com)
</content>
</entry>
<entry>
<title>Increase the amd64 ISO ESP file size from 800KB to 1024KB.</title>
<updated>2020-10-15T17:12:58Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2020-10-15T17:12:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a0da9a6272188bdf46cb87942b88de2195d01725'/>
<id>urn:sha1:a0da9a6272188bdf46cb87942b88de2195d01725</id>
<content type='text'>
At some poing over the last week, the bootx64.efi file has grown
past the 800KB threshold, resulting in being unable to copy it to
the EFI/BOOT directory.

 # stat -f %z efiboot.znWo7m
 819200
 # stat -f %z stand-test.PIEugN/EFI/BOOT/bootx64.efi
 842752

The comment in the script that creates the ISOs suggests that 800KB
is the maximum allowed for the boot code, however I was able to
boot an ISO with a 1024KB boot partition.  Additionally, I verified
against an ISO from OtherOS, where the boot EFI partition is 2.4MB.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
</content>
</entry>
<entry>
<title>Use makefs -t msdos in make_esp_file</title>
<updated>2019-09-03T18:37:55Z</updated>
<author>
<name>Matt Macy</name>
<email>mmacy@FreeBSD.org</email>
</author>
<published>2019-09-03T18:37:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=14113f123e464c54345d0af2fd9ee60f3b38c196'/>
<id>urn:sha1:14113f123e464c54345d0af2fd9ee60f3b38c196</id>
<content type='text'>
With this last piece in place, make -C /usr/src/release release.iso is
finally able to run in a jail. This was not possible before because
msdosfs cannot be mounted inside a jail.

Submitted by:	ryan@ixsystems.com
Reviewed by:	emaste@, imp@, gjb@
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D21385
</content>
</entry>
</feed>
