Re: Install file into /rescue

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Fri, 18 Oct 2024 03:29:21 UTC
Hello again.

On 2024/10/17 18:45, Zsolt Udvari wrote:
> On Thu, Oct 17, 2024 at 04:59:48PM +0900, Tatsuki Makino wrote:
>> And USE_TMPFS="all" seems to be one of the workarounds.
> The `testport' fails with USE_TMPFS too.

This seems to be restricted by markfs in /usr/local/share/poudriere/common.sh.
USE_TMPFS doesn't matter.
In common_mtree over here and here, /boot is hardcoded, so we don't run into the same problem with *-kmod, even though it's the same condition as /rescue.
As we look around there, we can add more paths with LOCAL_MTREE_EXCLUDES.
If we define a variable called LOCAL_MTREE_EXCLUDES in /usr/local/etc/poudriere.conf and add /rescue separated by $IFS, this problem will not occur.

Regards.