mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-09 17:40:46 +00:00
arm-autonomy/xenguest-manager: Allow guests named 'guest'
Prevented name collision on file guest.cfg when the name of the guest is exactly 'guest'. Config is now piped into a tmp file which can safely be deleted at the end of the start operation. Change-Id: Id08ac08e52e9e64c508c841b257ecb28ed9d44ae Issue-Id: SCM-1518 Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -83,11 +83,13 @@ Inside the directory, scripts will be executed in alphabetical order.
|
||||
Since these scripts are sourced by xenguest-manager they can acccess functions
|
||||
and variables from the parent file's scope, including:
|
||||
|
||||
- ${guestname} : The name of the guest being created
|
||||
- ${guestname} : The name of the guest being created
|
||||
|
||||
- ${guestdir} : The path to the guest directory
|
||||
- ${guestdir} : The path to the guest directory
|
||||
|
||||
- ${LOGFILE} : The file to append any logging to, e.g.
|
||||
- ${guestcfgfile} : The name of the config file for the starting guest
|
||||
|
||||
- ${LOGFILE} : The file to append any logging to, e.g.
|
||||
echo "Hello, World" >> ${LOGFILE}
|
||||
|
||||
Sourcing also allows the script to access params.cfg.
|
||||
|
||||
Reference in New Issue
Block a user