From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: carrier.nicolas0@gmail.com
Cc: Nicolas Carrier <nicolas.carrier@nav-timing.safrangroup.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/less: install the lessecho command
Date: Tue, 1 Aug 2023 22:20:21 +0200 [thread overview]
Message-ID: <20230801222021.652fae9a@windsurf> (raw)
In-Reply-To: <20230801093737.1648437-1-carrier.nicolas0@gmail.com>
Hello Nicolas,
On Tue, 1 Aug 2023 11:37:35 +0200
carrier.nicolas0@gmail.com wrote:
> From: Nicolas Carrier <nicolas.carrier@nav-timing.safrangroup.com>
>
> it is required by, for example the s command, allowing to write to a file
I think you should clarify that you're talking about the "s command"
inside less. Because I was thinking you were talking about a program
called "s".
I cannot apply your patch: we need your Signed-off-by line.
> define LESS_INSTALL_TARGET_CMDS
> $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less
> + $(INSTALL) -m 0755 $(@D)/lessecho $(TARGET_DIR)/usr/bin/lessecho
> endef
I think the best solution is in fact to drop LESS_INSTALL_TARGET_CMDS
entirely, so that "make install" is used instead. It installs the
following:
└── usr
├── bin
│ ├── less
│ ├── lessecho
│ └── lesskey
└── share
└── man
└── man1
├── less.1
├── lessecho.1
└── lesskey.1
usr/share/man is going to be removed automatically by Buildroot at the
end of the build. So that leave us with usr/bin with less, lessecho and
lesskey. So I believe it makes more sense to let the default "make
install" do its job.
I would have fixed that myself when applying, but I need your
Signed-off-by in the patch to be able to proceed.
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
prev parent reply other threads:[~2023-08-01 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 9:37 [Buildroot] [PATCH] package/less: install the lessecho command carrier.nicolas0
2023-08-01 20:20 ` Thomas Petazzoni via buildroot [this message]
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=20230801222021.652fae9a@windsurf \
--to=buildroot@buildroot.org \
--cc=carrier.nicolas0@gmail.com \
--cc=nicolas.carrier@nav-timing.safrangroup.com \
--cc=thomas.petazzoni@bootlin.com \
/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.