summaryrefslogtreecommitdiff
path: root/manpages/es
diff options
context:
space:
mode:
Diffstat (limited to 'manpages/es')
-rw-r--r--manpages/es/lb_bootstrap_hooks.es.145
1 files changed, 39 insertions, 6 deletions
diff --git a/manpages/es/lb_bootstrap_hooks.es.1 b/manpages/es/lb_bootstrap_hooks.es.1
index 309df88ad..16ff91cd7 100644
--- a/manpages/es/lb_bootstrap_hooks.es.1
+++ b/manpages/es/lb_bootstrap_hooks.es.1
@@ -27,7 +27,31 @@
live\-build contains the components to build a live system from a
configuration directory.
.PP
-The \fBlb bootstrap_hooks\fP command executes hooks after the bootstrap stage.
+The \fBlb bootstrap_hooks\fP command executes hook files after the bootstrap
+stage.
+
+.SH SPECIFICATION
+\fBlb bootstrap_hooks\fP executes any hook files found in the \fBconfig/hooks\fP
+directory within the configuration directory.
+.PP
+Hook files do not require to have a specific owner nor specific
+permissions. They are marked executable by \fBlb bootstrap_hooks\fP
+automatically when they are executed.
+.PP
+Hook files must either have the suffix \fB*.hook\fP or \fB*.hook.bootstrap\fP.
+.PP
+Hook files with the suffix \fB*.hook\fP are executed first, hook files with the
+suffix \fB*.hook.bootstrap\fP are executed second.
+.PP
+Hook files are executed in alphanumberical order by \fBlb
+bootstrap_hooks\fP. If one hook file depends on being run after another, best
+practise is to use number prefixes (nnnn, starting with 0001) to ensure the
+order of execution.
+.PP
+Hook files are copied into the \fBchroot/live\-build\fP directory by \fBlb
+bootstrap_hoooks\fP. They are executed from within the chroot directory
+(chrooted) and can read the configuration directory in \fB/live\-build/config\fP
+within the chroot directory.
.SH OPCIONES
.IP \-\-verbose 4
@@ -38,13 +62,22 @@ muestra el mensaje de ayuda y sale.
muestra el número de versión del programa y sale.
.SH FICHEROS
-.IP \fBconfig/build\fP 4
-.IP \fBconfig/hooks/*.hook\fP 4
-.IP \fBconfig/hooks/*.hook.bootstrap\fP 4
-.IP \fBchroot\fP 4
+.IP \fBconfig/build\fP: 4
+generic configuration file.
+.IP \fBconfig/hooks/*.hook\fP: 4
+generic hook files.
+.IP \fBconfig/hooks/*.hook.bootstrap\fP: 4
+hook files specific for the bootstrap stage.
+.IP \fBchroot\fP: 4
+directory in which the hook files are executed.
+.IP \fBchroot/live\-build/config\fP: 4
+bind mounted configuration directory within the chroot directory to be read
+by hook files.
+.IP \fBchroot/live\-build\fP: 4
+directory in which hook files are copied.
.SH "VER TAMBIÉN"
-.IP \fIlb_chroot_hooks\fP(1) 4
+.IP \fIlb_bootstrap_hooks\fP(1) 4
.IP \fIlb_binary_hooks\fP(1) 4
.IP \fIlb_source_hooks\fP(1) 4