On 2023-05-22, Markus Burri wrote: > The update script search in a kernel version specific directory for > fdt overlay files. > This allows to install fdt overlay files for multiple kernel version in > parallel.
Thanks for the patch! > diff --git a/u-boot-update b/u-boot-update > index f887560..a93da3e 100755 > --- a/u-boot-update > +++ b/u-boot-update > @@ -217,25 +217,34 @@ do > _FDT="" > fi > > - if [ -d "${_BOOT_PATH}/${U_BOOT_FDT_OVERLAYS_DIR}" ] > + if [ -d "${_BOOT_PATH}/${U_BOOT_FDT_OVERLAYS_DIR}/" ] > + then > + _U_BOOT_FDT_OVERLAYS_DIR=${U_BOOT_FDT_OVERLAYS_DIR} > + elif [ -d "${_BOOT_PATH}/${U_BOOT_FDT_OVERLAYS_DIR}${_VERSION}/" ] > + then > + _U_BOOT_FDT_OVERLAYS_DIR=${U_BOOT_FDT_OVERLAYS_DIR}${_VERSION} > + else > + _U_BOOT_FDT_OVERLAYS_DIR="" > + fi > + if [ -d "${_BOOT_PATH}/${_U_BOOT_FDT_OVERLAYS_DIR}" ] Seems like it should first check for a version-specific directory, only falling back to an unversioned directory? This will probably have to wait till after bookworm release. live well, vagrant
signature.asc
Description: PGP signature