From 645cd94efc970b7ecacefc29fe78153608ade11d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 26 Nov 2026 20:43:16 +0900 Subject: internal/rosa: remove /usr/src There is only one primary source directory per package, so naming the directory after the package makes little sense, and introduces many complications and ugliness of having to refer to their own name. This change also moves extras to /extra, preserving the relative pathnames. Signed-off-by: Ophestra --- internal/rosa/doc.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'internal/rosa/doc.go') diff --git a/internal/rosa/doc.go b/internal/rosa/doc.go index 9ca147ee..43a18c37 100644 --- a/internal/rosa/doc.go +++ b/internal/rosa/doc.go @@ -95,10 +95,9 @@ declared at the top level: // if non-nil, overrides the version filtering function latest = anityaFallback; - // artifact containing the source tree, placed in /usr/src/ under a - // directory named after the package, see section "Source fetchers"; - // this can also refer to a package declared at the top level like done - // here + // artifact containing the source tree, placed in /source/; see section + // "Source fetchers"; this can also refer to a package declared at the + // top level like done here source = hakurei-source; // pathnames of patches to apply to source, relative to the Azalea file; @@ -118,7 +117,7 @@ declared at the top level: // additional files to make available, relative to the Azalea file, // within the base directory files = { - // specifying a relative pathname places the file in /usr/src/ under + // specifying a relative pathname places the file in /extra/ under // the specified name ".config": arch+".config"; @@ -210,7 +209,7 @@ declared at the top level: ]; // additional packages to place under directories named after each - // package in /usr/src/ + // package in /extra/ extra = []; // if non-empty, packages specified in extra are overlay-mounted under -- cgit v1.3.1