Skip to content

Don't apply noexec mount flag during customization.#263

Merged
cwize1 merged 2 commits into
mainfrom
user/chrisgun/noexec
Jun 6, 2025
Merged

Don't apply noexec mount flag during customization.#263
cwize1 merged 2 commits into
mainfrom
user/chrisgun/noexec

Conversation

@cwize1
Copy link
Copy Markdown
Contributor

@cwize1 cwize1 commented Jun 5, 2025

If the user applies the noexec to a partition's mount options, then add noexec to the /etc/fstab file but don't apply noexec during customization. This allows scripts like grub2-mkconfig to run during customization.


Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • Code conforms to style guidelines

If the user applies the noexec to a partition's mount options, then
add `noexec` to the `/etc/fstab` file but don't apply `noexec` during
customization. This allows scripts like `grub2-mkconfig` to run
during customization.
@cwize1 cwize1 requested a review from a team as a code owner June 5, 2025 22:38
romoh
romoh previously approved these changes Jun 5, 2025
Comment thread toolkit/tools/pkg/imagecustomizerlib/testdata/verity-usr-uki.yaml
@cwize1 cwize1 merged commit ddc0cbe into main Jun 6, 2025
8 checks passed
@cwize1 cwize1 deleted the user/chrisgun/noexec branch June 6, 2025 18:42
liulanze pushed a commit that referenced this pull request Jun 24, 2025
If the user applies the `noexec` to a partition's mount options, then
add `noexec` to the `/etc/fstab` file but don't apply `noexec` during
customization. This allows scripts like `grub2-mkconfig` to run during
customization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants