Eric MacDonald f0da76d820 Add LAT hook segment syntax error rendering code comment to kickstarts
The Linux Assembly Tool parses a kickstart file containing various
hook segments that are syntactically delineated with statements that
start with '%'.

The example below shows the start and end syntax of a hook block.

%post --interpreter=/bin/bash

<kickstart bash code goes here>

%end

If LAT detects a hook block syntax error it fails the install and
renders it as a Permission denied like this:

./lat-installer.sh: line 539:
/tmp/lat/lat_post_nochroot_script/10_script: Permission denied

This update adds a comment to the kickstart file header explaining
how LAT renders hook syntax errors as file permission denied and
a comment at the end of the kickstart warning not to remove the
Line Feed at the end of the kickstart files.

Test Plan:

PASS: Verify spelling and format of added code comments.
PASS: Verify kickstart.cfg has a Line Feed at the end of the last
      kickstart.cfg and miniboot.cfg files. They were already there.

Closes-Bug: 2069432
Change-Id: Ic4cd168e784abdba98e45e1837749915db9c4e43
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2024-06-14 11:21:57 -04:00
2024-05-15 15:29:41 -03:00
2023-08-29 16:50:22 -04:00
2023-10-11 14:40:38 +00:00
2019-04-19 19:52:33 +00:00
2023-04-28 12:38:51 -04:00
2018-05-31 07:36:43 -07:00
2023-07-19 12:32:13 -03:00
2022-12-26 23:26:54 +00:00

metal

The starlingx/metal repository handles StarlingX Bare Metal Management1.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.

References


  1. https://docs.starlingx.io/api-ref/metal↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX Bare Metal and Node Management, Hardware Maintenance
Readme 15 MiB
Languages
C++ 83%
Shell 10.2%
Python 3.3%
C 2.5%
Makefile 1%