Skip to content

Fix config saving when building inside tmpfs#285

Merged
ptr1337 merged 1 commit intoCachyOS:masterfrom
ventureoo:fix-config
Aug 25, 2024
Merged

Fix config saving when building inside tmpfs#285
ptr1337 merged 1 commit intoCachyOS:masterfrom
ventureoo:fix-config

Conversation

@ventureoo
Copy link
Member

When building inside tmpfs, $srcdir and $pkgdir, their parent directory will not be the directory with PKGBUILD, but /tmp. So we need to read symlink of one of the files in $srcdir to figure out where the directory with PKGBUILD actually is.

When building inside tmpfs, ``$srcdir`` and ``$pkgdir``, their parent
directory will not be the directory with PKGBUILD, but /tmp. So we need
to read symlink of one of the files in ``$srcdir`` to figure out where
the directory with PKGBUILD actually is.
@ventureoo ventureoo requested review from ptr1337 and sirlucjan August 25, 2024 09:47
Copy link
Member

@sirlucjan sirlucjan 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
Member

@ptr1337 ptr1337 left a comment

Choose a reason for hiding this comment

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

LGTM

@ptr1337 ptr1337 merged commit cc66dc6 into CachyOS:master Aug 25, 2024
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.

3 participants