Commit 86ddef5
committed
fix: onelf asset paths, GHCR push staging, and container output perms
- Extract onelf icon/desktop beside the binary (packages/<parent>/) instead
of the root outdir, and keep renamed icons in that same dir.
- push_files stages all files into one temp dir before invoking oras.
Previously oras cd'd into the first file's parent and referenced every
file by basename, so shared root-outdir files (BUILD.log, CHECKSUM) were
unreachable when pushing from a package subdir and the push failed with
'stat .../BUILD.log: no such file'. Same files, names, and destination as
before — only multi-directory file sets are now handled.
- Container builds run as root, so output subdirs the recipe creates (e.g.
packages/<pkg>/) aren't writable by the host user and block host-side
steps (icon/desktop extraction, signing). Append 'chmod -R a+rwX /sbuild'
to the container script, preserving its exit status. chmod (not chown) is
used so it works under both rootful docker and rootless docker/podman,
where container root maps to the host user via a subuid range.1 parent e26721a commit 86ddef5
3 files changed
Lines changed: 88 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
621 | 634 | | |
622 | 635 | | |
623 | 636 | | |
| |||
848 | 861 | | |
849 | 862 | | |
850 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
851 | 869 | | |
852 | 870 | | |
853 | 871 | | |
854 | | - | |
| 872 | + | |
855 | 873 | | |
856 | 874 | | |
857 | | - | |
| 875 | + | |
| 876 | + | |
858 | 877 | | |
859 | 878 | | |
860 | 879 | | |
| |||
866 | 885 | | |
867 | 886 | | |
868 | 887 | | |
869 | | - | |
| 888 | + | |
870 | 889 | | |
871 | 890 | | |
872 | | - | |
| 891 | + | |
| 892 | + | |
873 | 893 | | |
874 | 894 | | |
875 | 895 | | |
| |||
926 | 946 | | |
927 | 947 | | |
928 | 948 | | |
929 | | - | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
930 | 953 | | |
931 | 954 | | |
932 | 955 | | |
933 | 956 | | |
934 | | - | |
| 957 | + | |
935 | 958 | | |
936 | 959 | | |
937 | 960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 121 | + | |
| 122 | + | |
124 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | | - | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments