Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Build fails when extracting the rootfs #14

Open
shaleh opened this issue Jun 9, 2016 · 6 comments
Open

Build fails when extracting the rootfs #14

shaleh opened this issue Jun 9, 2016 · 6 comments

Comments

@shaleh
Copy link

shaleh commented Jun 9, 2016

docker run --rm --privileged -v /home/shaleh/repos/docker/image-builder-odroid-c2:/workspace -v /boot:/boot -v /lib/modules:/lib/modules -e VERSION image-builder-odroid-c2
+ '[' '!' -f /.dockerenv ']'
+ BUILD_RESULT_PATH=/workspace
+ BUILD_PATH=/build
+ HYPRIOT_OS_VERSION=v0.7.2
+ ROOTFS_TAR=rootfs-arm64-v0.7.2.tar.gz
+ ROOTFS_TAR_PATH=/workspace/rootfs-arm64-v0.7.2.tar.gz
+ ROOT_PARTITION_SIZE=800M
+ HYPRIOT_IMAGE_VERSION=dirty
+ HYPRIOT_IMAGE_NAME=sd-card-odroid-c2-dirty.img
+ IMAGE_ROOTFS_PATH=/image-rootfs.tar.gz
+ QEMU_ARCH=aarch64 
+ export HYPRIOT_IMAGE_VERSION
+ export DOCKER_ENGINE_VERSION=1.9.1-1
+ DOCKER_ENGINE_VERSION=1.9.1-1
+ export DOCKER_COMPOSE_VERSION=1.5.2-80
+ DOCKER_COMPOSE_VERSION=1.5.2-80
+ export DOCKER_MACHINE_VERSION=0.4.1-72
+ DOCKER_MACHINE_VERSION=0.4.1-72
+ rm -rf /build
+ mkdir -p /build
+ '[' '!' -f /workspace/rootfs-arm64-v0.7.2.tar.gz ']'
+ tar -xzf /workspace/rootfs-arm64-v0.7.2.tar.gz -C /build
make: *** [sd-image] Error 100
@shaleh
Copy link
Author

shaleh commented Jun 9, 2016

Built on Ubuntu 14.04 using Docker from their deb repo.

@StefanScherer
Copy link
Member

@shaleh Should not break at this point, but we use Docker running inside a Vagrant box because of guestfish. Don't know how it behaves on a Linux machine.

@shaleh
Copy link
Author

shaleh commented Jun 14, 2016

That was my frustration too.It looks like a failure to unpack the tar. But I can use tar directly.

Suggestions on where to start debugging this?

@al-sabr
Copy link

al-sabr commented Jun 29, 2017

Just tried the make sd-image on ubuntu server 16.04 and there is no problem at all.

@shaleh
Copy link
Author

shaleh commented Jun 30, 2017

I gave up last summer. Thanks for the reminder to try again.

@al-sabr
Copy link

al-sabr commented Jun 30, 2017

just try make sd-image and if you want to have the latest kernel v.4.12.0-rc7 I've made one available to make you life easier.

https://github.com/gdeverlant/image-builder-odroid-c2/releases/tag/v0.3.3

Enjoy !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants