Skip to content

Fix ISO_LABEL handling and symlink resolution in ISO detection #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2025

Conversation

retekdk
Copy link
Contributor

@retekdk retekdk commented Jul 30, 2025

  • Declaring 'local ISO_LABEL' inside a function was shadowing the global environment variable defined in env.properties. This caused unexpected behavior during ISO processing.

  • When ISO_URL is set to a 'file://' path, a symlink is created in '.cache'. The 'file "${ISO_PATH}"' command was resolving the symlink itself, which interfered with sed processing.

  • Replaced 'file "${ISO_PATH}"' with 'file -L "${ISO_PATH}"' to follow symlinks and ensure consistent behavior.

- Declaring 'local ISO_LABEL' inside a function was shadowing the global
environment variable defined in env.properties. This caused unexpected
behavior during ISO processing.

- When ISO_URL is set to a 'file://' path, a symlink is created in '.cache'.
The 'file "${ISO_PATH}"' command was resolving the symlink itself, which
interfered with sed processing.

- Replaced 'file "${ISO_PATH}"' with 'file -L "${ISO_PATH}"' to follow
symlinks and ensure consistent behavior.

Signed-off-by: DK <d.koch@accenture.com>
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Jul 30, 2025
@AmedeeBulle AmedeeBulle self-assigned this Jul 31, 2025
Copy link
Member

@AmedeeBulle AmedeeBulle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

Thank you for signing the OCA.

@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels Aug 4, 2025
@AmedeeBulle AmedeeBulle merged commit 4c2a3a9 into oracle:main Aug 4, 2025
2 checks passed
@AmedeeBulle
Copy link
Member

Closes #196
Thanks @retekdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants