Closed Lino77 closed 5 years ago
What is the name of the base image you are building with?
You need to download an image and place it in the image-variants
folder
the name of teh image is Armbian_5.90_Tinkerboard_Debian_buster_default_4.4.182.7z and it is in Octopi/src/image-variants
There was a bug, @Lino77 try pulling latest dev CustomPiOS and try again. tell me if it fails. Thanks for reporting
ok, pushed another fix, try now
Ok, seems like permission issues with the apt-cache, I disabled it now, try using latest CustomPiOS from devel branch and built with it
Commit reference: https://github.com/guysoft/CustomPiOS/commit/dd2c12edabaa9a58859c702f6a68f3f825812303 @Lino77 Thats an issue with Debian/Armbian: https://forum.armbian.com/topic/10875-info-checkstart-manually-apt-update-because-of-buster-repository-value-changes/
Its there because they didn't upgrade the base image to buster correctly.
I pushed a fix for that, pull CustomPiOS and try now, thanks for keeping up
okay, because I have again, the next mistake, I think I'm still waiting a few weeks to build the image. think that the error now all comes from the Arbian image
sed -i 's@ExecStart=/usr/bin/ssh-keygen -A -v@ExecStart=/bin/bash -c '\'' /usr/bin/ssh-keygen -A -v >> /var/log/regenerate_ssh_host_keys.log 2>\&1'\''@g' /lib/systemd/system/regenerate_ssh_host_keys.service /bin/sed: can't read /lib/systemd/system/regenerate_ssh_host_keys.service: No such file or directory ++++ echo_red 'build failed, unmounting image...' ++++ echo -e -n '\e[91m' ++++ echo build failed, unmounting image... build failed, unmounting image... ++++ echo -e -n '\e[0m'
@Lino77 Yes, its building, its failing because the Armbian image does not have regenerate_ssh_host_keys.service. Committed a fix, pull and build again. Each commit here is a step to get this fully working.
Okay the next one
Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB) Installing collected packages: pip Found existing installation: pip 9.0.1 Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr Successfully installed pip-19.1.1
@Lino77 Took a while because I was on vacation. Fixed, try now. the issue is that pip was installed twice
2019-08-10 08:48:03 (5.28 MB/s) - written to stdout [1775087/1775087]
Traceback (most recent call last):
File "
@Lino77 Ok, fixed that.
sudo: unable to change expired password: Authentication token manipulation error ++++ echo_red 'build failed, unmounting image...' ++++ echo -e -n '\e[91m' ++++ echo build failed, unmounting image... build failed, unmounting image... ++++ echo -e -n '\e[0m' ++++ cd /distro ++++ unmount_image /distro/workspace-armbian/mount force ++++ mount_path=/distro/workspace-armbian/mount build.log
take a look at the build.log the armbian image is in /OctoPi/src/image-variants and they could not find image. the build.log