[PATCH] build: Don't use non-posix arguments for build without GNU coreutils

Zach DeCook zachdecook at librem.one
Sat Jun 15 21:23:15 CEST 2024


On Wed Jun 12, 2024 at 5:41 AM EDT, Kieran Bingham wrote:
> So if this is just about fixing/supporting alpine builds I'd go for the
> %z as it will sort better in the event the version string gets used to
> actually sort between two competing versions built at the same time but
> in different timezones ... but we're splitting hairs here so I don't
> care ;-)

I was just thinking possibly to reduce the patches needed by any others (otherwise, busybox has `date -Iseconds`, but at that point patching busybox to support the longer arg name would seem more logical).

> Quoting Tomi Valkeinen (2024-06-12 06:54:57)
> > Yes. Absolute links are not nice...
> > 
> >   Tomi

I brought back relative links in v2 using meson's fs.relative_to command.


> Busybox supports -T "Treat LINK as a file, not DIR" does that need to be
> dropped? (at least that sounds compatible against "-T,
> --no-target-directory   treat LINK_NAME as a normal file always")

I kept this (where needed) in V2
>
> I do worry though that the 'benefit' of these symlinks is being
> completley lost if the relative paths aren't maintained though.
>
> Seems like it would negate the whole point of the symlink being there at
> all maybe if it couldn't actually be used by the implementor...

> So if this patch was split, I'd be happy to merge the date fix already
V2 comes with two commits.


More information about the libcamera-devel mailing list