From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Charles Hardin <ckhardin@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/dhcp: fix dhcp symlink in target/var/lib/dhcp
Date: Mon, 10 Jul 2023 20:47:07 +0200 [thread overview]
Message-ID: <20230710204704.6eba9c3f@windsurf> (raw)
In-Reply-To: <20230620170726.3644-1-ckhardin@gmail.com>
Hello Charles,
+Yann in Cc. I will ask a few questions below, but honestly I'm not
super familiar with this part of the code base, so I might be asking
some stupid questions.
On Tue, 20 Jun 2023 10:07:26 -0700
Charles Hardin <ckhardin@gmail.com> wrote:
> In a readonly fs configuration the skeleton-init-fs will move
I supposed you meant skeleton-init-systemd. Indeed, there's nothing
named skeleton-init-fs in Buildroot as far as I know.
> the var directories to the usr/share/factory and the run a command
> like this:
>
> mv $(TARGET_DIR)/var $(TARGET_DIR)/usr/share/factory/var
> mkdir -p $(TARGET_DIR)/var
> for i in $(TARGET_DIR)/usr/share/factory/var/* \
> $(TARGET_DIR)/usr/share/factory/var/lib/* \
> $(TARGET_DIR)/usr/share/factory/var/lib/systemd/*; do
>
> If the symlink is to the /tmp directory the glob compare on the
> dhcp link will evaluate and result in an incorrect entry being
> created in the resulting tmpfs mount on var.
I'm not able to parse your explanation here. Which glob compare? Which
evaluation?
>
> L+! /var/lib/dhcp - - - - ../usr/share/factory//var/lib/dhcp
Not obvious to me what is invalid in this entry, but admittedly I have
not done a test build/test run to investigate more.
Perhaps you can give a little bit more details to make the issue
obvious to the reviewer, and therefore help your patch to be merged?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-07-10 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 17:07 [Buildroot] [PATCH 1/1] package/dhcp: fix dhcp symlink in target/var/lib/dhcp Charles Hardin
2023-07-10 18:47 ` Thomas Petazzoni via buildroot [this message]
2023-07-10 19:49 ` Yann E. MORIN
2023-07-10 19:17 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230710204704.6eba9c3f@windsurf \
--to=buildroot@buildroot.org \
--cc=ckhardin@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.