Skip to content

Instantly share code, notes, and snippets.

@alban
Created July 11, 2020 21:39
Show Gist options
  • Save alban/5547b2aad2f839fa811d11d52d51198a to your computer and use it in GitHub Desktop.
Save alban/5547b2aad2f839fa811d11d52d51198a to your computer and use it in GitHub Desktop.
[alban@neptune minikube]$ make out/minikube.iso
docker run --rm --workdir /mnt --volume /home/alban/go/src/github.com/kubernetes/minikube:/mnt \
--user 1000:1000 --env HOME=/tmp --env IN_DOCKER=1 \
gcr.io/k8s-minikube/buildroot-image /usr/bin/make out/minikube.iso
/usr/bin/make minikube_iso
make[1]: Entering directory '/mnt'
echo v1.12.0 > deploy/iso/minikube-iso/board/coreos/minikube/rootfs-overlay/etc/VERSION
if [ ! -d ./out/buildroot ]; then \
mkdir -p ./out; \
git clone --depth=1 --branch=2019.02.11 https://github.com/buildroot/buildroot ./out/buildroot; \
fi;
/usr/bin/make BR2_EXTERNAL=../../deploy/iso/minikube-iso minikube_defconfig -C ./out/buildroot
make[2]: Entering directory '/mnt/out/buildroot'
#
# configuration written to /mnt/out/buildroot/.config
#
make[2]: Leaving directory '/mnt/out/buildroot'
mkdir -p ./out/buildroot/output/build
echo "module buildroot.org/go" > ./out/buildroot/output/build/go.mod
/usr/bin/make -C ./out/buildroot
make[2]: Entering directory '/mnt/out/buildroot'
/usr/bin/make -j1 O=/mnt/out/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[3]: Entering directory '/mnt/out/buildroot'
make[3]: Leaving directory '/mnt/out/buildroot'
>>> podman v1.9.3 Downloading
--2020-07-11 21:38:34-- https://github.com/containers/libpod/archive/v1.9.3.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/containers/podman/archive/v1.9.3.tar.gz [following]
--2020-07-11 21:38:34-- https://github.com/containers/podman/archive/v1.9.3.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/containers/podman/tar.gz/v1.9.3 [following]
--2020-07-11 21:38:34-- https://codeload.github.com/containers/podman/tar.gz/v1.9.3
Resolving codeload.github.com (codeload.github.com)... 140.82.112.9
Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/mnt/out/buildroot/output/build/.v1.9.3.tar.gz.vlO1Uh/output’
0K .......... .......... .......... .......... .......... 197K
50K .......... .......... .......... .......... .......... 243K
100K .......... .......... .......... .......... .......... 17.4M
150K .......... .......... .......... .......... .......... 254K
200K .......... .......... .......... .......... .......... 6.25M
250K .......... .......... .......... .......... .......... 4.82M
300K .......... .......... .......... .......... .......... 6.49M
350K .......... .......... .......... .......... .......... 558K
400K .......... .......... .......... .......... .......... 5.80M
450K .......... .......... .......... .......... .......... 11.7M
500K .......... .......... .......... .......... .......... 5.36M
550K .......... .......... .......... .......... .......... 2.62M
600K .......... .......... .......... .......... .......... 9.22M
650K .......... .......... .......... .......... .......... 8.92M
700K .......... .......... .......... .......... .......... 5.25M
750K .......... .......... .......... .......... .......... 664K
800K .......... .......... .......... .......... .......... 7.01M
850K .......... .......... .......... .......... .......... 4.49M
900K .......... .......... .......... .......... .......... 6.20M
950K .......... .......... .......... .......... .......... 4.50M
1000K .......... .......... .......... .......... .......... 4.77M
1050K .......... .......... .......... .......... .......... 11.2M
1100K .......... .......... .......... .......... .......... 5.51M
1150K .......... .......... .......... .......... .......... 5.61M
1200K .......... .......... .......... .......... .......... 9.98M
1250K .......... .......... .......... .......... .......... 7.32M
1300K .......... .......... .......... .......... .......... 7.21M
1350K .......... .......... .......... .......... .......... 3.58M
1400K .......... .......... .......... .......... .......... 4.38M
1450K .......... .......... .......... .......... .......... 30.1M
1500K .......... .......... .......... .......... .......... 5.22M
1550K .......... .......... .......... .......... .......... 8.48M
1600K .......... .......... .......... .......... .......... 5.98M
1650K .......... .......... .......... .......... .......... 8.56M
1700K .......... .......... .......... .......... .......... 9.19M
1750K .......... .......... .......... .......... .......... 4.30M
1800K .......... .......... .......... .......... .......... 6.16M
1850K .......... .......... .......... .......... .......... 8.16M
1900K .......... .......... .......... .......... .......... 2.82M
1950K .......... .......... .......... .......... .......... 36.2M
2000K .......... .......... .......... .......... .......... 6.63M
2050K .......... .......... .......... .......... .......... 8.24M
2100K .......... .......... .......... .......... .......... 8.61M
2150K .......... .......... .......... .......... .......... 7.76M
2200K .......... .......... .......... .......... .......... 5.61M
2250K .......... .......... .......... .......... .......... 12.1M
2300K .......... .......... .......... .......... .......... 7.39M
2350K .......... .......... .......... .......... .......... 6.43M
2400K .......... .......... .......... .......... .......... 9.51M
2450K .......... .......... .......... .......... .......... 7.34M
2500K .......... .......... .......... .......... .......... 2.05M
2550K .......... .......... .......... .......... .......... 7.07M
2600K .......... .......... .......... .......... .......... 7.77M
2650K .......... .......... .......... .......... .......... 9.16M
2700K .......... .......... .......... .......... .......... 9.31M
2750K .......... .......... .......... .......... .......... 8.56M
2800K .......... .......... .......... .......... .......... 5.94M
2850K .......... .......... .......... .......... .......... 8.55M
2900K .......... .......... .......... .......... .......... 7.42M
2950K .......... .......... .......... .......... .......... 5.30M
3000K .......... .......... .......... .......... .......... 5.14M
3050K .......... .......... .......... .......... .......... 9.51M
3100K .......... .......... .......... .......... .......... 4.55M
3150K .......... .......... .......... .......... .......... 7.34M
3200K .......... .......... .......... .......... .......... 4.78M
3250K .......... .......... .......... .......... .......... 10.4M
3300K .......... .......... .......... .......... .......... 6.21M
3350K .......... .......... .......... .......... .......... 6.19M
3400K .......... .......... .......... .......... .......... 7.46M
3450K .......... .......... .......... .......... .......... 8.78M
3500K .......... .......... .......... .......... .......... 7.87M
3550K .......... .......... .......... .......... .......... 8.84M
3600K .......... .......... .......... .......... .......... 5.33M
3650K .......... .......... .......... .......... .......... 6.79M
3700K .......... .......... .......... .......... .......... 5.80M
3750K .......... .......... .......... .......... .......... 4.12M
3800K .......... .......... .......... .......... .......... 6.93M
3850K .......... .......... .......... .......... .......... 8.82M
3900K .......... .......... .......... .......... .......... 7.44M
3950K .......... .......... .......... .......... .......... 9.60M
4000K .......... .......... .......... .......... .......... 5.85M
4050K .......... .......... .......... .......... .......... 556K
4100K .......... .......... .......... .......... .......... 7.89M
4150K .......... .......... .......... .......... .......... 4.52M
4200K .......... .......... .......... .......... .......... 3.29M
4250K .......... .......... .......... .......... .......... 7.80M
4300K .......... .......... .......... .......... .......... 5.58M
4350K .......... .......... .......... .......... .......... 8.90M
4400K .......... .......... .......... .......... .......... 6.54M
4450K .......... .......... .......... .......... .......... 10.1M
4500K .......... .......... .......... .......... .......... 8.68M
4550K .......... .......... .......... .......... .......... 4.26M
4600K .......... .......... .......... .......... .......... 9.34M
4650K .......... .......... .......... .......... .......... 5.90M
4700K .......... .......... .......... .......... .......... 5.29M
4750K .......... .......... .......... .......... .......... 7.19M
4800K .......... .......... .......... .......... .......... 7.41M
4850K .......... .......... .......... .......... .......... 8.87M
4900K .......... .......... .......... .......... .......... 5.83M
4950K .......... .......... .......... .......... .......... 7.09M
5000K .......... .......... .......... .......... .......... 9.10M
5050K .......... .......... .......... .......... .......... 5.87M
5100K .......... .......... .......... .......... .......... 9.70M
5150K .......... .......... .......... .......... .......... 7.36M
5200K .......... .......... .......... .......... .......... 7.15M
5250K .......... .......... .......... .......... .......... 8.97M
5300K .......... .......... .......... .......... .......... 2.57M
5350K .......... .......... .......... .......... .......... 6.12M
5400K .......... .......... .......... .......... .......... 5.18M
5450K .......... .......... .......... .......... .......... 6.79M
5500K .......... .......... .......... .......... .......... 9.36M
5550K .......... .......... .......... .......... .......... 9.35M
5600K .......... .......... .......... .......... .......... 2.79M
5650K .......... .......... .......... .......... .......... 6.09M
5700K .......... .......... .......... .......... .......... 4.06M
5750K .......... .......... .......... .......... .......... 7.76M
5800K .......... .......... .......... .......... .......... 11.7M
5850K .......... .......... .......... .......... .......... 4.79M
5900K .......... .......... .......... .......... .......... 7.84M
5950K .......... .......... .......... .......... .......... 9.03M
6000K .......... .......... .......... .......... .......... 8.70M
6050K .......... .......... .......... .......... .......... 6.33M
6100K .......... .......... .......... .......... .......... 6.00M
6150K .......... .......... .......... .......... .......... 9.04M
6200K .......... .......... .......... .......... .......... 5.86M
6250K .......... .......... .......... .......... .......... 8.54M
6300K .......... .......... .......... .......... .......... 5.37M
6350K .......... .......... .......... .......... .......... 6.93M
6400K .......... .......... .......... .......... .......... 5.34M
6450K .......... .......... .......... .......... .......... 8.68M
6500K .......... .......... .......... .......... .......... 4.69M
6550K .......... .......... .......... .......... .......... 5.04M
6600K .......... .......... .......... .......... .......... 8.50M
6650K .......... .......... .......... .......... .......... 9.66M
6700K .......... .......... .......... .......... .......... 9.24M
6750K .......... .......... .......... .......... .......... 4.55M
6800K .......... .......... .......... .......... .......... 123K
6850K .......... .......... .......... .......... .......... 5.80M
6900K .......... .......... .......... .......... .......... 9.78M
6950K .......... .......... .......... .......... .......... 5.64M
7000K .......... .......... .......... .......... .......... 3.25M
7050K .......... .......... .......... .......... .......... 7.04M
7100K .......... .......... .......... .......... .......... 5.03M
7150K .......... .......... .......... .......... .......... 4.42M
7200K .......... .......... .......... .......... .......... 7.01M
7250K .......... .......... .......... .......... .......... 5.93M
7300K .......... .......... .......... .......... .......... 5.78M
7350K .......... .......... .......... .......... .......... 5.94M
7400K .......... .......... .......... .......... .......... 8.69M
7450K .......... .......... .......... .......... .......... 471K
7500K .......... .......... .......... .......... .......... 9.16M
7550K .......... .......... .......... .......... .......... 10.6M
7600K .......... .......... .......... .......... .......... 3.35M
7650K .......... .......... .......... .......... .......... 7.83M
7700K .......... .......... .......... .......... .......... 12.2M
7750K .......... .......... .......... .......... .......... 12.5M
7800K .......... .......... .......... .......... .......... 13.3M
7850K .......... .......... .......... .......... .......... 13.6M
7900K .......... .......... .......... .......... .......... 14.7M
7950K .......... .......... .......... .......... .......... 15.7M
8000K .......... .......... .......... .......... .......... 14.1M
8050K .......... .......... .......... .......... .......... 15.2M
8100K .......... .......... .......... .......... .......... 12.9M
8150K .......... .......... .......... .......... .......... 15.5M
8200K .......... .......... .......... .......... .......... 14.7M
8250K .......... .......... .......... .......... .......... 15.0M
8300K .......... .......... .......... .......... .......... 17.8M
8350K .......... .......... .......... .......... .......... 15.4M
8400K .......... .......... .......... .......... .......... 15.7M
8450K .......... .......... .......... .......... .......... 12.6M
8500K .......... .......... .......... .......... .......... 12.1M
8550K .......... .......... .......... .......... .......... 13.5M
8600K .......... .......... .......... .......... .......... 16.3M
8650K .......... ... 13.8M=2.6s
2020-07-11 21:38:38 (3.22 MB/s) - ‘/mnt/out/buildroot/output/build/.v1.9.3.tar.gz.vlO1Uh/output’ saved [8871254]
ERROR: v1.9.3.tar.gz has wrong sha256 hash:
ERROR: expected: 2c44c6e5f61578e223dce2a2f48776adb553752a782e309e96f2d608e0ace81b
ERROR: got : a16846fe076aaf2c9ea2e854c3baba9fb838d916be7fb4b5be332e6c92d907d4
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
--2020-07-11 21:38:39-- http://sources.buildroot.net/podman/v1.9.3.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-11 21:38:39 ERROR 404: Not Found.
--2020-07-11 21:38:39-- http://sources.buildroot.net/v1.9.3.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-11 21:38:39 ERROR 404: Not Found.
make[2]: *** [/mnt/out/buildroot/output/build/podman-v1.9.3/.stamp_downloaded] Error 1
package/pkg-generic.mk:157: recipe for target '/mnt/out/buildroot/output/build/podman-v1.9.3/.stamp_downloaded' failed
make[2]: Leaving directory '/mnt/out/buildroot'
make[1]: *** [minikube_iso] Error 2
Makefile:203: recipe for target 'minikube_iso' failed
make[1]: Leaving directory '/mnt'
Makefile:229: recipe for target 'out/minikube.iso' failed
make: *** [out/minikube.iso] Error 2
make: *** [Makefile:231: out/minikube.iso] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment