aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-09-12 22:12:24 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-09-12 22:12:24 +0000
commite1b7cab09287da4b0b4103793e72252389e23250 (patch)
tree114e09e9270f21fdca179b0113b3be2def657e17
parent743be07fba48cb6460c6bbd0a6785970212ec385 (diff)
downloadalicelinux-e1b7cab09287da4b0b4103793e72252389e23250.tar.gz
alicelinux-e1b7cab09287da4b0b4103793e72252389e23250.zip
runc: fix build
-rw-r--r--repos/extra/runc/abuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/repos/extra/runc/abuild b/repos/extra/runc/abuild
index 612a44c6..992494a1 100644
--- a/repos/extra/runc/abuild
+++ b/repos/extra/runc/abuild
@@ -11,8 +11,12 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
- make runc man
- install -Dm755 runc "$PKG/usr/bin/runc"
+ make SHELL=/bin/sh runc
+ install -Dm755 runc "$PKG/usr/bin/runc"
+ cd man
+ sed -i 's/bash/sh/' md2man-all.sh
+ sed -i '/^cd/d' md2man-all.sh
+ ./md2man-all.sh
install -d "$PKG/usr/share/man/man8"
- install -m644 man/man8/*.8 "$PKG/usr/share/man/man8"
+ install -m644 man8/*.8 "$PKG/usr/share/man/man8"
}