Package Details: linuxkit 1.0.1-1

Git Clone URL: https://aur.archlinux.org/linuxkit.git (read-only, click to copy)
Package Base: linuxkit
Description: A toolkit for building secure, portable and lean operating systems for containers
Upstream URL: https://github.com/linuxkit/linuxkit
Licenses: Apache
Conflicts: linuxkit-git
Submitter: joaompinto
Maintainer: greut
Last Packager: greut
Votes: 0
Popularity: 0.000000
First Submitted: 2019-01-11 15:03 (UTC)
Last Updated: 2022-12-09 12:55 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

greut commented on 2021-02-03 20:02 (UTC)

@cw1911 indeed. Thanks!

cw1911 commented on 2021-02-03 13:27 (UTC)

I tried to install this package today however the current PKGBUILD attempts to cd into some directories which do not exist.

It seems like the sources are extracted to a directory called linuxkit-0.8 rather than just linuxkit.

Below is a diff that fixes this and allows the package to be built once more:

diff --git a/PKGBUILD b/PKGBUILD
index bc81078..a37d33f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,11 +17,11 @@ source=("https://github.com/linuxkit/linuxkit/archive/v${pkgver}.tar.gz")
 sha256sums=('70aeb7f8cb0d84a57f615ed1f262427ce314296f92436b5b584f2f0502f765f5')

 prepare() {
-       cd "${srcdir}/${pkgname}"
+       cd "${srcdir}/${pkgname}-${pkgver}"
 }

 build() {
-       cd "${srcdir}/${pkgname}"
+       cd "${srcdir}/${pkgname}-${pkgver}"
        make VERSION=v${pkgver}
 }

@@ -31,7 +31,7 @@ build() {
 #}

 package() {
-       cd "${srcdir}/${pkgname}"
+       cd "${srcdir}/${pkgname}-${pkgver}"
        install -dm755 "${pkgdir}/usr/bin"
        install -Dm755  bin/linuxkit "${pkgdir}/usr/bin"
        install -Dm755  bin/rtf "${pkgdir}/usr/bin"