<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in script</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>4ee348e27143b857445fd261cbe6695d6d57c836 - bsdinstall: Fix typos</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#4ee348e27143b857445fd261cbe6695d6d57c836</link>
        <description>bsdinstall: Fix typosReviewed by:	emasteMFC after:	2 daysDifferential Revision:	https://reviews.freebsd.org/D53170

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Fri, 17 Oct 2025 15:16:32 +0000</pubDate>
        <dc:creator>Jose Luis Duran &lt;jlduran@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>731704f5ea2f6f9d7e3c4b5ed2ad1a3cba703f42 - bsdinstall: Fix installation script splitting</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#731704f5ea2f6f9d7e3c4b5ed2ad1a3cba703f42</link>
        <description>bsdinstall: Fix installation script splittingThis allows writing setup scripts that contain lines starting with&quot;#!&quot;, e.g., a shebang when creating a shell script using cat:    #!/bin/sh    echo &quot;Populate rc.local&quot;    cat &gt;/etc/rc.local&lt;&lt;EOF    #!/bin/sh    echo booted | logger -s -t &apos;example&apos;    EOFPrevent accidentally running a setup script left behind by aprevious invocation of bsdinstall.Reviewed by:	imp, jrtc27Differential Revision:	https://reviews.freebsd.org/D43350

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Sat, 06 Jan 2024 16:55:31 +0000</pubDate>
        <dc:creator>Michael Gmelin &lt;grembo@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c0e249d32c780ee8240fe8b3b8144078a8eec41f - bsdinstall: avoid conflicts with fd 3</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#c0e249d32c780ee8240fe8b3b8144078a8eec41f</link>
        <description>bsdinstall: avoid conflicts with fd 3Throughout the bsdinstall script fd 3 is used by f_dprintf (set through$TERMINAL_STDOUT_PASSTHRU). In several places in the bsdinstalls scripts,we use fd 3 to juggle stdout when calling out to other tools, which cancause the installer to fail with a &quot;Bad file descriptor&quot; error whenf_dprintf attempts to use it.This commit replaces all constructs like this:    exec 3&gt;&amp;1    SOME_VARIABLE=$(some command 2&gt;&amp;1 1&gt;&amp;3)    exec 3&gt;&amp;-With:    exec 5&gt;&amp;1    SOME_VARIABLE=$(some command 2&gt;&amp;1 1&gt;&amp;5)    exec 5&gt;&amp;-PR:			273148Reviewed by:		corvinkFixes:			1f7746d81f53447ac15cc99395bb714d4dd0a4da (&quot;bsdinstall: stop messing with file descriptors&quot;)MFC after:		1 week

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 15 Aug 2023 15:44:02 +0000</pubDate>
        <dc:creator>Lars Kellogg-Stedman &lt;lars@oddbit.com&gt;</dc:creator>
    </item>
<item>
        <title>d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>450b4ac23c75e2dde996c96049c0887864e22d09 - bsdinstall/script: umount before zpool export</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#450b4ac23c75e2dde996c96049c0887864e22d09</link>
        <description>bsdinstall/script: umount before zpool exportWhen running zpool export first, boot/efi and dev is still mounted sozpool export fails. By running bsdinstall umount first the pool can becleanly exported.Reviewed by:		emasteDifferential Revision:	https://reviews.freebsd.org/D35114Sponsored by:		Beckhoff Automation GmbH &amp; Co. KGMFC After:		3 days

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 03 May 2022 14:01:22 +0000</pubDate>
        <dc:creator>Corvin K&#246;hne &lt;CorvinK@beckhoff.com&gt;</dc:creator>
    </item>
<item>
        <title>1f7746d81f53447ac15cc99395bb714d4dd0a4da - bsdinstall: stop messing with file descriptors</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#1f7746d81f53447ac15cc99395bb714d4dd0a4da</link>
        <description>bsdinstall: stop messing with file descriptorsThroughout the bsdinstall script fd 3 is used by f_dprintf (set through$TERMINAL_STDOUT_PASSTHRU). By closing file descriptor 3 here, thefinal f_dprintf &quot;Installation Completed ... does not work anymore.By putting the code into a subshell, file descriptors can be editedwithout interference with the calling script.Reviewed by:		emasteDifferential Revision:	https://reviews.freebsd.org/D35113Sponsored by:		Beckhoff Automation GmbH &amp; Co. KGMFC after:		3 days

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 03 May 2022 14:00:09 +0000</pubDate>
        <dc:creator>Corvin K&#246;hne &lt;CorvinK@beckhoff.com&gt;</dc:creator>
    </item>
<item>
        <title>b50db44f021c12283a2e140063a6b6fcc30295e5 - bsdinstall: Avoid double-mounting /dev</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#b50db44f021c12283a2e140063a6b6fcc30295e5</link>
        <description>bsdinstall: Avoid double-mounting /devAfter 34766aa8cb514472c571f8b0e90e833833acef51 we are mounting andunmounting devfs elsewhere already.Reviewed by:	nwhitehornMFC after:	1 weekSponsored by:	iXsystems, Inc.Differential Revision:	https://reviews.freebsd.org/D30877

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Wed, 23 Jun 2021 13:42:43 +0000</pubDate>
        <dc:creator>Ryan Moeller &lt;freqlabs@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5104dfbeff3e1489f1caee482c7ad1ff9be8e61d - bsdinstall: Fix typo (Instalation -&gt; Installation).</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#5104dfbeff3e1489f1caee482c7ad1ff9be8e61d</link>
        <description>bsdinstall: Fix typo (Instalation -&gt; Installation).

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Thu, 03 Jun 2021 04:43:14 +0000</pubDate>
        <dc:creator>Navdeep Parhar &lt;np@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>40923b0c81cc2c151388ec5ead59f4bed89ac432 - Fix scripted installation from media without local distfiles.</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#40923b0c81cc2c151388ec5ead59f4bed89ac432</link>
        <description>Fix scripted installation from media without local distfiles.The bsdinstall script target did not have the infrastructure to fetchdistfiles from a remote server the way the interactive installer doeson e.g. bootonly media. Solve this by factoring out the parts of theinstaller that deal with fetching missing distributions into a newinstall stage called &apos;fetchmissingdists&apos;, which is called by both theinteractive and scripted installer frontends.In the course of these changes, cleaned up a few other issues withthe fetching of missing distribution files and added a warning iffetching the MANIFEST file, which is used to verify the integrity ofthe distribution files. We should at some point add cryptographicsignatures to MANIFEST so that it can be fetched safely if not presenton the install media (which it is for bootonly media).Initial patch by: Vin&#237;cius ZavamPR:		255659, 250928Reviewed by:	dteskeMFC after:	4 weeksDifferential Revision:	https://reviews.freebsd.org/D27121

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Fri, 28 May 2021 13:53:42 +0000</pubDate>
        <dc:creator>Nathan Whitehorn &lt;nwhitehorn@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>34766aa8cb514472c571f8b0e90e833833acef51 - Fix scripted installs on EFI systems using ZFS root with zfsboot.</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#34766aa8cb514472c571f8b0e90e833833acef51</link>
        <description>Fix scripted installs on EFI systems using ZFS root with zfsboot.Unlike attended installations, scripted installs did not mount non-ZFSpartitions when ZFS root (via zfsboot) was selected. Since this includedthe ESP, the EFI loader was not installed. Copy logic from theattended-install path to make this work.PR:		255824, 255081MFC after:	1 weekObtained from:	Mark Huizer

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Fri, 14 May 2021 12:30:41 +0000</pubDate>
        <dc:creator>Nathan Whitehorn &lt;nwhitehorn@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c2f16c595eb51c6e0cb6ece3f6f078d738019059 - Fix scripted installs on EFI systems after default mounting of the ESP.</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#c2f16c595eb51c6e0cb6ece3f6f078d738019059</link>
        <description>Fix scripted installs on EFI systems after default mounting of the ESP.Because the ESP mount point (/boot/efi) is in mtree, tar will attempt toextract a directory at that point post-mount when the system is installed.Normally, this is fine, since tar can happily set whatever properties itwants. For FAT32 file systems, however, like the ESP, tar will attempt toset mtime on the root directory, which FAT does not support, and tar willinterpret this as a fatal error, breaking the install (seehttps://github.com/libarchive/libarchive/issues/1516). This issue wouldalso break scripted installs on bare-metal POWER8, POWER9, and PS3systems, as well as some ARM systems.This patch solves the problem in two ways:- If stdout is a TTY, use the distextract stage instead of tar, as in  interactive installs. distextract solves this problem internally and  provides a nicer UI to boot, but requires a TTY.- If stdout is not a TTY, use tar but, as a stopgap for 13.0, exclude  boot/efi from tarball extraction and then add it by hand. This is a  hack, and better solutions (as in the libarchive ticket above) will  obsolete it, but it solves the most common case, leaving only  unattended TTY-less installs on a few tier-2 platforms broken.In addition, fix a bug with fstab generation uncovered once the tar issueis fixed that umount(8) can depend on the ordering of lines in fstab in away that mount(8) does not. The partition editor now writes out fstab inmount order, making sure umount (run at the end of scripted, but notinteractive, installs) succeeds.PR:		254395Reviewed by:	gjb, impMFC after:	3 daysDifferential Revision:	https://reviews.freebsd.org/D29380

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 23 Mar 2021 13:19:42 +0000</pubDate>
        <dc:creator>Nathan Whitehorn &lt;nwhitehorn@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a107ddbb83a7a93d3c4e40f5355e158d6976bf90 - bsdinstall: Use TMPDIR if set</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#a107ddbb83a7a93d3c4e40f5355e158d6976bf90</link>
        <description>bsdinstall: Use TMPDIR if setSubmitted by:	Ryan Moeller &lt;ryan@freqlabs.com&gt;Reviewed by:	bcran, Nick Wolff &lt;darkfiberiru@gmail.com&gt;Differential Revision:	https://reviews.freebsd.org/D22979/

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Wed, 15 Jan 2020 00:45:05 +0000</pubDate>
        <dc:creator>Rebecca Cran &lt;bcran@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4ee348e27143b857445fd261cbe6695d6d57c836 - bsdinstall: Fix typos</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#4ee348e27143b857445fd261cbe6695d6d57c836</link>
        <description>bsdinstall: Fix typosReviewed by:	emasteMFC after:	2 daysDifferential Revision:	https://reviews.freebsd.org/D53170

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Fri, 17 Oct 2025 15:16:32 +0000</pubDate>
        <dc:creator>Jose Luis Duran &lt;jlduran@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>731704f5ea2f6f9d7e3c4b5ed2ad1a3cba703f42 - bsdinstall: Fix installation script splitting</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#731704f5ea2f6f9d7e3c4b5ed2ad1a3cba703f42</link>
        <description>bsdinstall: Fix installation script splittingThis allows writing setup scripts that contain lines starting with&quot;#!&quot;, e.g., a shebang when creating a shell script using cat:    #!/bin/sh    echo &quot;Populate rc.local&quot;    cat &gt;/etc/rc.local&lt;&lt;EOF    #!/bin/sh    echo booted | logger -s -t &apos;example&apos;    EOFPrevent accidentally running a setup script left behind by aprevious invocation of bsdinstall.Reviewed by:	imp, jrtc27Differential Revision:	https://reviews.freebsd.org/D43350

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Sat, 06 Jan 2024 16:55:31 +0000</pubDate>
        <dc:creator>Michael Gmelin &lt;grembo@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c0e249d32c780ee8240fe8b3b8144078a8eec41f - bsdinstall: avoid conflicts with fd 3</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#c0e249d32c780ee8240fe8b3b8144078a8eec41f</link>
        <description>bsdinstall: avoid conflicts with fd 3Throughout the bsdinstall script fd 3 is used by f_dprintf (set through$TERMINAL_STDOUT_PASSTHRU). In several places in the bsdinstalls scripts,we use fd 3 to juggle stdout when calling out to other tools, which cancause the installer to fail with a &quot;Bad file descriptor&quot; error whenf_dprintf attempts to use it.This commit replaces all constructs like this:    exec 3&gt;&amp;1    SOME_VARIABLE=$(some command 2&gt;&amp;1 1&gt;&amp;3)    exec 3&gt;&amp;-With:    exec 5&gt;&amp;1    SOME_VARIABLE=$(some command 2&gt;&amp;1 1&gt;&amp;5)    exec 5&gt;&amp;-PR:			273148Reviewed by:		corvinkFixes:			1f7746d81f53447ac15cc99395bb714d4dd0a4da (&quot;bsdinstall: stop messing with file descriptors&quot;)MFC after:		1 week

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 15 Aug 2023 15:44:02 +0000</pubDate>
        <dc:creator>Lars Kellogg-Stedman &lt;lars@oddbit.com&gt;</dc:creator>
    </item>
<item>
        <title>d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>450b4ac23c75e2dde996c96049c0887864e22d09 - bsdinstall/script: umount before zpool export</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#450b4ac23c75e2dde996c96049c0887864e22d09</link>
        <description>bsdinstall/script: umount before zpool exportWhen running zpool export first, boot/efi and dev is still mounted sozpool export fails. By running bsdinstall umount first the pool can becleanly exported.Reviewed by:		emasteDifferential Revision:	https://reviews.freebsd.org/D35114Sponsored by:		Beckhoff Automation GmbH &amp; Co. KGMFC After:		3 days

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 03 May 2022 14:01:22 +0000</pubDate>
        <dc:creator>Corvin K&#246;hne &lt;CorvinK@beckhoff.com&gt;</dc:creator>
    </item>
<item>
        <title>1f7746d81f53447ac15cc99395bb714d4dd0a4da - bsdinstall: stop messing with file descriptors</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#1f7746d81f53447ac15cc99395bb714d4dd0a4da</link>
        <description>bsdinstall: stop messing with file descriptorsThroughout the bsdinstall script fd 3 is used by f_dprintf (set through$TERMINAL_STDOUT_PASSTHRU). By closing file descriptor 3 here, thefinal f_dprintf &quot;Installation Completed ... does not work anymore.By putting the code into a subshell, file descriptors can be editedwithout interference with the calling script.Reviewed by:		emasteDifferential Revision:	https://reviews.freebsd.org/D35113Sponsored by:		Beckhoff Automation GmbH &amp; Co. KGMFC after:		3 days

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Tue, 03 May 2022 14:00:09 +0000</pubDate>
        <dc:creator>Corvin K&#246;hne &lt;CorvinK@beckhoff.com&gt;</dc:creator>
    </item>
<item>
        <title>b50db44f021c12283a2e140063a6b6fcc30295e5 - bsdinstall: Avoid double-mounting /dev</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#b50db44f021c12283a2e140063a6b6fcc30295e5</link>
        <description>bsdinstall: Avoid double-mounting /devAfter 34766aa8cb514472c571f8b0e90e833833acef51 we are mounting andunmounting devfs elsewhere already.Reviewed by:	nwhitehornMFC after:	1 weekSponsored by:	iXsystems, Inc.Differential Revision:	https://reviews.freebsd.org/D30877

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Wed, 23 Jun 2021 13:42:43 +0000</pubDate>
        <dc:creator>Ryan Moeller &lt;freqlabs@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5104dfbeff3e1489f1caee482c7ad1ff9be8e61d - bsdinstall: Fix typo (Instalation -&gt; Installation).</title>
        <link>http://opengrok.net:8080/history/src/usr.sbin/bsdinstall/scripts/script#5104dfbeff3e1489f1caee482c7ad1ff9be8e61d</link>
        <description>bsdinstall: Fix typo (Instalation -&gt; Installation).

            List of files:
            /src/usr.sbin/bsdinstall/scripts/script</description>
        <pubDate>Thu, 03 Jun 2021 04:43:14 +0000</pubDate>
        <dc:creator>Navdeep Parhar &lt;np@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
