[jhalfs] 04/06: BLFS: fix some instructions for automation
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 30 Apr 2026 18:53:27 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1777575223-14467-27469 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit baa5a918355a77fc276e119d72c097d3764dc2c5 Author: Pierre Labastie <[email protected]> AuthorDate: Mon Apr 27 17:46:58 2026 +0200 BLFS: fix some instructions for automation - postgresql: add sleep after starting the server in background - bind: same - mariadb: same, and also add (dummy) passwords --- BLFS/xsl/scripts.xsl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 17a9fd2..f6f0733 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -1080,6 +1080,26 @@ pip3 install -I --no-deps --root $PKG_DEST</xsl:text> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$out-string"/> + <!-- there are a few cases where we want to add some time after + our instruction, because it starts a program in background. Let's + do it here. --> + <xsl:if test="contains($out-string,'/data/logfile') or + contains($out-string,'mariadbd-safe') or + contains($out-string,'start named')"> + <xsl:text> +sleep 5</xsl:text> + </xsl:if> + <!-- we need to add a password for mariadb, otherwise the script + stops waiting for it. We also need to provide it to stop + the database. --> + <xsl:if test="contains($out-string,'root password')"> + <xsl:text> mdbpw</xsl:text> + </xsl:if> + <xsl:if test="contains($out-string,'-p shutdown')"> + <xsl:text> << PW_EOF +mdbpw +PW_EOF</xsl:text> + </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1777575223-14467-27469 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page ------------=_1777575223-14467-27469--