Skip to content
Snippets Groups Projects

device: move .shared-patches to device/.shared-patches

Merged Imported Administrator requested to merge fix-shared-patches into master
  1. Mar 15, 2020
    • Minecrell's avatar
      CI: skip all dot folders for now (!1068) · 796f2d09
      Minecrell authored and Alexey Minnekhanov's avatar Alexey Minnekhanov committed
      At the moment we assume that all files except in /.* belong to
      a package. Now that .shared-patches was moved to device/.shared-patches
      that does not work correctly anymore.
      
      This method should really check to which package the files belong
      (e.g. walk up directories until it finds an APKBUILD) instead of
      assuming they are directly in the same directory as the APKBUILD.
      
      For now just ignore **/.* (i.e. all files in dot folders),
      to unblock the MR since it's a critical fix.
      Verified
      796f2d09
    • Minecrell's avatar
      device: move .shared-patches to device/.shared-patches (!1068) · 83d1f271
      Minecrell authored and Alexey Minnekhanov's avatar Alexey Minnekhanov committed
      All the downstream kernels reference ../../.shared-patches in their
      symlinks. Now that we have moved device ports to device/testing/*,
      those symlinks are no longer working.
      
      Changing the path would require fixing all downstream packages *and*
      a new pmbootstrap release. Overall it seems easier to move the
      .shared-patches folder to device/.shared-patches.
      
      Since it is only relevant for downstream kernel packages in device/
      that might be a better place in general.
      Verified
      83d1f271
Loading