internal/rosa: fakeroot artifact
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 4m1s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m31s
Test / Sandbox (race detector) (push) Successful in 5m9s
Test / Hakurei (race detector) (push) Successful in 5m58s
Test / Flake checks (push) Successful in 1m45s
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 4m1s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m31s
Test / Sandbox (race detector) (push) Successful in 5m9s
Test / Hakurei (race detector) (push) Successful in 5m58s
Test / Flake checks (push) Successful in 1m45s
XSLT is untamable and extremely unpleasant to work with. This patches out the broken docs for now in the interest of getting some work done. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -26,6 +26,7 @@ const (
|
|||||||
DTC
|
DTC
|
||||||
Diffutils
|
Diffutils
|
||||||
Elfutils
|
Elfutils
|
||||||
|
Fakeroot
|
||||||
Findutils
|
Findutils
|
||||||
Flex
|
Flex
|
||||||
Fuse
|
Fuse
|
||||||
@@ -163,6 +164,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
|
|||||||
"dtc": DTC,
|
"dtc": DTC,
|
||||||
"diffutils": Diffutils,
|
"diffutils": Diffutils,
|
||||||
"elfutils": Elfutils,
|
"elfutils": Elfutils,
|
||||||
|
"fakeroot": Fakeroot,
|
||||||
"findutils": Findutils,
|
"findutils": Findutils,
|
||||||
"flex": Flex,
|
"flex": Flex,
|
||||||
"fuse": Fuse,
|
"fuse": Fuse,
|
||||||
|
|||||||
53
internal/rosa/fakeroot.go
Normal file
53
internal/rosa/fakeroot.go
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
package rosa
|
||||||
|
|
||||||
|
import "hakurei.app/internal/pkg"
|
||||||
|
|
||||||
|
func (t Toolchain) newFakeroot() pkg.Artifact {
|
||||||
|
const (
|
||||||
|
version = "1.37.2"
|
||||||
|
checksum = "4ve-eDqVspzQ6VWDhPS0NjW3aSenBJcPAJq_BFT7OOFgUdrQzoTBxZWipDAGWxF8"
|
||||||
|
)
|
||||||
|
return t.NewViaMake("fakeroot", version, t.NewPatchedSource(
|
||||||
|
"fakeroot", version, pkg.NewHTTPGetTar(
|
||||||
|
nil, "https://salsa.debian.org/clint/fakeroot/-/archive/upstream/"+
|
||||||
|
version+"/fakeroot-upstream-"+version+".tar.bz2",
|
||||||
|
mustDecode(checksum),
|
||||||
|
pkg.TarBzip2,
|
||||||
|
), false, [2]string{"remove-broken-docs", `diff --git a/doc/Makefile.am b/doc/Makefile.am
|
||||||
|
index f135ad9..85c784c 100644
|
||||||
|
--- a/doc/Makefile.am
|
||||||
|
+++ b/doc/Makefile.am
|
||||||
|
@@ -1,5 +1,4 @@
|
||||||
|
AUTOMAKE_OPTIONS=foreign
|
||||||
|
-SUBDIRS = de es fr nl pt ro sv
|
||||||
|
|
||||||
|
man_MANS = faked.1 fakeroot.1
|
||||||
|
|
||||||
|
`},
|
||||||
|
), &MakeAttr{
|
||||||
|
Writable: true,
|
||||||
|
|
||||||
|
Env: []string{
|
||||||
|
"CONFIG_SHELL=/bin/sh",
|
||||||
|
},
|
||||||
|
ScriptEarly: `
|
||||||
|
cd /usr/src/fakeroot
|
||||||
|
./bootstrap
|
||||||
|
`,
|
||||||
|
|
||||||
|
// makes assumptions about /etc/passwd
|
||||||
|
SkipCheck: true,
|
||||||
|
},
|
||||||
|
t.Load(M4),
|
||||||
|
t.Load(Perl),
|
||||||
|
t.Load(Autoconf),
|
||||||
|
t.Load(Automake),
|
||||||
|
t.Load(Libtool),
|
||||||
|
t.Load(PkgConfig),
|
||||||
|
|
||||||
|
t.Load(Attr),
|
||||||
|
t.Load(Libcap),
|
||||||
|
t.Load(KernelHeaders),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
func init() { artifactsF[Fakeroot] = Toolchain.newFakeroot }
|
||||||
Reference in New Issue
Block a user